ROHC compression/decompression library
|
Some information about the last compressed packet. More...
#include <rohc_comp.h>
Data Fields | |
unsigned short | version_major |
unsigned short | version_minor |
unsigned int | context_id |
bool | is_context_init |
rohc_mode_t | context_mode |
rohc_comp_state_t | context_state |
bool | context_used |
int | profile_id |
rohc_packet_t | packet_type |
unsigned long | total_last_uncomp_size |
unsigned long | header_last_uncomp_size |
unsigned long | total_last_comp_size |
unsigned long | header_last_comp_size |
Some information about the last compressed packet.
The structure is used by the rohc_comp_get_last_packet_info2 function to store some information about the last compressed packet.
Versioning works as follow:
Notes for developers:
Supported versions:
unsigned int rohc_comp_last_packet_info2_t::context_id |
The Context ID (CID)
rohc_mode_t rohc_comp_last_packet_info2_t::context_mode |
The mode of the last context used by the compressor
rohc_comp_state_t rohc_comp_last_packet_info2_t::context_state |
The state of the last context used by the compressor
bool rohc_comp_last_packet_info2_t::context_used |
Whether the last context used by the compressor is still in use
unsigned long rohc_comp_last_packet_info2_t::header_last_comp_size |
The compressed size (in bytes) of the last compressed header
unsigned long rohc_comp_last_packet_info2_t::header_last_uncomp_size |
The uncompressed size (in bytes) of the last compressed header
bool rohc_comp_last_packet_info2_t::is_context_init |
Whether the context was initialized (created/re-used) by the packet
rohc_packet_t rohc_comp_last_packet_info2_t::packet_type |
The type of ROHC packet created for the last compressed packet
int rohc_comp_last_packet_info2_t::profile_id |
The profile ID of the last context used by the compressor
unsigned long rohc_comp_last_packet_info2_t::total_last_comp_size |
The compressed size (in bytes) of the last compressed packet
unsigned long rohc_comp_last_packet_info2_t::total_last_uncomp_size |
The uncompressed size (in bytes) of the last compressed packet
unsigned short rohc_comp_last_packet_info2_t::version_major |
The major version of this structure
unsigned short rohc_comp_last_packet_info2_t::version_minor |
The minor version of this structure