X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/8c34405525eb22d36c74e1a8ed855fc83864e7a9..38a55e823f75cb6f77088592b27d19dd83f4e12d:/ethertype.h diff --git a/ethertype.h b/ethertype.h index b73158c7..455b0106 100644 --- a/ethertype.h +++ b/ethertype.h @@ -18,7 +18,7 @@ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * @(#) $Header: /tcpdump/master/tcpdump/ethertype.h,v 1.7 1999-11-21 03:42:52 assar Exp $ (LBL) + * @(#) $Header: /tcpdump/master/tcpdump/ethertype.h,v 1.11 2000-06-10 13:49:08 assar Exp $ (LBL) */ /* Types missing from some systems */ @@ -47,9 +47,6 @@ #ifndef ETHERTYPE_SCA #define ETHERTYPE_SCA 0x6007 #endif -#ifndef ETHERTYPE_8021Q -#define ETHERTYPE_8021Q 0x8001 -#endif #ifndef ETHERTYPE_REVARP #define ETHERTYPE_REVARP 0x8035 #endif @@ -74,8 +71,14 @@ #ifndef ETHERTYPE_AARP #define ETHERTYPE_AARP 0x80f3 #endif -#ifndef ETHERTYPE_LOOPBACK -#define ETHERTYPE_LOOPBACK 0x9000 +#ifndef ETHERTYPE_8021Q +#define ETHERTYPE_8021Q 0x8100 +#endif +#ifndef ETHERTYPE_IPX +#define ETHERTYPE_IPX 0x8137 +#endif +#ifndef ETHERTYPE_IPV6 +#define ETHERTYPE_IPV6 0x86dd #endif #ifndef ETHERTYPE_PPPOED #define ETHERTYPE_PPPOED 0x8863 @@ -83,3 +86,6 @@ #ifndef ETHERTYPE_PPPOES #define ETHERTYPE_PPPOES 0x8864 #endif +#ifndef ETHERTYPE_LOOPBACK +#define ETHERTYPE_LOOPBACK 0x9000 +#endif