ROHC compression/decompression library
Data Fields
rohc_comp_ctxt Struct Reference

The ROHC compression context. More...

#include <rohc_comp_internals.h>

Collaboration diagram for rohc_comp_ctxt:
Collaboration graph
[legend]

Data Fields

int used
 
uint64_t latest_used
 
uint64_t first_used
 
rohc_cid_t cid
 
struct rohc_compcompressor
 
const struct rohc_comp_profileprofile
 
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
 

Detailed Description

The ROHC compression context.

Field Documentation

◆ cid

rohc_cid_t rohc_comp_ctxt::cid

The context unique ID (CID)

◆ compressor

struct rohc_comp* rohc_comp_ctxt::compressor

The associated compressor

◆ cr_base_cid

rohc_cid_t rohc_comp_ctxt::cr_base_cid

The base context for Context Replication (CR)

◆ cr_count

size_t rohc_comp_ctxt::cr_count

The number of packets sent while in Context Replication (CR) state

◆ do_ctxt_replication

bool rohc_comp_ctxt::do_ctxt_replication

Whether Context Replication (CR) may be used

◆ first_used

uint64_t rohc_comp_ctxt::first_used

The time when the context was last used (in seconds)

◆ fo_count

size_t rohc_comp_ctxt::fo_count

The number of packets sent while in First Order (FO) state

◆ go_back_fo_count

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.

See also
rohc_comp_periodic_down_transition

◆ go_back_fo_time

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.

See also
rohc_comp_periodic_down_transition

◆ go_back_ir_count

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.

See also
rohc_comp_periodic_down_transition

◆ go_back_ir_time

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.

See also
rohc_comp_periodic_down_transition

◆ header_compressed_size

int rohc_comp_ctxt::header_compressed_size

The cumulated size of the compressed headers

◆ header_last_compressed_size

int rohc_comp_ctxt::header_last_compressed_size

The header size of the last compressed packet

◆ header_last_uncompressed_size

int rohc_comp_ctxt::header_last_uncompressed_size

The header size of the last uncompressed packet

◆ header_uncompressed_size

int rohc_comp_ctxt::header_uncompressed_size

The cumulated size of the uncompressed headers

◆ ir_count

size_t rohc_comp_ctxt::ir_count

The number of packets sent while in Initialization & Refresh (IR) state

◆ latest_used

uint64_t rohc_comp_ctxt::latest_used

The time when the context was created (in seconds)

◆ mode

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

◆ num_sent_packets

int rohc_comp_ctxt::num_sent_packets

The number of sent packets

◆ packet_type

rohc_packet_t rohc_comp_ctxt::packet_type

◆ profile

const struct rohc_comp_profile* rohc_comp_ctxt::profile

The associated profile

◆ so_count

size_t rohc_comp_ctxt::so_count

The number of packets sent while in Second Order (SO) state

◆ specific

void* rohc_comp_ctxt::specific

Profile-specific data, defined by the profiles

◆ state

rohc_comp_state_t rohc_comp_ctxt::state

The operation state in which the context operates: IR, FO, SO

◆ total_compressed_size

int rohc_comp_ctxt::total_compressed_size

The cumulated size of the compressed packets

◆ total_last_compressed_size

int rohc_comp_ctxt::total_last_compressed_size

The total size of the last compressed packet

◆ total_last_uncompressed_size

int rohc_comp_ctxt::total_last_uncompressed_size

The total size of the last uncompressed packet

◆ total_uncompressed_size

int rohc_comp_ctxt::total_uncompressed_size

The cumulated size of the uncompressed packets

◆ used

int rohc_comp_ctxt::used

Whether the context is in use or not


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