rohc_traces_internal.c File Reference

ROHC for traces. More...

#include "rohc_traces_internal.h"
#include "rohc_utils.h"
#include <stdio.h>
#include <assert.h>
Include dependency graph for rohc_traces_internal.c:

Functions

void rohc_dump_packet (const rohc_trace_callback2_t trace_cb, 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_callback2_t trace_cb, void *const trace_cb_priv, const rohc_trace_entity_t trace_entity, const rohc_trace_level_t trace_level, const char *const descr, const uint8_t *const packet, const size_t length)
 Dump the content of the given buffer.

Detailed Description

ROHC for traces.

Author:
Julien Bernard <julien.bernard@toulouse.viveris.com>
Audric Schiltknecht <audric.schiltknecht@toulouse.viveris.com>
Didier Barvaux <didier@barvaux.org>

Function Documentation

void rohc_dump_buf ( const rohc_trace_callback2_t  trace_cb,
void *const   trace_cb_priv,
const rohc_trace_entity_t  trace_entity,
const rohc_trace_level_t  trace_level,
const char *const   descr,
const uint8_t *const   packet,
const size_t  length 
)

Dump the content of the given buffer.

Parameters:
trace_cb The 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_callback2_t  trace_cb,
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.

Parameters:
trace_cb The 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

Generated on 4 Jul 2018 for ROHC compression/decompression library by  doxygen 1.6.1