ROHC compression/decompression library
Data Fields
ipv4_context Struct Reference

Define the IPv4 header context. More...

#include <ip_ctxt.h>

Data Fields

uint8_t version:4
 
uint8_t df:1
 
uint8_t unused:3
 
union {
   struct {
      uint8_t   dscp:6
 
      uint8_t   ip_ecn_flags:2
 
   } 
 
   uint8_t   tos
 
}; 
 
uint8_t protocol
 
uint8_t ttl
 
uint8_t ip_id_behavior
 
uint8_t last_ip_id_behavior
 
uint16_t last_ip_id
 
uint32_t src_addr
 
uint32_t dst_addr
 
union {
   struct {
      uint8_t   dscp:6
 
      uint8_t   ip_ecn_flags:2
 
   } 
 
   uint8_t   tos
 
}; 
 
uint16_t ip_id
 

Detailed Description

Define the IPv4 header context.

Field Documentation

◆ @27

union { ... }

◆ @49

union { ... }

◆ df

uint8_t ipv4_context::df

◆ dscp

uint8_t ipv4_context::dscp

◆ dst_addr

uint32_t ipv4_context::dst_addr

◆ ip_ecn_flags

uint8_t ipv4_context::ip_ecn_flags

◆ ip_id

uint16_t ipv4_context::ip_id

◆ ip_id_behavior

uint8_t ipv4_context::ip_id_behavior

◆ last_ip_id

uint16_t ipv4_context::last_ip_id

◆ last_ip_id_behavior

uint8_t ipv4_context::last_ip_id_behavior

◆ protocol

uint8_t ipv4_context::protocol

◆ src_addr

uint32_t ipv4_context::src_addr

◆ tos

uint8_t ipv4_context::tos

◆ ttl

uint8_t ipv4_context::ttl

◆ unused

uint8_t ipv4_context::unused

◆ version

uint8_t ipv4_context::version

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