Data type to represent an IPv6 packet header. More...
Data type to represent an IPv6 packet header.
The structure of the header is as follows:
|Version, traffic class, and flow label. More...|
|payload length of this packet. |
|type of next header in this packet. |
|hop limit for this packet. |
|source address of this packet. |
|destination address of this packet. |
Version, traffic class, and flow label.
The version are the 4 most significant bits, the traffic class the 8 next bit, and the remainding 20 bits are the flow label (see above).
This module provides helper functions to set, get, and check these fields accordingly: