ROHC compression/decompression library
|
The ROHC compressor. More...
#include <rohc_comp_internals.h>
The ROHC compressor.
The connection type (currently not used)
struct c_context* rohc_comp::contexts |
The array of compression contexts that use the compressor
Referenced by rohc_comp_force_contexts_reinit(), and rohc_comp_remove_rtp_port().
unsigned char rohc_comp::crc_table_2[256] |
The table to enable fast CRC-2 computation
Referenced by rohc_alloc_compressor().
unsigned char rohc_comp::crc_table_3[256] |
The table to enable fast CRC-3 computation
Referenced by code_UO0_packet(), code_UO1_packet(), and rohc_alloc_compressor().
unsigned char rohc_comp::crc_table_6[256] |
The table to enable fast CRC-6 computation
Referenced by code_UO2_packet(), and rohc_alloc_compressor().
unsigned char rohc_comp::crc_table_7[256] |
The table to enable fast CRC-7 computation
Referenced by code_UO2_packet(), and rohc_alloc_compressor().
unsigned char rohc_comp::crc_table_8[256] |
The table to enable fast CRC-8 computation
Referenced by c_generic_feedback(), code_IR_DYN_packet(), code_IR_packet(), and rohc_alloc_compressor().
Whether the compressor is enabled or not.
The compressor is enabled by default and may be disabled by user.
Referenced by rohc_alloc_compressor(), rohc_c_is_enabled(), rohc_c_set_enable(), and rohc_c_statistics().
The ring of outgoing feedbacks
Referenced by rohc_alloc_compressor(), rohc_comp_piggyback_feedback(), rohc_feedback_remove_locked(), and rohc_feedback_unlock().
size_t rohc_comp::feedbacks_first |
The index of the oldest feedback in the feedback ring
Referenced by rohc_alloc_compressor(), rohc_comp_piggyback_feedback(), rohc_feedback_remove_locked(), and rohc_feedback_unlock().
The index of the oldest unlocked feedback in the feedback ring
Referenced by rohc_alloc_compressor(), rohc_feedback_remove_locked(), and rohc_feedback_unlock().
size_t rohc_comp::feedbacks_next |
The index of the next empty location in the feedback ring.
Referenced by rohc_alloc_compressor(), rohc_comp_piggyback_feedback(), and rohc_feedback_unlock().
struct c_context* rohc_comp::last_context |
The last context used by the compressor
Referenced by rohc_alloc_compressor(), rohc_comp_get_last_packet_info(), rohc_comp_get_last_packet_info2(), and rohc_compress2().
Maximum header size that will be compressed (currently not used)
Referenced by rohc_c_set_header().
struct medium rohc_comp::medium |
The medium associated with the decompressor
Referenced by c_deliver_feedback(), code_IR_DYN_packet(), code_IR_packet(), code_UO0_packet(), code_UO1_packet(), code_UO2_packet(), rohc_alloc_compressor(), rohc_c_set_large_cid(), rohc_c_set_max_cid(), rohc_c_statistics(), rohc_c_using_small_cid(), rohc_comp_force_contexts_reinit(), rohc_comp_get_cid_type(), rohc_comp_get_max_cid(), and rohc_comp_remove_rtp_port().
size_t rohc_comp::mrru |
Maximum Reconstructed Reception Unit (currently not used)
Referenced by main(), rohc_alloc_compressor(), rohc_c_statistics(), rohc_comp_get_mrru(), rohc_comp_set_mrru(), and rohc_compress2().
The number of compression contexts in use in the array
Referenced by rohc_c_statistics(), rohc_comp_force_contexts_reinit(), rohc_comp_get_general_info(), rohc_comp_remove_rtp_port(), and rohc_compress2().
The number of sent packets
Referenced by rohc_alloc_compressor(), rohc_c_statistics(), rohc_comp_get_general_info(), rohc_comp_set_periodic_refreshes(), rohc_comp_set_traces_cb(), rohc_comp_set_wlsb_window_width(), and rohc_compress2().
The maximal number of packets sent in > FO states (= SO state) before changing back the state to FO (periodic refreshes)
Referenced by periodic_down_transition(), and rohc_comp_set_periodic_refreshes().
The maximal number of packets sent in > IR states (= FO and SO states) before changing back the state to IR (periodic refreshes)
Referenced by periodic_down_transition(), and rohc_comp_set_periodic_refreshes().
Which profiles are enabled and with one are not?
A value of 1 means that profile is enabled, 0 means disabled.
Referenced by rohc_activate_profile(), rohc_alloc_compressor(), and rohc_c_statistics().
The user-defined callback for random numbers
Referenced by rohc_alloc_compressor(), and rohc_comp_set_random_cb().
Private data that will be given to the callback for random numbers
Referenced by rohc_alloc_compressor(), and rohc_comp_set_random_cb().
unsigned char rohc_comp::rru[ROHC_MAX_MRRU] |
The remaining bytes of the Reconstructed Reception Unit (RRU) waiting to be split into segments
Referenced by rohc_comp_get_segment(), and rohc_compress2().
size_t rohc_comp::rru_len |
The number of the remaining bytes in the RRU buffer
Referenced by rohc_comp_get_segment(), and rohc_compress2().
size_t rohc_comp::rru_off |
The offset of the remaining bytes in the RRU buffer
Referenced by rohc_comp_get_segment(), and rohc_compress2().
The callback function used to detect RTP packet
Referenced by rohc_comp_set_rtp_detection_cb().
unsigned int rohc_comp::rtp_ports[MAX_RTP_PORTS] |
The RTP ports table
Referenced by rohc_alloc_compressor(), rohc_comp_add_rtp_port(), rohc_comp_remove_rtp_port(), and rohc_comp_reset_rtp_ports().
void* rohc_comp::rtp_private |
Pointer to an external memory area provided/used by the callback user
Referenced by rohc_comp_set_rtp_detection_cb().
The size of all the sent compressed ROHC packets
Referenced by rohc_alloc_compressor(), rohc_c_statistics(), rohc_comp_get_general_info(), and rohc_compress2().
The size of all the received uncompressed IP packets
Referenced by rohc_alloc_compressor(), rohc_c_statistics(), rohc_comp_get_general_info(), and rohc_compress2().
The callback function used to manage traces
Referenced by c_generic_create(), c_generic_encode(), rohc_alloc_compressor(), rohc_comp_set_traces_cb(), and rohc_compress2().
size_t rohc_comp::wlsb_window_width |
The width of the W-LSB sliding window
Referenced by c_generic_create(), c_generic_encode(), and rohc_comp_set_wlsb_window_width().