summaryrefslogtreecommitdiff
path: root/llc.h
diff options
context:
space:
mode:
authorfenner <fenner>2001-05-10 02:57:57 +0000
committerfenner <fenner>2001-05-10 02:57:57 +0000
commita62449802998186754f0b96088e7d306a8c7dc6a (patch)
tree927f36e41c5d4227201b50d1f52f5643e6fb2a09 /llc.h
parent7babdd8b45762f965a91b8372bb6863c05fe1b5f (diff)
downloadtcpdump-a62449802998186754f0b96088e7d306a8c7dc6a.tar.gz
Demux SNAP packets all in one place, unifying CDP, SNAP-encapsulated
ethernet, and Appletalk dispatching.
Diffstat (limited to 'llc.h')
-rw-r--r--llc.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/llc.h b/llc.h
index 5abecbd9..1981cbe9 100644
--- a/llc.h
+++ b/llc.h
@@ -18,7 +18,7 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /tcpdump/master/tcpdump/llc.h,v 1.11 2001-05-09 01:08:47 fenner Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/llc.h,v 1.12 2001-05-10 02:57:57 fenner Exp $ (LBL)
*/
/*
@@ -51,8 +51,8 @@ struct llc {
#define llcui ctl.snap.snap_ui
#define llcpi ctl.snap.snap_pi
-#define orgcode ctl.snap_ether.snap_orgcode
-#define ethertype ctl.snap_ether.snap_ethertype
+#define llc_orgcode ctl.snap_ether.snap_orgcode
+#define llc_ethertype ctl.snap_ether.snap_ethertype
#define llcis ctl.is_ctl
#define llcu ctl.u_ctl
@@ -124,3 +124,7 @@ struct llc {
#ifndef LLCSAP_ISONS
#define LLCSAP_ISONS 0xfe
#endif
+
+#define OUI_CISCO 0x00000c
+#define ETHERTYPE_CISCO_CDP 0x2000 /* Cisco Discovery Protocol */
+#define OUI_APPLETALK 0x080007