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 <c_generic.h>

Collaboration diagram for ipv4_header_info:
Collaboration graph
[legend]

Data Fields

struct c_wlsbip_id_window
 A window to store the IP-ID.
struct ipv4_hdr old_ip
 The previous IP header.
int df_count
 The number of times the DF field was added to the compressed header.
int rnd_count
 The number of times the IP-ID is specified as random in the compressed header.
int nbo_count
 The number of times the IP-ID is specified as coded in Network Byte Order (NBO) in the compressed header.
int rnd
 Whether the IP-ID is considered as random or not.
int nbo
 Whether the IP-ID is considered as coded in NBO or not.
int old_rnd
 Whether the IP-ID of the previous IP header was considered as random or not.
int old_nbo
 Whether the IP-ID of the previous IP header was considered as coded in NBO or not.
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

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

Referenced by c_init_header_info(), changed_dynamic_one_hdr(), code_ipv4_dynamic_part(), and header_flags().

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

Referenced by code_EXT2_packet(), code_EXT3_packet(), code_UO1_packet(), and header_fields().

A window to store the IP-ID.

Referenced by c_generic_destroy(), c_generic_feedback(), and c_init_header_info().

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

Referenced by c_generic_encode(), changed_dynamic_one_hdr(), code_ipv4_dynamic_part(), and header_flags().

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

Referenced by c_init_header_info(), changed_dynamic_one_hdr(), code_ipv4_dynamic_part(), and header_flags().

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

Referenced by c_generic_encode(), and changed_dynamic_one_hdr().

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

Referenced by c_generic_encode(), and changed_dynamic_one_hdr().

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

Referenced by c_init_header_info(), changed_dynamic_one_hdr(), code_EXT3_packet(), code_ipv4_dynamic_part(), and header_flags().


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