X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3b8786edf427763293c28f11a3a644894d574336..1226a40cb01eb295df68f072f43209baac4948cd:/ethertype.h diff --git a/ethertype.h b/ethertype.h index f0fc3509..96d61869 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.23 2004-06-12 16:32:56 hannes Exp $ (LBL) + * @(#) $Header: /tcpdump/master/tcpdump/ethertype.h,v 1.27 2006-10-12 10:26:12 hannes Exp $ (LBL) */ /* @@ -33,6 +33,10 @@ * if all it needs are ETHERTYPE_ values. */ +#ifndef ETHERTYPE_LEN +#define ETHERTYPE_LEN 2 +#endif + #ifndef ETHERTYPE_GRE_ISO #define ETHERTYPE_GRE_ISO 0x00FE /* not really an ethertype only used in GRE */ #endif @@ -105,6 +109,12 @@ #ifndef ETHERTYPE_PPP #define ETHERTYPE_PPP 0x880b #endif +#ifndef ETHERTYPE_MPCP +#define ETHERTYPE_MPCP 0x8808 +#endif +#ifndef ETHERTYPE_SLOW +#define ETHERTYPE_SLOW 0x8809 +#endif #ifndef ETHERTYPE_MPLS #define ETHERTYPE_MPLS 0x8847 #endif @@ -129,6 +139,9 @@ #ifndef ETHERTYPE_VMAN #define ETHERTYPE_VMAN 0x9100 /* Extreme VMAN Protocol */ #endif +#ifndef ETHERTYPE_CFM +#define ETHERTYPE_CFM 0xabcd /* 802.1ag - Ethertype is not yet assigned */ +#endif #ifndef ETHERTYPE_ISO #define ETHERTYPE_ISO 0xfefe /* nonstandard - used in Cisco HDLC encapsulation */ #endif