29 #ifndef ROHC_COMP_SCHEMES_IP_CTXT_H 30 #define ROHC_COMP_SCHEMES_IP_CTXT_H 146 uint32_t src_addr[4];
147 uint32_t dest_addr[4];
bool cr_ttl_hopl_present
Definition: comp/schemes/ip_ctxt.h:166
struct ipv6_context ipv6_context_t
Define the IPv6 header context.
uint8_t dscp
Definition: comp/schemes/ip_ctxt.h:60
uint8_t tos_tc
Definition: comp/schemes/ip_ctxt.h:63
Define the IPv6 generic option context.
Definition: comp/schemes/ip_ctxt.h:39
uint8_t dscp
Definition: comp/schemes/ip_ctxt.h:131
struct ipv4_context ipv4_context_t
Define the IPv4 header context.
uint8_t version
Definition: comp/schemes/ip_ctxt.h:124
uint8_t tc
Definition: comp/schemes/ip_ctxt.h:134
Define the IPv6 option context for Destination, Hop-by-Hop and Routing option.
Definition: decomp/schemes/ip_ctxt.h:40
uint8_t protocol
Definition: comp/schemes/ip_ctxt.h:95
uint8_t next_header
Definition: comp/schemes/ip_ctxt.h:66
uint8_t version
Definition: comp/schemes/ip_ctxt.h:53
uint8_t ip_ecn_flags
Definition: comp/schemes/ip_ctxt.h:61
uint8_t ip_ecn_flags
Definition: comp/schemes/ip_ctxt.h:132
ipv6_context_t v6
Definition: comp/schemes/ip_ctxt.h:162
Define the common IP header context to IPv4 and IPv6.
Definition: comp/schemes/ip_ctxt.h:51
uint8_t next_header
Definition: comp/schemes/ip_ctxt.h:137
uint8_t version
Definition: comp/schemes/ip_ctxt.h:81
ipvx_context_t vx
Definition: comp/schemes/ip_ctxt.h:160
Definition: comp/schemes/ip_ctxt.h:110
uint8_t ip_id_behavior
Definition: comp/schemes/ip_ctxt.h:141
#define IPV6_OPT_CTXT_LEN_MAX
Definition: ipv6.h:154
ipv4_context_t v4
Definition: comp/schemes/ip_ctxt.h:161
size_t opts_nr
Definition: comp/schemes/ip_ctxt.h:168
Define the IPv6 header context.
Definition: comp/schemes/ip_ctxt.h:122
ip_version version
Definition: comp/schemes/ip_ctxt.h:157
uint8_t df
Definition: comp/schemes/ip_ctxt.h:82
uint8_t ttl
Definition: comp/schemes/ip_ctxt.h:97
uint32_t dst_addr
Definition: comp/schemes/ip_ctxt.h:104
Define the IPv4 header context.
Definition: comp/schemes/ip_ctxt.h:79
uint8_t tos
Definition: comp/schemes/ip_ctxt.h:92
#define ROHC_MAX_IP_EXT_HDRS
The maximum number of IP extension headers supported.
Definition: protocols/ip.h:58
uint8_t next_header
Definition: comp/schemes/ip_ctxt.h:42
uint8_t hopl
Definition: comp/schemes/ip_ctxt.h:139
uint8_t unused
Definition: comp/schemes/ip_ctxt.h:54
uint8_t dscp
Definition: comp/schemes/ip_ctxt.h:89
uint8_t unused
Definition: comp/schemes/ip_ctxt.h:83
struct ipv6_generic_option_context ipv6_generic_option_context_t
Define the IPv6 generic option context.
uint8_t unused
Definition: comp/schemes/ip_ctxt.h:125
uint32_t src_addr
Definition: comp/schemes/ip_ctxt.h:103
ip_version
IP version.
Definition: ip.h:49
uint8_t ip_id_behavior
Definition: comp/schemes/ip_ctxt.h:70
uint8_t ip_id_behavior
Definition: comp/schemes/ip_ctxt.h:99
Define union of IP contexts.
Definition: comp/schemes/ip_ctxt.h:155
uint8_t ttl_hopl
Definition: comp/schemes/ip_ctxt.h:68
Defines the common IPv4/v6 header.
uint8_t ip_ecn_flags
Definition: comp/schemes/ip_ctxt.h:90
uint32_t flow_label
Definition: comp/schemes/ip_ctxt.h:144
uint8_t last_ip_id_behavior
Definition: comp/schemes/ip_ctxt.h:100
uint8_t last_ip_id_behavior
Definition: comp/schemes/ip_ctxt.h:71
uint8_t last_ip_id_behavior
Definition: comp/schemes/ip_ctxt.h:142
size_t option_length
Definition: comp/schemes/ip_ctxt.h:41
struct ipvx_context ipvx_context_t
Define the common IP header context to IPv4 and IPv6.
uint16_t last_ip_id
Definition: comp/schemes/ip_ctxt.h:101