aboutsummaryrefslogtreecommitdiffstats
path: root/epan/etypes.h
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2013-08-07 22:52:43 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2013-08-07 22:52:43 +0000
commita018f63bca85ab319803ec0cefbb9b59702c1777 (patch)
tree48adf2c12320978c3fc74062f92cf649d69c7f70 /epan/etypes.h
parentc44883cb1aa0f9dcdbd681d31894941dc2ea71b1 (diff)
From Vaibhav Katkade via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9011 :
Add support for the Cisco MetaData (0x8909) ethertype. From me: Don't try to register the "eth.type" abbreviation; use "cmd.type" instead. Add SVN id. Clean up trailing white space and fix up some indentation. Don't declare a variable static that need not be. svn path=/trunk/; revision=51198
Diffstat (limited to 'epan/etypes.h')
-rw-r--r--epan/etypes.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/epan/etypes.h b/epan/etypes.h
index c7cc50a378..1d937f777c 100644
--- a/epan/etypes.h
+++ b/epan/etypes.h
@@ -34,7 +34,7 @@
*/
#define IEEE_802_3_MAX_LEN 1500
-/*
+/*
* Minimum length of an Ethernet II frame; Ethernet type/length values
* greater than or equal to it are types.
*/
@@ -487,6 +487,10 @@
#define ETHERTYPE_FCOE 0x8906 /* Fibre Channel over Ethernet */
#endif
+#ifndef ETHERTYPE_CMD
+#define ETHERTYPE_CMD 0x8909 /* Cisco Systems Inc - Cisco MetaData */
+#endif
+
#ifndef ETHERTYPE_IEEE80211_DATA_ENCAP
#define ETHERTYPE_IEEE80211_DATA_ENCAP 0x890d /* IEEE 802.11 data encapsulation */
#endif