]> The Tcpdump Group git mirrors - tcpdump/commitdiff
From Steinar Haug: print basic info about a few more Cisco LAN
authorguy <guy>
Thu, 8 Feb 2007 07:07:51 +0000 (07:07 +0000)
committerguy <guy>
Thu, 8 Feb 2007 07:07:51 +0000 (07:07 +0000)
protocols.

llc.h
print-llc.c

diff --git a/llc.h b/llc.h
index 688fed74147b10ad7850070841ac7ca7e5ac8c49..ffb38460344a4c9ed2eb054d0cd2358f07250956 100644 (file)
--- 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.17.2.3 2005-12-01 17:48:25 hannes Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/llc.h,v 1.17.2.4 2007-02-08 07:07:51 guy Exp $ (LBL)
  */
 
 /*
  * PIDs for use with OUI_CISCO.
  */
 #define        PID_CISCO_CDP           0x2000  /* Cisco Discovery Protocol */
+#define        PID_CISCO_VTP           0x2003  /* Cisco VLAN Trunk Protocol */
+#define        PID_CISCO_DTP           0x2004  /* Cisco Dynamic Trunk Protocol */
 
 /*
  * PIDs for use with OUI_RFC2684.
index 3df4ba879d6dd8cc57b9a221a3795c14e8be7e8e..5186dd1ad39fab31f722b77791835ad131d4833e 100644 (file)
@@ -24,7 +24,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-llc.c,v 1.61.2.9 2006-01-17 17:44:46 hannes Exp $";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-llc.c,v 1.61.2.10 2007-02-08 07:07:51 guy Exp $";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -103,6 +103,8 @@ static const struct tok llc_supervisory_values[] = {
 
 static const struct tok cisco_values[] = { 
        { PID_CISCO_CDP, "CDP" },
+       { PID_CISCO_VTP, "VTP" },
+       { PID_CISCO_DTP, "DTP" },
        { 0,             NULL }
 };