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: arphrd.h 1691 2011-02-21 21:01:08Z salcock $ 00031 * 00032 */ 00033 00034 00035 #ifndef ARPHRD_H_ 00036 #define ARPHRD_H_ 00037 00038 /* Defines for various ARPHRD values, if needed */ 00039 00040 #ifndef WIN32 00041 #include <net/if_arp.h> 00042 #endif 00043 00044 #ifndef ARPHRD_ETHER 00045 #define ARPHRD_ETHER 1 /* Ethernet 10/100Mbps. */ 00046 #endif 00047 00048 #ifndef ARPHRD_EETHER 00049 #define ARPHRD_EETHER 2 /* Experimental Ethernet 10/100Mbps. */ 00050 #endif 00051 00052 #ifndef ARPHRD_PPP 00053 #define ARPHRD_PPP 512 00054 #endif 00055 00056 #ifndef ARPHRD_LOOPBACK 00057 #define ARPHRD_LOOPBACK 772 00058 #endif 00059 00060 #ifndef ARPHRD_IEEE80211 00061 #define ARPHRD_IEEE80211 801 00062 #endif 00063 00064 #ifndef ARPHRD_NONE 00065 #define ARPHRD_NONE 0xFFFE 00066 #endif 00067 00068 00069 #endif