ROHC compression/decompression library
Data Fields
generic_tmp_vars Struct Reference

Structure that contains variables that are used during one single compression of packet. More...

#include <c_generic.h>

Data Fields

int nr_of_ip_hdr
 The number of IP headers in the packet to compress (1 or 2 only)
unsigned short changed_fields
 The number of fields that changed in the outer IP header.
unsigned short changed_fields2
 The number of fields that changed in the inner IP header.
int send_static
 The number of static fields that changed in the two IP headers.
int send_dynamic
 The number of dynamic fields that changed in the two IP headers.
size_t nr_sn_bits
 The number of bits needed to encode the Sequence Number (SN)
size_t nr_ip_id_bits
 The number of bits needed to encode the IP-ID of the outer IP header.
size_t nr_ip_id_bits2
 The number of bits needed to encode the IP-ID of the inner IP header.
rohc_packet_t packet_type
 The type of packet the compressor must send: IR, IR-DYN, UO*.
int max_size
 The maximal size of the compressed packet.

Detailed Description

Structure that contains variables that are used during one single compression of packet.

Structure that contains variables that are temporary, i.e. variables that will only be used for the compression of the current packet. These variables must be reinitialized every time a new packet arrive.

See also:
c_init_tmp_variables

Field Documentation

The number of fields that changed in the outer IP header.

Referenced by c_generic_encode(), c_init_tmp_variables(), changed_dynamic_both_hdr(), changed_static_both_hdr(), and code_EXT3_packet().

The number of fields that changed in the inner IP header.

Referenced by c_generic_encode(), c_init_tmp_variables(), changed_dynamic_both_hdr(), changed_static_both_hdr(), and code_EXT3_packet().

The number of bits needed to encode the IP-ID of the outer IP header.

Referenced by c_init_tmp_variables(), c_ip_decide_SO_packet(), code_EXT3_packet(), code_IR_packet(), and rohc_get_ipid_bits().

The number of bits needed to encode the IP-ID of the inner IP header.

Referenced by c_generic_encode(), c_init_tmp_variables(), c_ip_decide_SO_packet(), code_EXT3_packet(), code_IR_packet(), and rohc_get_ipid_bits().

The number of dynamic fields that changed in the two IP headers.

Referenced by c_generic_encode(), c_init_tmp_variables(), c_ip_decide_FO_packet(), decide_extension(), and decide_state().

The number of static fields that changed in the two IP headers.

Referenced by c_generic_encode(), c_init_tmp_variables(), c_ip_decide_FO_packet(), decide_extension(), and decide_state().


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