tcpdump mailing list archives
Minor patch to print some Cisco protocol info
From: sthaug () nethelp no
Date: Mon, 05 Feb 2007 11:07:16 +0100 (CET)
Very minor patch to print basic info about a few more Cisco LAN protocols. See documentation of the PID values at for instance http://www.cisco.com/en/US/products/hw/switches/ps700/products_white_paper09186a00801b49a4.shtml#pre4 Steinar Haug, Nethelp consulting, sthaug () nethelp no ---------------------------------------------------------------------- --- llc.h.orig Thu Dec 1 18:45:45 2005 +++ llc.h Mon Feb 5 10:52:31 2007 @@ -102,6 +102,9 @@ * 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. --- print-llc.c.orig Tue Jan 17 18:43:55 2006 +++ print-llc.c Mon Feb 5 10:54:12 2007 @@ -103,6 +103,9 @@ static const struct tok cisco_values[] = { { PID_CISCO_CDP, "CDP" }, + { PID_CISCO_VTP, "VTP" }, + { PID_CISCO_DTP, "DTP" }, { 0, NULL } }; - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Minor patch to print some Cisco protocol info sthaug (Feb 05)
- Re: Minor patch to print some Cisco protocol info Guy Harris (Feb 07)