diff --git a/ethertype.h b/ethertype.h index e34e07b98d..53c8125013 100644 --- a/ethertype.h +++ b/ethertype.h @@ -100,6 +100,9 @@ #ifndef ETHERTYPE_IPV6 #define ETHERTYPE_IPV6 0x86dd #endif +#ifndef ETHERTYPE_SLOW +#define ETHERTYPE_SLOW 0x8809 +#endif #ifndef ETHERTYPE_MPLS #define ETHERTYPE_MPLS 0x8847 #endif @@ -115,6 +118,9 @@ #ifndef ETHERTYPE_8021AD #define ETHERTYPE_8021AD 0x88a8 #endif +#ifndef ETHERTYPE_LLDP +#define ETHERTYPE_LLDP 0x88cc +#endif #ifndef ETHERTYPE_LOOPBACK #define ETHERTYPE_LOOPBACK 0x9000 #endif diff --git a/nametoaddr.c b/nametoaddr.c index 7b33290bf6..9b120bd605 100644 --- a/nametoaddr.c +++ b/nametoaddr.c @@ -571,11 +571,13 @@ PCAP_API_DEF struct eproto eproto_db[] = { { "ip", ETHERTYPE_IP }, { "ip6", ETHERTYPE_IPV6 }, { "lat", ETHERTYPE_LAT }, + { "lldp", ETHERTYPE_LLDP }, { "loopback", ETHERTYPE_LOOPBACK }, { "mopdl", ETHERTYPE_MOPDL }, { "moprc", ETHERTYPE_MOPRC }, { "rarp", ETHERTYPE_REVARP }, { "sca", ETHERTYPE_SCA }, + { "slow", ETHERTYPE_SLOW }, { (char *)0, 0 } };