diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-10-25 06:07:36 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-10-25 06:07:36 +0000 |
commit | 7cc113cc6abbcab5753a1fc7f51612cd5d144607 (patch) | |
tree | 8cbbb23bd5dafd0a83863c152582cff71cbf7f70 | |
parent | 26ab39178bf2eb44b5662faf776b150f96fcd989 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8776 f5534014-38df-0310-8fa8-9805f1628bb7
-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" }, |