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

Data Fields

unsigned short changed_fields
 The number of fields that changed in the outer IP header. More...
 
unsigned short changed_fields2
 The number of fields that changed in the inner IP header. More...
 
int send_static
 The number of static fields that changed in the two IP headers. More...
 
int send_dynamic
 The number of dynamic fields that changed in the two IP headers. More...
 
size_t nr_sn_bits_less_equal_than_4
 The number of bits needed to encode the Sequence Number (SN) More...
 
size_t nr_sn_bits_more_than_4
 The number of bits needed to encode the Sequence Number (SN) More...
 
size_t nr_ip_id_bits
 The number of bits needed to encode the IP-ID of the outer IP header. More...
 
size_t nr_ip_id_bits2
 The number of bits needed to encode the IP-ID of the inner IP header. More...
 
rohc_packet_t packet_type
 The type of packet the compressor must send: IR, IR-DYN, UO*. More...
 

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

unsigned short generic_tmp_vars::changed_fields

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

unsigned short generic_tmp_vars::changed_fields2

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

size_t generic_tmp_vars::nr_ip_id_bits

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

size_t generic_tmp_vars::nr_ip_id_bits2

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

size_t generic_tmp_vars::nr_sn_bits_less_equal_than_4

The number of bits needed to encode the Sequence Number (SN)

size_t generic_tmp_vars::nr_sn_bits_more_than_4

The number of bits needed to encode the Sequence Number (SN)

rohc_packet_t generic_tmp_vars::packet_type

The type of packet the compressor must send: IR, IR-DYN, UO*.

int generic_tmp_vars::send_dynamic

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

int generic_tmp_vars::send_static

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


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