ROHC compression/decompression library
Data Fields
ip_context_t Struct Reference

The TCP compression context for one IPv4 or IPv6 header. More...

#include <ip_ctxt.h>

Collaboration diagram for ip_context_t:
Collaboration graph
[legend]

Data Fields

uint32_t flow_label:20
 
union {
   struct {
      uint32_t   dscp:6
 
      uint32_t   ip_ecn_flags:2
 
   } 
 
   uint32_t   tos_tc:8
 
}; 
 
uint32_t df:1
 
uint32_t unused:3
 
uint16_t last_ip_id
 
uint8_t next_header
 
uint8_t ttl_hopl
 
uint32_t saddr [4]
 
uint32_t daddr [4]
 
ip_option_context_t opts [ROHC_MAX_IP_EXT_HDRS]
 
uint8_t opts_nr
 
uint8_t version:4
 
uint8_t ip_id_behavior:2
 
uint8_t last_ip_id_behavior:2
 
uint8_t unused2 [6]
 
union {
   struct {
      uint32_t   dscp:6
 
      uint32_t   ip_ecn_flags:2
 
   } 
 
   uint32_t   tos_tc:8
 
}; 
 
uint16_t ip_id
 
uint16_t opts_len
 
uint8_t unused3 [4]
 

Detailed Description

The TCP compression context for one IPv4 or IPv6 header.

The TCP decompression context for one IPv4 or IPv6 header.

Field Documentation

◆ @38

union { ... }

◆ @49

union { ... }

◆ daddr

uint32_t ip_context_t::daddr

◆ df

uint32_t ip_context_t::df

◆ dscp

uint32_t ip_context_t::dscp

◆ flow_label

uint32_t ip_context_t::flow_label

IPv6 Flow Label

◆ ip_ecn_flags

uint32_t ip_context_t::ip_ecn_flags

◆ ip_id

uint16_t ip_context_t::ip_id

◆ ip_id_behavior

uint8_t ip_context_t::ip_id_behavior

◆ last_ip_id

uint16_t ip_context_t::last_ip_id

◆ last_ip_id_behavior

uint8_t ip_context_t::last_ip_id_behavior

◆ next_header

uint8_t ip_context_t::next_header

◆ opts

ip_option_context_t ip_context_t::opts

◆ opts_len

uint16_t ip_context_t::opts_len

◆ opts_nr

uint8_t ip_context_t::opts_nr

◆ saddr

uint32_t ip_context_t::saddr

◆ tos_tc

uint32_t ip_context_t::tos_tc

◆ ttl_hopl

uint8_t ip_context_t::ttl_hopl

◆ unused

uint32_t ip_context_t::unused

◆ unused2

uint8_t ip_context_t::unused2

◆ unused3

uint8_t ip_context_t::unused3[4]

◆ version

uint8_t ip_context_t::version

The documentation for this struct was generated from the following file: