ROHC compression/decompression library
Data Fields
rohc_comp_last_packet_info2_t Struct Reference

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

Detailed Description

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:

See also:
rohc_comp_get_last_packet_info2

Field Documentation

The Context ID (CID)

The mode of the last context used by the compressor

The state of the last context used by the compressor

Whether the last context used by the compressor is still in use

The compressed size (in bytes) of the last compressed header

The uncompressed size (in bytes) of the last compressed header

Whether the context was initialized (created/re-used) by the packet

The type of ROHC packet created for the last compressed packet

The profile ID of the last context used by the compressor

The compressed size (in bytes) of the last compressed packet

The uncompressed size (in bytes) of the last compressed packet

The major version of this structure

The minor version of this structure


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