ROHC compression/decompression library
|
The ROHC compression context. More...
#include <rohc_comp_internals.h>
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)
bool rohc_comp_ctxt::do_ctxt_replication |
Whether Context Replication (CR) may be used
struct rohc_fingerprint rohc_comp_ctxt::fingerprint |
The fingerprint of the context
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
uint64_t rohc_comp_ctxt::latest_used |
The time when the context was last used (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
struct rohc_comp_ctxt* rohc_comp_ctxt::next |
struct rohc_comp_ctxt* rohc_comp_ctxt::next_cr |
int rohc_comp_ctxt::num_sent_packets |
The number of sent packets
rohc_packet_t rohc_comp_ctxt::packet_type |
struct rohc_comp_ctxt* rohc_comp_ctxt::prev |
struct rohc_comp_ctxt* rohc_comp_ctxt::prev_cr |
const struct rohc_comp_profile* rohc_comp_ctxt::profile |
The associated profile
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
uint8_t rohc_comp_ctxt::state_oa_repeat_nr |
The number of packets sent while in the different compression states
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