summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <itojun>2000-01-17 06:23:19 +0000
committeritojun <itojun>2000-01-17 06:23:19 +0000
commit92d3fd1b47a8c041297a3dfa655f0d548012f61c (patch)
tree60fb511d72e118b64373366f80a21014bdc78fa6
parent28c4e858cec381022cd492507b47bcaba936caa9 (diff)
downloadtcpdump-92d3fd1b47a8c041297a3dfa655f0d548012f61c.tar.gz
add ETHERTYPE_IPV6. reorder.
From: Craig Rodrigues <rodrigc@mediaone.net>
-rw-r--r--ethertype.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/ethertype.h b/ethertype.h
index b73158c7..97fe613a 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.7 1999-11-21 03:42:52 assar Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/ethertype.h,v 1.8 2000-01-17 06:23:19 itojun Exp $ (LBL)
*/
/* Types missing from some systems */
@@ -74,8 +74,8 @@
#ifndef ETHERTYPE_AARP
#define ETHERTYPE_AARP 0x80f3
#endif
-#ifndef ETHERTYPE_LOOPBACK
-#define ETHERTYPE_LOOPBACK 0x9000
+#ifndef ETHERTYPE_IPV6
+#define ETHERTYPE_IPV6 0x86dd
#endif
#ifndef ETHERTYPE_PPPOED
#define ETHERTYPE_PPPOED 0x8863
@@ -83,3 +83,6 @@
#ifndef ETHERTYPE_PPPOES
#define ETHERTYPE_PPPOES 0x8864
#endif
+#ifndef ETHERTYPE_LOOPBACK
+#define ETHERTYPE_LOOPBACK 0x9000
+#endif