ROHC compression/decompression library
|
Definition of ROHC packets and extensions. More...
#include <stdbool.h>
Go to the source code of this file.
Macros | |
#define | ROHC_EXPORT |
#define | ROHC_PACKET_CO_COMMON ROHC_PACKET_TCP_CO_COMMON |
Functions | |
const char *ROHC_EXPORT | rohc_get_packet_descr (const rohc_packet_t packet_type) |
Give a description for the given type of ROHC packet. More... | |
const char *ROHC_EXPORT | rohc_get_ext_descr (const rohc_ext_t ext_type) |
Give a description for the given type of ROHC extension. More... | |
rohc_packet_t ROHC_EXPORT | rohc_get_packet_type (const char *const packet_id) |
Get the packet type from a packet identifier. More... | |
bool ROHC_EXPORT | rohc_packet_is_ir (const rohc_packet_t packet_type) |
Is the packet one IR, IR-DYN or IR-CR packet? More... | |
bool ROHC_EXPORT | rohc_packet_carry_static_info (const rohc_packet_t packet_type) |
Does packet type carry static information? More... | |
bool ROHC_EXPORT | rohc_packet_carry_crc_7_or_8 (const rohc_packet_t packet_type) |
Does packet type carry 7- or 8-bit CRC? More... | |
Definition of ROHC packets and extensions.
#define ROHC_EXPORT |
Macro that handles DLL export declarations gracefully
#define ROHC_PACKET_CO_COMMON ROHC_PACKET_TCP_CO_COMMON |
ROHCv2 co_common packet
enum rohc_ext_t |
The different types of extensions for UO-1-ID and UOR-2* packets.
If you add a new extension type, please also add the corresponding textual description in rohc_get_ext_descr.
enum rohc_packet_t |
The different types of ROHC packets.
If you add a new packet type, please also add the corresponding textual description in rohc_get_packet_descr.
bool ROHC_EXPORT rohc_packet_carry_crc_7_or_8 | ( | const rohc_packet_t | packet_type | ) |
Does packet type carry 7- or 8-bit CRC?
packet_type | The type of packet |
bool ROHC_EXPORT rohc_packet_carry_static_info | ( | const rohc_packet_t | packet_type | ) |
Does packet type carry static information?
packet_type | The type of packet |
bool ROHC_EXPORT rohc_packet_is_ir | ( | const rohc_packet_t | packet_type | ) |
Is the packet one IR, IR-DYN or IR-CR packet?
packet_type | The type of packet |