ROHC compression/decompression library
|
The information collected about one of the packet IP headers. More...
#include <uncomp_pkt_hdrs.h>
Data Fields | |
union { | |
const uint8_t * data | |
const struct ip_hdr * ip | |
const struct ipv4_hdr * ipv4 | |
const struct ipv6_hdr * ipv6 | |
}; | |
uint8_t | version |
uint8_t | next_proto |
uint16_t | tot_len |
union { | |
uint8_t tos_tc | |
struct { | |
uint8_t ecn:2 | |
uint8_t dscp:6 | |
} | |
}; | |
uint8_t | ttl_hl |
uint8_t | exts_len |
uint8_t | exts_nr |
struct rohc_pkt_ip_ext_hdr | exts [ROHC_MAX_IP_EXT_HDRS] |
The information collected about one of the packet IP headers.
union { ... } |
union { ... } |
const uint8_t* rohc_pkt_ip_hdr::data |
uint8_t rohc_pkt_ip_hdr::dscp |
uint8_t rohc_pkt_ip_hdr::ecn |
struct rohc_pkt_ip_ext_hdr rohc_pkt_ip_hdr::exts[ROHC_MAX_IP_EXT_HDRS] |
The IP ext. headers
uint8_t rohc_pkt_ip_hdr::exts_len |
The length of IP extensions headers
uint8_t rohc_pkt_ip_hdr::exts_nr |
The number of IP extensions headers
const struct ip_hdr* rohc_pkt_ip_hdr::ip |
const struct ipv4_hdr* rohc_pkt_ip_hdr::ipv4 |
const struct ipv6_hdr* rohc_pkt_ip_hdr::ipv6 |
uint8_t rohc_pkt_ip_hdr::next_proto |
uint8_t rohc_pkt_ip_hdr::tos_tc |
The IPv4 TOS or IPv6 TC field
uint16_t rohc_pkt_ip_hdr::tot_len |
uint8_t rohc_pkt_ip_hdr::ttl_hl |
The IPv4 TTL or IPv6 Hop Limit
uint8_t rohc_pkt_ip_hdr::version |