29 #ifndef ROHC_DECOMP_SCHEMES_IP_CTXT_H 30 #define ROHC_DECOMP_SCHEMES_IP_CTXT_H 40 typedef struct __attribute__((packed))
85 uint32_t auth_data[1];
120 uint8_t ip_ecn_flags:2;
129 uint8_t ip_id_behavior;
148 uint8_t ip_ecn_flags:2;
157 uint8_t ip_id_behavior;
179 uint8_t ip_ecn_flags:2;
188 uint8_t ip_id_behavior;
190 uint32_t flow_label:20;
192 uint32_t src_addr[4];
193 uint32_t dest_addr[4];
size_t data_len
Definition: decomp/schemes/ip_ctxt.h:42
uint32_t sequence_number
Definition: decomp/schemes/ip_ctxt.h:60
uint8_t c_flag
Definition: decomp/schemes/ip_ctxt.h:53
uint8_t k_flag
Definition: decomp/schemes/ip_ctxt.h:54
Define the IPv6 option context for MIME option.
Definition: decomp/schemes/ip_ctxt.h:68
struct ipv4_context ipv4_context_t
Define the IPv4 header context.
struct ipv6_context ipv6_context_t
Define the IPv6 header context.
uint32_t orig_src
Definition: decomp/schemes/ip_ctxt.h:73
size_t len
Definition: decomp/schemes/ip_ctxt.h:92
Define the IPv6 option context for Destination, Hop-by-Hop and Routing option.
Definition: decomp/schemes/ip_ctxt.h:40
Define the common IP header context to IPv4 and IPv6.
Definition: comp/schemes/ip_ctxt.h:51
Definition: comp/schemes/ip_ctxt.h:110
struct ipv6_gre_option_context ipv6_gre_option_context_t
Define the IPv6 option context for GRE option.
#define IPV6_OPT_CTXT_LEN_MAX
Definition: ipv6.h:154
Define the IPv6 option context for AH option.
Definition: decomp/schemes/ip_ctxt.h:81
uint8_t s_bit
Definition: decomp/schemes/ip_ctxt.h:70
Define the IPv6 header context.
Definition: comp/schemes/ip_ctxt.h:122
uint32_t sequence_number
Definition: decomp/schemes/ip_ctxt.h:84
struct ipv6_ah_option_context ipv6_ah_option_context_t
Define the IPv6 option context for AH option.
Define the IPv4 header context.
Definition: comp/schemes/ip_ctxt.h:79
#define ROHC_MAX_IP_EXT_HDRS
The maximum number of IP extension headers supported.
Definition: protocols/ip.h:58
struct ipvx_context ipvx_context_t
Define the common IP header context to IPv4 and IPv6.
uint32_t key
Definition: decomp/schemes/ip_ctxt.h:59
Define the IPv6 option context for GRE option.
Definition: decomp/schemes/ip_ctxt.h:51
struct ipv6_generic_option_context ipv6_generic_option_context_t
Define the IPv6 generic option context.
uint8_t nh_proto
Definition: decomp/schemes/ip_ctxt.h:94
ipv6_gre_option_context_t gre
Definition: decomp/schemes/ip_ctxt.h:99
ip_version
IP version.
Definition: ip.h:49
uint8_t protocol
Definition: decomp/schemes/ip_ctxt.h:56
uint32_t spi
Definition: decomp/schemes/ip_ctxt.h:83
struct ipv6_mime_option_context ipv6_mime_option_context_t
Define the IPv6 option context for MIME option.
Define union of IP contexts.
Definition: comp/schemes/ip_ctxt.h:155
uint8_t padding
Definition: decomp/schemes/ip_ctxt.h:57
ipv6_ah_option_context_t ah
Definition: decomp/schemes/ip_ctxt.h:101
uint8_t s_flag
Definition: decomp/schemes/ip_ctxt.h:55
size_t opts_len
Definition: decomp/schemes/ip_ctxt.h:212
Defines the common IPv4/v6 header.
uint32_t orig_dest
Definition: decomp/schemes/ip_ctxt.h:72
uint8_t res_bits
Definition: decomp/schemes/ip_ctxt.h:71
ipv6_mime_option_context_t mime
Definition: decomp/schemes/ip_ctxt.h:100
uint8_t proto
Definition: decomp/schemes/ip_ctxt.h:93
uint16_t ip_id
Definition: decomp/schemes/ip_ctxt.h:158