aboutsummaryrefslogtreecommitdiffstats
path: root/etypes.h
diff options
context:
space:
mode:
authorhannes <hannes@localhost>1998-12-19 00:12:23 +0000
committerhannes <hannes@localhost>1998-12-19 00:12:23 +0000
commit183c35b0b4861d5ab670b618064e2af4c45be065 (patch)
tree271b08b6660865a0a330802d951cd7d0162d9cdd /etypes.h
parente071c655551c364c4ceafee9cf62698ec69b8758 (diff)
Added "Cisco Discovery Protocol" Hooks
Added Ethernet Loopback Protocol Type to ethertype.c svn path=/trunk/; revision=129
Diffstat (limited to 'etypes.h')
-rw-r--r--etypes.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/etypes.h b/etypes.h
index 37faa9dd16..e5d2ff48dd 100644
--- a/etypes.h
+++ b/etypes.h
@@ -1,7 +1,7 @@
/* etypes.h
* Defines ethernet packet types, similar to tcpdump's ethertype.h
*
- * $Id: etypes.h,v 1.3 1998/09/17 02:37:45 gerald Exp $
+ * $Id: etypes.h,v 1.4 1998/12/19 00:12:20 hannes Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -69,4 +69,13 @@
#ifndef ETHERTYPE_VINES
#define ETHERTYPE_VINES 0xbad
#endif
+
+#ifndef ETHERTYPE_CDP
+#define ETHERTYPE_CDP 0x2000 /* Cisco Discovery Protocol */
+#endif
+
+#ifndef ETHERTYPE_LOOP
+#define ETHERTYPE_LOOP 0x9000 /* used for layer 2 testing (do i see my own frames on the wire) */
+#endif
+
#endif /* etypes.h */