ROHC compression/decompression library
Data Fields
rohc_comp Struct Reference

The ROHC compressor. More...

#include <rohc_comp_internals.h>

Collaboration diagram for rohc_comp:
Collaboration graph
[legend]

Data Fields

int enabled
 Whether the compressor is enabled or not.
struct rohc_medium medium
rohc_comp_features_t features
struct rohc_comp_ctxtcontexts
size_t num_contexts_used
bool enabled_profiles [C_NUM_PROFILES]
unsigned char crc_table_3 [256]
unsigned char crc_table_7 [256]
unsigned char crc_table_8 [256]
struct rohc_feedback feedbacks [FEEDBACK_RING_SIZE]
size_t feedbacks_first
size_t feedbacks_first_unlocked
size_t feedbacks_next
 The index of the next empty location in the feedback ring.
unsigned char rru [ROHC_MAX_MRRU]
size_t rru_off
size_t rru_len
unsigned int rtp_ports [MAX_RTP_PORTS]
rohc_rtp_detection_callback_t rtp_callback
void * rtp_private
int num_packets
int total_uncompressed_size
int total_compressed_size
struct rohc_comp_ctxtlast_context
rohc_comp_random_cb_t random_cb
void * random_cb_ctxt
size_t wlsb_window_width
size_t periodic_refreshes_ir_timeout
size_t periodic_refreshes_fo_timeout
size_t mrru
int connection_type
size_t list_trans_nr
rohc_trace_callback_t trace_callback
rohc_trace_callback2_t trace_callback2
void * trace_callback_priv

Detailed Description

The ROHC compressor.


Field Documentation

The connection type (currently not used)

The array of compression contexts that use the compressor

unsigned char rohc_comp::crc_table_3[256]

The table to enable fast CRC-3 computation

unsigned char rohc_comp::crc_table_7[256]

The table to enable fast CRC-7 computation

unsigned char rohc_comp::crc_table_8[256]

The table to enable fast CRC-8 computation

Whether the compressor is enabled or not.

The compressor is enabled by default and may be disabled by user.

Which profiles are enabled and with one are not?

Enabled/disabled features for the compressor

The ring of outgoing feedbacks

The index of the oldest feedback in the feedback ring

The index of the oldest unlocked feedback in the feedback ring

The index of the next empty location in the feedback ring.

The last context used by the compressor

The number of uncompressed transmissions for list compression (L)

The medium associated with the decompressor

Maximum Reconstructed Reception Unit

The number of compression contexts in use in the array

The number of sent packets

The maximal number of packets sent in > FO states (= SO state) before changing back the state to FO (periodic refreshes)

The maximal number of packets sent in > IR states (= FO and SO states) before changing back the state to IR (periodic refreshes)

The user-defined callback for random numbers

Private data that will be given to the callback for random numbers

unsigned char rohc_comp::rru[ROHC_MAX_MRRU]

The remaining bytes of the Reconstructed Reception Unit (RRU) waiting to be split into segments

The number of the remaining bytes in the RRU buffer

The offset of the remaining bytes in the RRU buffer

The callback function used to detect RTP packet

The RTP ports table

Pointer to an external memory area provided/used by the callback user

The size of all the sent compressed ROHC packets

The size of all the received uncompressed IP packets

The old callback function used to manage traces

The new callback function used to manage traces

The private context of the callback function used to manage traces

The width of the W-LSB sliding window


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