erftypes.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: erftypes.h 1507 2010-02-03 02:12:57Z salcock $
00031  *
00032  */
00033 
00034 #ifndef _ERFTYPES_H_
00035 #define _ERFTYPES_H_
00036 
00048 /* GPP record type defines - these can indicate the header that immediately 
00049  * follows the ERF header and/or an adjustment to the layout of the ERF header
00050  * itself, e.g. due to the use of Coloring. 
00051  *
00052  * NOTE: "Color" refers to the concept of marking packets based on matching
00053  * a particular filter or classification */
00054 
00055 #define TYPE_LEGACY             0       
00056 #define TYPE_HDLC_POS           1       
00057 #define TYPE_ETH                2       
00058 #define TYPE_ATM                3       
00059 #define TYPE_AAL5               4       
00060 #define TYPE_MC_HDLC            5       
00061 #define TYPE_MC_RAW             6       
00062 #define TYPE_MC_ATM             7       
00063 #define TYPE_MC_RAW_CHANNEL     8       
00064 #define TYPE_MC_AAL5            9       
00068 #define TYPE_COLOR_HDLC_POS     10      
00069 
00071 #define TYPE_COLOR_ETH          11
00072 
00074 #define TYPE_MC_AAL2            12
00075 
00077 #define TYPE_IP_COUNTER         13
00078 
00080 #define TYPE_TCP_FLOW_COUNTER   14
00081 
00083 #define TYPE_DSM_COLOR_HDLC_POS 15
00084 
00086 #define TYPE_DSM_COLOR_ETH      16
00087 
00090 #define TYPE_COLOR_MC_HDLC_POS  17
00091 
00093 #define TYPE_AAL2               18
00094 
00096 #define TYPE_COLOR_HASH_POS     19
00097 
00099 #define TYPE_COLOR_HASH_ETH     20
00100 
00102 #define TYPE_INFINIBAND         21
00103 
00105 #define TYPE_IPV4               22
00106 
00108 #define TYPE_IPV6               23
00109 
00111 #define TYPE_RAW_LINK           24
00112 
00114 #define TYPE_PAD                48
00115 #endif

Generated on Fri Jul 1 09:50:24 2011 for WAND Trace processing by  doxygen 1.5.1