MySQL 5.6.14 Source Code Document
|
Static Public Member Functions | |
static Uint32 | getByteOrder (const Uint32 &word1) |
static Uint32 | getCompressed (const Uint32 &word1) |
static Uint32 | getSignalIdIncluded (const Uint32 &word1) |
static Uint32 | getCheckSumIncluded (const Uint32 &word1) |
static Uint32 | getPrio (const Uint32 &word1) |
static Uint32 | getMessageLength (const Uint32 &word1) |
static void | setByteOrder (Uint32 &word1, Uint32 byteOrder) |
static void | setCompressed (Uint32 &word1, Uint32 compressed) |
static void | setSignalIdIncluded (Uint32 &word1, Uint32 signalId) |
static void | setCheckSumIncluded (Uint32 &word1, Uint32 checkSum) |
static void | setPrio (Uint32 &word1, Uint32 prio) |
static void | setMessageLength (Uint32 &word1, Uint32 messageLen) |
static void | createSignalHeader (SignalHeader *const dst, const Uint32 &word1, const Uint32 &word2, const Uint32 &word3) |
static void | createProtocol6Header (Uint32 &word1, Uint32 &word2, Uint32 &word3, const SignalHeader *const src) |
Public Attributes | |
Uint32 | word1 |
Uint32 | word2 |
Uint32 | word3 |
Definition at line 58 of file TransporterInternalDefinitions.hpp.
|
inlinestatic |
b = Byte order - 4 Bits (Note 1 significant bit) g = GSN - 16 Bits p = Prio - 2 Bits c = Checksum included - 1 Bit z = Compression - 1 Bit v = Version id - 4 Bits i = Signal id included - 1 Bit m = Message length - 16 Bits (0-65536) (In word -> 0-256k bytes) d = Signal data length - 5 Bits (0-31) t = trace - 6 Bits (0-63) r = Recievers block no - 16 Bits s = Senders block no - 16 Bits u = Unused - 7 Bits f = FragmentInfo1 - 1 Bit h = FragmentInfo2 - 1 bit n = No of segments - 2 Bits
Word 1
1111111111222222222233
01234567890123456789012345678901 bfizcppbmmmmmmmmmmmmmmmmbhdddddb
Word 2
1111111111222222222233
01234567890123456789012345678901 ggggggggggggggggvvvvttttttnn
Word 3
1111111111222222222233
01234567890123456789012345678901 rrrrrrrrrrrrrrrrssssssssssssssss
Word 4 (Optional Signal Id) 0 = Big endian (Sparc), 1 = Little endian (Intel)
Definition at line 168 of file TransporterInternalDefinitions.hpp.