Packet Format
The ICMPv6 packet consists of a header and the protocol payload. The header contains only three fields: type (8 bits), code (8 bits), and checksum (16 bits). type specifies the type of the message. Values in the range from 0 to 127 (high-order bit is 0) indicate an error message, while values in the range from 128 to 255 (high-order bit is 1) indicate an information message. The code field value depends on the message type and provides an additional level of message granularity. The checksum field provides a minimal level of integrity verification for the ICMP message.
Bit offset | 0–7 | 8–15 | 16–31 | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Type | Code | Checksum | |||||||||||||||||||||||||||||
32 | Message body |
Read more about this topic: ICMPv6
Famous quotes containing the word packet:
“There are some circles in America where it seems to be more socially acceptable to carry a hand-gun than a packet of cigarettes.”
—Katharine Whitehorn (b. 1926)