ROHC compression/decompression library
|
The IPv6 header. More...
#include <ipv6.h>
Data Fields | |
union { | |
uint32_t version_tc_flow | |
struct { | |
uint8_t tc1:4 | |
uint8_t version:4 | |
uint8_t flow1:4 | |
uint8_t tc2:4 | |
uint16_t flow2 | |
} | |
struct { | |
uint8_t dscp1:4 | |
uint8_t version_:4 | |
uint8_t flowl1_:4 | |
uint8_t ecn:2 | |
uint8_t dscp2:2 | |
uint16_t flow2_ | |
} | |
}; | |
uint16_t | plen |
uint8_t | nh |
uint8_t | hl |
struct ipv6_addr | saddr |
struct ipv6_addr | daddr |
The IPv6 header.
union { ... } |
struct ipv6_addr ipv6_hdr::daddr |
The destination IP address
uint8_t ipv6_hdr::dscp1 |
uint8_t ipv6_hdr::dscp2 |
uint8_t ipv6_hdr::ecn |
uint8_t ipv6_hdr::flow1 |
uint16_t ipv6_hdr::flow2 |
The Flow Label (part 2)
uint16_t ipv6_hdr::flow2_ |
The Flow Label (part 2)
uint8_t ipv6_hdr::flowl1_ |
uint8_t ipv6_hdr::hl |
The Hop Limit (HL)
uint8_t ipv6_hdr::nh |
The protocol of the Next Header (NH)
uint16_t ipv6_hdr::plen |
The Payload Length
struct ipv6_addr ipv6_hdr::saddr |
The source IP address
uint8_t ipv6_hdr::tc1 |
uint8_t ipv6_hdr::tc2 |
uint8_t ipv6_hdr::version |
uint8_t ipv6_hdr::version_ |
uint32_t ipv6_hdr::version_tc_flow |
The combined version, TC, Flow Label fields