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 |
struct rohc_comp * | compressor |
const struct rohc_comp_profile * | profile |
void * | specific |
bool | do_ctxt_replication |
rohc_cid_t | cr_base_cid |
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 | cr_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... | |
struct rohc_ts | go_back_fo_time |
The last time that the context was in FO 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... | |
struct rohc_ts | go_back_ir_time |
The last time that the context was in IR 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
rohc_cid_t rohc_comp_ctxt::cr_base_cid |
The base context for Context Replication (CR)
size_t rohc_comp_ctxt::cr_count |
The number of packets sent while in Context Replication (CR) state
bool rohc_comp_ctxt::do_ctxt_replication |
Whether Context Replication (CR) may be used
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.
struct rohc_ts rohc_comp_ctxt::go_back_fo_time |
The last time that the context was in FO 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.
struct rohc_ts rohc_comp_ctxt::go_back_ir_time |
The last time that the context was in IR state, used for the periodic refreshes of the context.
int rohc_comp_ctxt::header_compressed_size |
The cumulated 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 cumulated size of the uncompressed headers
size_t rohc_comp_ctxt::ir_count |
The number of packets sent while in Initialization & Refresh (IR) state
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 cumulated 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 cumulated size of the uncompressed packets
int rohc_comp_ctxt::used |
Whether the context is in use or not