ROHC compression/decompression library
|
ROHC for traces. More...
Functions | |
void | rohc_dump_packet (const rohc_trace_callback_t trace_cb, const rohc_trace_entity_t trace_entity, const rohc_trace_level_t trace_level, const char *const descr, const unsigned char *const packet, const size_t length) |
Dump given packet content. |
ROHC for traces.
void rohc_dump_packet | ( | const rohc_trace_callback_t | trace_cb, |
const rohc_trace_entity_t | trace_entity, | ||
const rohc_trace_level_t | trace_level, | ||
const char *const | descr, | ||
const unsigned char *const | packet, | ||
const size_t | length | ||
) |
Dump given packet content.
trace_cb | The function to log traces |
trace_entity | The entity that emits the traces |
trace_level | The priority level for the trace |
descr | The description of the packet to dump |
packet | The packet to dump |
length | The length (in bytes) of the packet to dump |
References __rohc_print, ROHC_PROFILE_GENERAL, and ROHC_TRACE_DEBUG.
Referenced by rohc_compress2(), and rohc_decompress().