summaryrefslogtreecommitdiff
path: root/etypes.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-07-27 06:05:20 +0000
committerGuy Harris <guy@alum.mit.edu>2004-07-27 06:05:20 +0000
commitde555a5b7cf31b3fabcbefc40ad2f28938251ef5 (patch)
tree6aa505003c4fee7b019b4dca9e4922dee0996c42 /etypes.h
parent9ad0faed035ee176d92a38b73c46b716c54843b9 (diff)
downloadwireshark-de555a5b7cf31b3fabcbefc40ad2f28938251ef5.tar.gz
Add the Ethertype for MAC Control frames, as per Clause 31 and Annexes
31A and 31B in the 2000 and later 802.3 specs. (Dissecting them is left as an exercise for the student.) Clean up whitespace a bit. svn path=/trunk/; revision=11536
Diffstat (limited to 'etypes.h')
-rw-r--r--etypes.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/etypes.h b/etypes.h
index 185aace66e..0f9811417b 100644
--- a/etypes.h
+++ b/etypes.h
@@ -168,8 +168,12 @@
#define ETHERTYPE_IPv6 0x86dd
#endif
+#ifndef ETHERTYPE_MAC_CONTROL
+#define ETHERTYPE_MAC_CONTROL 0x8808
+#endif
+
#ifndef ETHERTYPE_SLOW_PROTOCOLS
-#define ETHERTYPE_SLOW_PROTOCOLS 0x8809
+#define ETHERTYPE_SLOW_PROTOCOLS 0x8809
#endif
#ifndef ETHERTYPE_PPP