WAND Trace processing  4.0.5
format_erf.h File Reference

Header file defining functions that apply to all libtrace formats that use the ERF record format, e.g. More...

Go to the source code of this file.

Functions

int erf_get_framing_length (const libtrace_packet_t *packet)
 
libtrace_linktype_t erf_get_link_type (const libtrace_packet_t *packet)
 
libtrace_direction_t erf_get_direction (const libtrace_packet_t *packet)
 
libtrace_direction_t erf_set_direction (libtrace_packet_t *packet, libtrace_direction_t direction)
 
uint64_t erf_get_erf_timestamp (const libtrace_packet_t *packet)
 
int erf_get_capture_length (const libtrace_packet_t *packet)
 
int erf_get_wire_length (const libtrace_packet_t *packet)
 
size_t erf_set_capture_length (libtrace_packet_t *packet, size_t size)
 
int erf_is_color_type (uint8_t erf_type)
 

Detailed Description

Header file defining functions that apply to all libtrace formats that use the ERF record format, e.g.

ERF, DAG 2.4, DAG 2.5

Author
Daniel Lawson
Perry Lorier
Shane Alcock
Version
$Id$

Not too much detail required with these functions - this header file exists solely to ensure that we don't have to duplicate the same code across multiple format modules.