The friendly Operating System for the Internet of Things
Data type to represent an IPv6 packet header. More...
The structure of the header is as follows:
|Version, traffic class, and flow label. More...|
|payload length of this packet. More...|
|type of next header in this packet. More...|
|hop limit for this packet. More...|
|source address of this packet. More...|
|destination address of this packet. More...|
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: