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

struct rohc_medium medium
 
rohc_comp_features_t features
 
struct rohc_comp_ctxtcontexts
 
uint16_t num_contexts_used
 
struct hashtable contexts_by_fingerprint
 
struct hashtable contexts_cr
 
struct rohc_comp_ctxtuncompressed_ctxt
 
bool enabled_profiles [ROHC_PROFILE_ID_MAJOR_MAX+1][ROHC_PROFILE_ID_MINOR_MAX+1]
 
uint8_t * rru
 
size_t rru_off
 
size_t rru_len
 
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
 
uint8_t oa_repetitions_nr
 
rohc_reordering_offset_t reorder_ratio
 
size_t periodic_refreshes_ir_timeout_pkts
 
uint64_t periodic_refreshes_ir_timeout_time
 
size_t periodic_refreshes_fo_timeout_pkts
 
uint64_t periodic_refreshes_fo_timeout_time
 
size_t mrru
 
rohc_trace_callback2_t trace_callback
 
void * trace_callback_priv
 

Detailed Description

The ROHC compressor.

Field Documentation

◆ contexts

struct rohc_comp_ctxt* rohc_comp::contexts

The array of compression contexts that use the compressor

◆ contexts_by_fingerprint

struct hashtable rohc_comp::contexts_by_fingerprint

◆ contexts_cr

struct hashtable rohc_comp::contexts_cr

◆ enabled_profiles

bool rohc_comp::enabled_profiles[ROHC_PROFILE_ID_MAJOR_MAX+1][ROHC_PROFILE_ID_MINOR_MAX+1]

Which profiles are enabled and with one are not?

◆ features

rohc_comp_features_t rohc_comp::features

Enabled/disabled features for the compressor

◆ last_context

struct rohc_comp_ctxt* rohc_comp::last_context

The last context used by the compressor

◆ medium

struct rohc_medium rohc_comp::medium

The medium associated with the decompressor

◆ mrru

size_t rohc_comp::mrru

Maximum Reconstructed Reception Unit

◆ num_contexts_used

uint16_t rohc_comp::num_contexts_used

The number of compression contexts in use in the array

◆ num_packets

int rohc_comp::num_packets

The number of sent packets

◆ oa_repetitions_nr

uint8_t rohc_comp::oa_repetitions_nr

The nr of Optimistic Approach repetitions to gain transmission confidence

◆ periodic_refreshes_fo_timeout_pkts

size_t rohc_comp::periodic_refreshes_fo_timeout_pkts

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

◆ periodic_refreshes_fo_timeout_time

uint64_t rohc_comp::periodic_refreshes_fo_timeout_time

The maximal delay spent in > FO states (= SO state) before changing back the state to FO (periodic refreshes)

◆ periodic_refreshes_ir_timeout_pkts

size_t rohc_comp::periodic_refreshes_ir_timeout_pkts

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

◆ periodic_refreshes_ir_timeout_time

uint64_t rohc_comp::periodic_refreshes_ir_timeout_time

The maximal delay spent in > IR states (= FO and SO states) before changing back the state to IR (periodic refreshes)

◆ random_cb

rohc_comp_random_cb_t rohc_comp::random_cb

The user-defined callback for random numbers

◆ random_cb_ctxt

void* rohc_comp::random_cb_ctxt

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

◆ reorder_ratio

rohc_reordering_offset_t rohc_comp::reorder_ratio

The reorder offset specifies how much reordering is handled by the W-LSB encoding of the MSN in ROHCv2 profiles

◆ rru

uint8_t* rohc_comp::rru

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

◆ rru_len

size_t rohc_comp::rru_len

The number of the remaining bytes in the RRU buffer

◆ rru_off

size_t rohc_comp::rru_off

The offset of the remaining bytes in the RRU buffer

◆ rtp_callback

rohc_rtp_detection_callback_t rohc_comp::rtp_callback

The callback function used to detect RTP packet

◆ rtp_private

void* rohc_comp::rtp_private

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

◆ total_compressed_size

int rohc_comp::total_compressed_size

The size of all the sent compressed ROHC packets

◆ total_uncompressed_size

int rohc_comp::total_uncompressed_size

The size of all the received uncompressed IP packets

◆ trace_callback

rohc_trace_callback2_t rohc_comp::trace_callback

The callback function used to manage traces

◆ trace_callback_priv

void* rohc_comp::trace_callback_priv

The private context of the callback function used to manage traces

◆ uncompressed_ctxt

struct rohc_comp_ctxt* rohc_comp::uncompressed_ctxt

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