ethertype.h revision 53146
1/* 2 * Copyright (c) 1993, 1994, 1996 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that: (1) source code distributions 7 * retain the above copyright notice and this paragraph in its entirety, (2) 8 * distributions including binary code include the above copyright notice and 9 * this paragraph in its entirety in the documentation or other materials 10 * provided with the distribution, and (3) all advertising materials mentioning 11 * features or use of this software display the following acknowledgement: 12 * ``This product includes software developed by the University of California, 13 * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of 14 * the University nor the names of its contributors may be used to endorse 15 * or promote products derived from this software without specific prior 16 * written permission. 17 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 18 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 20 * 21 * @(#) $Header: ethertype.h,v 1.6 96/07/14 18:21:49 leres Exp $ (LBL) 22 * $FreeBSD: head/contrib/tcpdump/ethertype.h 53146 1999-11-14 11:28:11Z brian $ 23 */ 24 25/* Types missing from some systems */ 26 27#ifndef ETHERTYPE_NS 28#define ETHERTYPE_NS 0x0600 29#endif 30#ifndef ETHERTYPE_SPRITE 31#define ETHERTYPE_SPRITE 0x0500 32#endif 33#ifndef ETHERTYPE_TRAIL 34#define ETHERTYPE_TRAIL 0x1000 35#endif 36#ifndef ETHERTYPE_MOPDL 37#define ETHERTYPE_MOPDL 0x6001 38#endif 39#ifndef ETHERTYPE_MOPRC 40#define ETHERTYPE_MOPRC 0x6002 41#endif 42#ifndef ETHERTYPE_DN 43#define ETHERTYPE_DN 0x6003 44#endif 45#ifndef ETHERTYPE_LAT 46#define ETHERTYPE_LAT 0x6004 47#endif 48#ifndef ETHERTYPE_SCA 49#define ETHERTYPE_SCA 0x6007 50#endif 51#ifndef ETHERTYPE_REVARP 52#define ETHERTYPE_REVARP 0x8035 53#endif 54#ifndef ETHERTYPE_LANBRIDGE 55#define ETHERTYPE_LANBRIDGE 0x8038 56#endif 57#ifndef ETHERTYPE_DECDNS 58#define ETHERTYPE_DECDNS 0x803c 59#endif 60#ifndef ETHERTYPE_DECDTS 61#define ETHERTYPE_DECDTS 0x803e 62#endif 63#ifndef ETHERTYPE_VEXP 64#define ETHERTYPE_VEXP 0x805b 65#endif 66#ifndef ETHERTYPE_VPROD 67#define ETHERTYPE_VPROD 0x805c 68#endif 69#ifndef ETHERTYPE_ATALK 70#define ETHERTYPE_ATALK 0x809b 71#endif 72#ifndef ETHERTYPE_AARP 73#define ETHERTYPE_AARP 0x80f3 74#endif 75#ifndef ETHERTYPE_IPX 76#define ETHERTYPE_IPX 0x8137 77#endif 78#ifndef ETHERTYPE_PPPOE_DISC 79#define ETHERTYPE_PPPOE_DISC 0x8863 80#endif 81#ifndef ETHERTYPE_PPPOE_SESS 82#define ETHERTYPE_PPPOE_SESS 0x8864 83#endif 84#ifndef ETHERTYPE_LOOPBACK 85#define ETHERTYPE_LOOPBACK 0x9000 86#endif 87