aboutsummaryrefslogtreecommitdiffstats
path: root/etypes.h
diff options
context:
space:
mode:
authorhannes <hannes@f5534014-38df-0310-8fa8-9805f1628bb7>1998-12-19 00:12:23 +0000
committerhannes <hannes@f5534014-38df-0310-8fa8-9805f1628bb7>1998-12-19 00:12:23 +0000
commitc1e594ae7974760d14f5fe00f2163f170e507542 (patch)
tree271b08b6660865a0a330802d951cd7d0162d9cdd /etypes.h
parent1ddb4c7c35fb90dd2fe6c7381da61b58feae4318 (diff)
Added "Cisco Discovery Protocol" Hooks
Added Ethernet Loopback Protocol Type to ethertype.c git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@129 f5534014-38df-0310-8fa8-9805f1628bb7
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 */