summaryrefslogtreecommitdiff
path: root/ethertype.h
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2014-05-05 11:02:52 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2014-05-05 11:02:52 +0200
commit37117d76c0e5bdb3194c2fec8d880c5f570e9823 (patch)
tree42c3581c5750e7b1c005de82b7ba6a7422fbce34 /ethertype.h
parent27991a20a82e8dbdfff5cfcf7678ac751c641384 (diff)
downloadtcpdump-37117d76c0e5bdb3194c2fec8d880c5f570e9823.tar.gz
print-ether: print 'ethertype IEEE1905.1' instead of 'ethertype Unknown'
not a full decoder, uses default print reference: http://standards.ieee.org/develop/regauth/ethertype/eth.txt
Diffstat (limited to 'ethertype.h')
-rw-r--r--ethertype.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ethertype.h b/ethertype.h
index 0388c593..80399173 100644
--- a/ethertype.h
+++ b/ethertype.h
@@ -181,6 +181,9 @@
#ifndef ETHERTYPE_CFM
#define ETHERTYPE_CFM 0x8902 /* 802.1ag */
#endif
+#ifndef ETHERTYPE_IEEE1905_1
+#define ETHERTYPE_IEEE1905_1 0x893a /* IEEE 1905.1 */
+#endif
#ifndef ETHERTYPE_ISO
#define ETHERTYPE_ISO 0xfefe /* nonstandard - used in Cisco HDLC encapsulation */
#endif