ROHC compression/decompression library
Public Attributes
generic_tmp_variables Struct Reference

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

#include <c_generic.h>

List of all members.

Public Attributes

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.
int nr_sn_bits
 The number of bits needed to encode the Sequence Number (SN)
int nr_ip_id_bits
 The number of bits needed to encode the IP-ID of the outer IP header.
int nr_ip_id_bits2
 The number of bits needed to encode the IP-ID of the inner IP header.
int 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

Member Data 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(), code_EXT3_packet(), code_UOR2_ID_bytes(), decide_extension(), decide_FO_packet(), decide_SO_packet(), and update_variables().

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

Referenced by c_generic_encode(), c_init_tmp_variables(), code_EXT3_packet(), decide_extension(), decide_FO_packet(), decide_SO_packet(), and update_variables().

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

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

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

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


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