ROHC compression/decompression library
|
The ROHC compression context. More...
#include <rohc_comp_internals.h>
Data Fields | |
int | used |
uint64_t | latest_used |
uint64_t | first_used |
rohc_cid_t | cid |
rohc_ctxt_key_t | key |
struct rohc_comp * | compressor |
const struct rohc_comp_profile * | profile |
void * | specific |
rohc_mode_t | mode |
rohc_comp_state_t | state |
rohc_packet_t | packet_type |
size_t | ir_count |
size_t | fo_count |
size_t | so_count |
size_t | go_back_fo_count |
The number of packet sent while in SO state, used for the periodic refreshes of the context. More... | |
size_t | go_back_ir_count |
The number of packet sent while in FO or SO state, used for the periodic refreshes of the context. More... | |
int | total_uncompressed_size |
int | total_compressed_size |
int | header_uncompressed_size |
int | header_compressed_size |
int | total_last_uncompressed_size |
int | total_last_compressed_size |
int | header_last_uncompressed_size |
int | header_last_compressed_size |
int | num_sent_packets |
The ROHC compression context.
rohc_cid_t rohc_comp_ctxt::cid |
The context unique ID (CID)
struct rohc_comp* rohc_comp_ctxt::compressor |
The associated compressor
uint64_t rohc_comp_ctxt::first_used |
The time when the context was last used (in seconds)
size_t rohc_comp_ctxt::fo_count |
The number of packets sent while in First Order (FO) state
size_t rohc_comp_ctxt::go_back_fo_count |
The number of packet sent while in SO state, used for the periodic refreshes of the context.
size_t rohc_comp_ctxt::go_back_ir_count |
The number of packet sent while in FO or SO state, used for the periodic refreshes of the context.
int rohc_comp_ctxt::header_compressed_size |
The average size of the compressed headers
int rohc_comp_ctxt::header_last_compressed_size |
The header size of the last compressed packet
int rohc_comp_ctxt::header_last_uncompressed_size |
The header size of the last uncompressed packet
int rohc_comp_ctxt::header_uncompressed_size |
The average size of the uncompressed headers
size_t rohc_comp_ctxt::ir_count |
The number of packets sent while in Initialization & Refresh (IR) state
rohc_ctxt_key_t rohc_comp_ctxt::key |
The key to help finding the context associated with a packet
uint64_t rohc_comp_ctxt::latest_used |
The time when the context was created (in seconds)
rohc_mode_t rohc_comp_ctxt::mode |
The operation mode in which the context operates among: ROHC_U_MODE, ROHC_O_MODE, ROHC_R_MODE
int rohc_comp_ctxt::num_sent_packets |
The number of sent packets
rohc_packet_t rohc_comp_ctxt::packet_type |
const struct rohc_comp_profile* rohc_comp_ctxt::profile |
The associated profile
size_t rohc_comp_ctxt::so_count |
The number of packets sent while in Second Order (SO) state
void* rohc_comp_ctxt::specific |
Profile-specific data, defined by the profiles
rohc_comp_state_t rohc_comp_ctxt::state |
The operation state in which the context operates: IR, FO, SO
int rohc_comp_ctxt::total_compressed_size |
The average size of the compressed packets
int rohc_comp_ctxt::total_last_compressed_size |
The total size of the last compressed packet
int rohc_comp_ctxt::total_last_uncompressed_size |
The total size of the last uncompressed packet
int rohc_comp_ctxt::total_uncompressed_size |
The average size of the uncompressed packets
int rohc_comp_ctxt::used |
Whether the context is in use or not