X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/f60a1bd8cb38cbd37ee6d4f4bb00618af69846d5..b9e57389ee1b82be99bfaa1a140cffbcbe8c2526:/ethertype.h diff --git a/ethertype.h b/ethertype.h index d3c9a53f..a00d82a3 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.18 2002-10-03 16:00:33 hannes Exp $ (LBL) + * @(#) $Header: /tcpdump/master/tcpdump/ethertype.h,v 1.20 2003-07-01 19:10:26 guy Exp $ (LBL) */ /* @@ -69,9 +69,6 @@ #ifndef ETHERTYPE_SCA #define ETHERTYPE_SCA 0x6007 #endif -#ifndef ETHERTYPE_REVARP -#define ETHERTYPE_REVARP 0x8035 -#endif #ifndef ETHERTYPE_LANBRIDGE #define ETHERTYPE_LANBRIDGE 0x8038 #endif @@ -120,15 +117,11 @@ #ifndef ETHERTYPE_LOOPBACK #define ETHERTYPE_LOOPBACK 0x9000 #endif +#ifndef ETHERTYPE_VMAN +#define ETHERTYPE_VMAN 0x9100 /* Extreme VMAN Protocol */ +#endif #ifndef ETHERTYPE_ISO #define ETHERTYPE_ISO 0xfefe /* nonstandard - used in Cisco HDLC encapsulation */ #endif -/* FIXME complete the proto-id to string mapping */ -static const struct tok ethertype_values[] = { - { ETHERTYPE_IP, "IPv4" }, - { ETHERTYPE_MPLS, "MPLS unicast" }, - { ETHERTYPE_MPLS_MULTI, "MPLS multicast" }, - { ETHERTYPE_IPV6, "IPv6" }, - { 0, NULL} -}; +extern const struct tok ethertype_values[];