ROHC compression/decompression library
|
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. |
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.
unsigned short generic_tmp_vars::changed_fields |
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().
unsigned short generic_tmp_vars::changed_fields2 |
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 maximal size of the compressed packet.
Referenced by c_generic_encode(), c_init_tmp_variables(), code_IR_DYN_packet(), code_IR_packet(), code_UO0_packet(), code_UO1_packet(), and code_UO2_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 IP headers in the packet to compress (1 or 2 only)
Referenced by c_generic_encode(), c_init_tmp_variables(), c_ip_decide_FO_packet(), c_ip_decide_SO_packet(), changed_dynamic_both_hdr(), changed_static_both_hdr(), code_EXT3_packet(), code_IR_DYN_packet(), code_IR_packet(), code_UO0_packet(), code_UO1_packet(), code_UO2_packet(), code_uo_remainder(), code_UOR2_RTP_bytes(), code_UOR2_TS_bytes(), decide_extension(), and rohc_get_ipid_bits().
size_t generic_tmp_vars::nr_sn_bits |
The number of bits needed to encode the Sequence Number (SN)
Referenced by c_init_tmp_variables(), c_ip_decide_FO_packet(), c_ip_decide_SO_packet(), code_EXT3_packet(), code_IR_packet(), code_UOR2_bytes(), code_UOR2_ID_bytes(), code_UOR2_RTP_bytes(), code_UOR2_TS_bytes(), and decide_extension().
The type of packet the compressor must send: IR, IR-DYN, UO*.
Referenced by c_generic_encode(), c_init_tmp_variables(), c_rtp_encode(), c_udp_encode(), c_udp_lite_encode(), code_EXT0_packet(), code_EXT1_packet(), code_EXT2_packet(), code_EXT3_packet(), code_packet(), code_UO1_packet(), code_UO2_packet(), and decide_extension().
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().