ROHC compression/decompression library
|
Functions | |
static unsigned char static unsigned char static unsigned char static unsigned char static unsigned char int | crc_get_polynom (int type) |
Get the polynom for the given CRC type. | |
void | crc_init_table (unsigned char *table, unsigned char poly) |
Initialize a CRC table given a 256-byte table and the polynom to use. | |
char * | rohc_version (void) |
Get the version of the ROHC library. | |
const char * | rohc_get_mode_descr (const rohc_mode mode) |
Give a description for the given ROHC mode. | |
const char * | rohc_get_packet_descr (const rohc_packet_t packet_type) |
Give a description for the given type of ROHC packet. | |
const char * | rohc_get_ext_descr (const rohc_ext_t ext_type) |
Give a description for the given type of ROHC extension. |
static unsigned char static unsigned char static unsigned char static unsigned char static unsigned char int crc_get_polynom | ( | int | type | ) |
Get the polynom for the given CRC type.
Public functions
type | The CRC type |
void crc_init_table | ( | unsigned char * | table, |
unsigned char | poly | ||
) |
Initialize a CRC table given a 256-byte table and the polynom to use.
table | The 256-byte table |
poly | The polynom |
const char* rohc_get_ext_descr | ( | const rohc_ext_t | ext_type | ) |
Give a description for the given type of ROHC extension.
The descriptions are not part of the API. They may change between releases without any warning. Do NOT use them for other means that providing to users a textual description of the extensions used by the library. If unsure, ask on the mailing list.
ext_type | The type of extension to get a description for |
References PACKET_EXT_0, PACKET_EXT_1, PACKET_EXT_2, PACKET_EXT_3, PACKET_EXT_UNKNOWN, and PACKET_NOEXT.
Referenced by code_UO2_packet().
const char* rohc_get_mode_descr | ( | const rohc_mode | mode | ) |
Give a description for the given ROHC mode.
The descriptions are not part of the API. They may change between releases without any warning. Do NOT use them for other means that providing to users a textual description of modes used by the library. If unsure, ask on the mailing list.
mode | The ROHC mode to get a description for |
References O_MODE, R_MODE, and U_MODE.
Referenced by rohc_c_context(), and rohc_d_context().
const char* rohc_get_packet_descr | ( | const rohc_packet_t | packet_type | ) |
Give a description for the given type of ROHC packet.
The descriptions are not part of the API. They may change between releases without any warning. Do NOT use them for other means that providing to users a textual description of the packets used by the library. If unsure, ask on the mailing list.
packet_type | The type of packet to get a description for |
References PACKET_CCE, PACKET_CCE_OFF, PACKET_IR, PACKET_IR_DYN, PACKET_NORMAL, PACKET_UNKNOWN, PACKET_UO_0, PACKET_UO_1, PACKET_UO_1_ID, PACKET_UO_1_RTP, PACKET_UO_1_TS, PACKET_UOR_2, PACKET_UOR_2_ID, PACKET_UOR_2_RTP, and PACKET_UOR_2_TS.
Referenced by d_generic_decode().
char* rohc_version | ( | void | ) |
Get the version of the ROHC library.