• Main Page
  • Related Pages
  • Data Structures
  • Files
  • File List
  • Globals

format_erf.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of libtrace
00003  *
00004  * Copyright (c) 2007,2008,2009,2010 The University of Waikato, Hamilton, 
00005  * New Zealand.
00006  *
00007  * Authors: Daniel Lawson 
00008  *          Perry Lorier
00009  *          Shane Alcock 
00010  *          
00011  * All rights reserved.
00012  *
00013  * This code has been developed by the University of Waikato WAND 
00014  * research group. For further information please see http://www.wand.net.nz/
00015  *
00016  * libtrace is free software; you can redistribute it and/or modify
00017  * it under the terms of the GNU General Public License as published by
00018  * the Free Software Foundation; either version 2 of the License, or
00019  * (at your option) any later version.
00020  *
00021  * libtrace is distributed in the hope that it will be useful,
00022  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00023  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00024  * GNU General Public License for more details.
00025  *
00026  * You should have received a copy of the GNU General Public License
00027  * along with libtrace; if not, write to the Free Software
00028  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00029  *
00030  * $Id: format_erf.h 1514 2010-02-05 03:26:00Z salcock $
00031  *
00032  */
00033 
00034 #ifndef FORMAT_ERF_H
00035 #define FORMAT_ERF_H
00036 
00037 #include "libtrace.h"
00038 
00055 int erf_get_framing_length(const libtrace_packet_t *packet);
00056 libtrace_linktype_t erf_get_link_type(const libtrace_packet_t *packet);
00057 libtrace_direction_t erf_get_direction(const libtrace_packet_t *packet);
00058 libtrace_direction_t erf_set_direction(libtrace_packet_t *packet, libtrace_direction_t direction);
00059 uint64_t erf_get_erf_timestamp(const libtrace_packet_t *packet);
00060 int erf_get_capture_length(const libtrace_packet_t *packet);
00061 int erf_get_wire_length(const libtrace_packet_t *packet);
00062 size_t erf_set_capture_length(libtrace_packet_t *packet, size_t size);
00063 
00064 #endif

Generated on Mon Oct 8 2012 11:29:09 for WAND Trace processing by  doxygen 1.7.1