ROHC compression/decompression library
|
ROHC for traces. More...
#include "rohc_traces_internal.h"
#include "rohc_buf.h"
#include "rohc_utils.h"
#include <stdio.h>
#include <assert.h>
Functions | |
void | rohc_dump_packet (const rohc_trace_callback_t trace_cb, const rohc_trace_callback2_t trace_cb2, void *const trace_cb_priv, const rohc_trace_entity_t trace_entity, const rohc_trace_level_t trace_level, const char *const descr, const struct rohc_buf packet) |
Dump the content of the given packet. | |
void | rohc_dump_buf (const rohc_trace_callback_t trace_cb, const rohc_trace_callback2_t trace_cb2, void *const trace_cb_priv, 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 the content of the given buffer. |
ROHC for traces.
void rohc_dump_buf | ( | const rohc_trace_callback_t | trace_cb, |
const rohc_trace_callback2_t | trace_cb2, | ||
void *const | trace_cb_priv, | ||
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 the content of the given buffer.
trace_cb | The old function to log traces |
trace_cb2 | The new function to log traces |
trace_cb_priv | An optional private context, may be NULL |
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 |
void rohc_dump_packet | ( | const rohc_trace_callback_t | trace_cb, |
const rohc_trace_callback2_t | trace_cb2, | ||
void *const | trace_cb_priv, | ||
const rohc_trace_entity_t | trace_entity, | ||
const rohc_trace_level_t | trace_level, | ||
const char *const | descr, | ||
const struct rohc_buf | packet | ||
) |
Dump the content of the given packet.
trace_cb | The old function to log traces |
trace_cb2 | The new function to log traces |
trace_cb_priv | An optional private context, may be NULL |
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 |