ROHC compression/decompression library
Data Fields
ipv4_header_info Struct Reference

Store information about an IPv4 header between the different compressions of IP packets. More...

#include <rohc_comp_rfc3095.h>

Collaboration diagram for ipv4_header_info:
Collaboration graph
[legend]

Data Fields

struct c_wlsb ip_id_window
 A window to store the IP-ID. More...
 
struct ipv4_hdr old_ip
 The previous IP header. More...
 
size_t df_count
 The number of times the DF field was added to the compressed header. More...
 
size_t rnd_count
 The number of times the IP-ID is specified as random in the compressed header. More...
 
size_t nbo_count
 The number of times the IP-ID is specified as coded in Network Byte Order (NBO) in the compressed header. More...
 
size_t sid_count
 The number of times the IP-ID is specified as static in the compressed header. More...
 
int rnd
 Whether the IP-ID is considered as random or not. More...
 
int nbo
 Whether the IP-ID is considered as coded in NBO or not. More...
 
int sid
 Whether the IP-ID is considered as static or not. More...
 
int old_rnd
 Whether the IP-ID of the previous IP header was considered as random or not. More...
 
int old_nbo
 Whether the IP-ID of the previous IP header was considered as coded in NBO or not. More...
 
int old_sid
 Whether the IP-ID of the previous IP header was considered as static or not. More...
 
uint16_t id_delta
 

Detailed Description

Store information about an IPv4 header between the different compressions of IP packets.

Defines an object that contains counters, flags and structures related to an IPv4 header and that need to be saved between the different compressions of packets. A compression context owns objects like this for the two first IPv4 headers.

Field Documentation

◆ df_count

size_t ipv4_header_info::df_count

The number of times the DF field was added to the compressed header.

◆ id_delta

uint16_t ipv4_header_info::id_delta

The delta between the IP-ID and the current Sequence Number (SN) (overflow over 16 bits is expected when SN > IP-ID)

◆ ip_id_window

struct c_wlsb ipv4_header_info::ip_id_window

A window to store the IP-ID.

◆ nbo

int ipv4_header_info::nbo

Whether the IP-ID is considered as coded in NBO or not.

◆ nbo_count

size_t ipv4_header_info::nbo_count

The number of times the IP-ID is specified as coded in Network Byte Order (NBO) in the compressed header.

◆ old_ip

struct ipv4_hdr ipv4_header_info::old_ip

The previous IP header.

◆ old_nbo

int ipv4_header_info::old_nbo

Whether the IP-ID of the previous IP header was considered as coded in NBO or not.

◆ old_rnd

int ipv4_header_info::old_rnd

Whether the IP-ID of the previous IP header was considered as random or not.

◆ old_sid

int ipv4_header_info::old_sid

Whether the IP-ID of the previous IP header was considered as static or not.

◆ rnd

int ipv4_header_info::rnd

Whether the IP-ID is considered as random or not.

◆ rnd_count

size_t ipv4_header_info::rnd_count

The number of times the IP-ID is specified as random in the compressed header.

◆ sid

int ipv4_header_info::sid

Whether the IP-ID is considered as static or not.

◆ sid_count

size_t ipv4_header_info::sid_count

The number of times the IP-ID is specified as static in the compressed header.


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