X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/dba96957457e18fd3ebc11e6e87aafd01d9fb55f..55ea995e73e351eaf7a480a7b74b3bd75a3f5556:/ethertype.h diff --git a/ethertype.h b/ethertype.h index 3af3b307..6e93be9f 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.22 2004-03-25 03:30:40 mcr Exp $ (LBL) + * @(#) $Header: /tcpdump/master/tcpdump/ethertype.h,v 1.24 2004-10-07 16:04:07 hannes Exp $ (LBL) */ /* @@ -33,6 +33,13 @@ * 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 #ifndef ETHERTYPE_PUP #define ETHERTYPE_PUP 0x0200 /* PUP protocol */ #endif