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

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 1725 2011-09-14 23:58:07Z 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 #ifndef TYPE_LEGACY
00056 #define TYPE_LEGACY             0       
00057 #endif
00058 
00059 #ifndef TYPE_HDLC_POS
00060 #define TYPE_HDLC_POS           1       
00061 #endif
00062 
00063 #ifndef TYPE_ETH
00064 #define TYPE_ETH                2       
00065 #endif
00066 
00067 #ifndef TYPE_ATM
00068 #define TYPE_ATM                3       
00069 #endif
00070 
00071 #ifndef TYPE_AAL5
00072 #define TYPE_AAL5               4       
00073 #endif
00074 
00075 #ifndef TYPE_MC_HDLC
00076 #define TYPE_MC_HDLC            5       
00077 #endif
00078 
00079 #ifndef TYPE_MC_RAW
00080 #define TYPE_MC_RAW             6       
00081 #endif
00082 
00083 #ifndef TYPE_MC_ATM
00084 #define TYPE_MC_ATM             7       
00085 #endif
00086 
00087 #ifndef TYPE_MC_RAW_CHANNEL
00088 #define TYPE_MC_RAW_CHANNEL     8       
00089 #endif
00090 
00091 #ifndef TYPE_MC_AAL5
00092 #define TYPE_MC_AAL5            9       
00093 #endif
00094 
00097 #ifndef TYPE_COLOR_HDLC_POS
00098 #define TYPE_COLOR_HDLC_POS     10      
00099 #endif
00100 
00102 #ifndef TYPE_COLOR_ETH
00103 #define TYPE_COLOR_ETH          11
00104 #endif
00105 
00107 #ifndef TYPE_MC_AAL2
00108 #define TYPE_MC_AAL2            12
00109 #endif
00110 
00112 #ifndef TYPE_IP_COUNTER
00113 #define TYPE_IP_COUNTER         13
00114 #endif
00115 
00117 #ifndef TYPE_TCP_FLOW_COUNTER
00118 #define TYPE_TCP_FLOW_COUNTER   14
00119 #endif
00120 
00122 #ifndef TYPE_DSM_COLOR_HDLC_POS
00123 #define TYPE_DSM_COLOR_HDLC_POS 15
00124 #endif
00125 
00127 #ifndef TYPE_DSM_COLOR_ETH
00128 #define TYPE_DSM_COLOR_ETH      16
00129 #endif
00130 
00133 #ifndef TYPE_COLOR_MC_HDLC_POS
00134 #define TYPE_COLOR_MC_HDLC_POS  17
00135 #endif
00136 
00138 #ifndef TYPE_AAL2
00139 #define TYPE_AAL2               18
00140 #endif
00141 
00143 #ifndef TYPE_COLOR_HASH_POS
00144 #define TYPE_COLOR_HASH_POS     19
00145 #endif
00146 
00148 #ifndef TYPE_COLOR_HASH_ETH
00149 #define TYPE_COLOR_HASH_ETH     20
00150 #endif
00151 
00153 #ifndef TYPE_INFINIBAND
00154 #define TYPE_INFINIBAND         21
00155 #endif
00156 
00158 #ifndef TYPE_IPV4
00159 #define TYPE_IPV4               22
00160 #endif
00161 
00163 #ifndef TYPE_IPV6
00164 #define TYPE_IPV6               23
00165 #endif
00166 
00168 #ifndef TYPE_RAW_LINK
00169 #define TYPE_RAW_LINK           24
00170 #endif
00171 
00173 #ifndef TYPE_PAD
00174 #define TYPE_PAD                48
00175 #endif
00176 
00177 
00178 #endif /* _ERFTYPES_H_ */

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