diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-10-25 06:07:36 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-10-25 06:07:36 +0000 |
commit | 58191e26784d3cd7447d08e2047adb8d69b5a30a (patch) | |
tree | 8cbbb23bd5dafd0a83863c152582cff71cbf7f70 /packet-cdp.c | |
parent | dde909b9b0866295189e4957100afde11a49cec4 (diff) |
Update comments to give a URL that defines some additional CDP type
values, and to use the names from the URL and to refer to it.
svn path=/trunk/; revision=8776
Diffstat (limited to 'packet-cdp.c')
-rw-r--r-- | packet-cdp.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/packet-cdp.c b/packet-cdp.c index 4414ed6694..c93505f9e3 100644 --- a/packet-cdp.c +++ b/packet-cdp.c @@ -2,7 +2,7 @@ * Routines for the disassembly of the "Cisco Discovery Protocol" * (c) Copyright Hannes R. Boehm <hannes@boehm.org> * - * $Id: packet-cdp.c,v 1.49 2002/08/28 21:00:08 jmayer Exp $ + * $Id: packet-cdp.c,v 1.50 2003/10/25 06:07:36 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -39,6 +39,12 @@ * http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/frames.htm * * for some information on CDP. + * + * See + * + * http://www.cisco.com/en/US/products/hw/switches/ps663/products_tech_note09186a0080094713.shtml + * + * for some more information on CDP version 2. */ /* Offsets in TLV structure. */ @@ -75,9 +81,9 @@ add_multi_line_string_to_tree(proto_tree *tree, tvbuff_t *tvb, gint start, #define TYPE_PLATFORM 0x0006 #define TYPE_IP_PREFIX 0x0007 -#define TYPE_VTP_MGMT_DOMAIN 0x0009 /* Guessed, from tcpdump */ -#define TYPE_NATIVE_VLAN 0x000a /* Guessed, from tcpdump */ -#define TYPE_DUPLEX 0x000b /* Guessed, from tcpdump */ +#define TYPE_VTP_MGMT_DOMAIN 0x0009 /* VTP Domain, CTPv2 - see second URL */ +#define TYPE_NATIVE_VLAN 0x000a /* Native VLAN, CTPv2 - see second URL */ +#define TYPE_DUPLEX 0x000b /* Full/Half Duplex - see second URL */ static const value_string type_vals[] = { { TYPE_DEVICE_ID, "Device ID" }, |