Commit Graph

19 Commits

Author SHA1 Message Date
Denis Ovsienko
fe3253b9b8 remove tcpdump's own CVS keywords
Remove lots of $Header's and a few $Id's that all belong to the former
CVS repository of tcpdump itself. These keywords have been frozen since
the migration to git in late 2008.
2014-01-03 00:59:08 +04:00
Michael Richardson
ac910c086e ndo-ize print-ascii: hex_print_with_offset() 2014-01-01 21:31:18 -05:00
Michael Richardson
a97fb2f3ae whitespace changes 2014-01-01 21:31:18 -05:00
Guy Harris
1da88e5c5d Make some routines used outside print-lldp.c static. 2013-08-29 10:49:43 -07:00
Udayakumar
81896b0728 Added support for DCB and EVB TLVs
Added the support for ETS Configuration TLV, ETS Recommendation TLV, PFC Configuration TLV, Application Priority TLV, EVB TLV and CDCP TLV.
2013-08-29 10:12:37 +05:30
Guy Harris
5941b99aef As we're always printing "LLDP, length XXX", don't do it for the system name. 2012-06-30 16:10:40 -07:00
Romain Francoise
a2fe74dd71 LLDP: print packet protocol at all verbosity levels
The LLDP printer doesn't show the packet protocol unless -v is used,
which results in pretty useless output lines where only the timestamp is
present. Make sure we include the default protocol+length output even in
default mode.
2012-06-30 12:42:41 -07:00
Cliff Frey
a71e402b5c Fix LLDP Network Policy bit definitions. 2012-02-23 11:19:48 -08:00
Guy Harris
1ac5009987 Add error checking and support for DCB Exchange protocol (DCBX) version 1.01.
From Kaladhar Musunuru <kaladharm@sourceforge.net>:

Added support for DCB Exchange protocol (DCBX) version 1.01.
http://www.ieee802.org/1/files/public/docs2008/az-wadekar-dcbx-capability-exchange-discovery-protocol-1108-v1.01.pdf

DCBX protocol exchanges control state machine and generic feature state
machine parameters as Organizationally specific TLVs.  The OUI used for
the DCBX TLV 1.01 is 0x001B21.  Following TLVs are decoded:

- Control state
- Priority Groups (PG)
- Priority-based Flow Control (PFC)
- Application Protocol (APP)

From me:

Add a bunch of additional error checking, and sort the main switch
statement by TLV code (and thus by the order in the specification).
Also update/add indications of what standards document what items.
2011-04-28 11:24:12 -07:00
hannes
a7c56c0155 bugfix in the lldp printer, when referencing the key for printing aggregation values 2008-03-20 09:30:56 +00:00
hannes
33808368e6 From Carles Kishimoto <carles.kishimoto@gmail.com>:
add support for the IEEE 802.1 private extensions to the lldp printer
2008-01-09 09:40:47 +00:00
hannes
73b4367162 From Carles Kishimoto <carles.kishimoto@gmail.com>:
bugfix: macphy codepoints in the lldp printer
  misc typos
2007-12-08 09:52:31 +00:00
hannes
353c35e93f from Carles Kishimoto <carles.kishimoto@gmail.com>: add support for the TIA/MED location ids 2007-08-20 12:18:30 +00:00
hannes
707a7ce369 from Carles Kishimoto <carles.kishimoto@gmail.com>: add TIA/MED private extensions to the LLDP printer 2007-08-19 09:14:49 +00:00
hannes
1449434b8a move the IEEE printer to a dedicated function as there will be more private TLV printers to come 2007-08-14 17:09:35 +00:00
hannes
d7d590ddeb from Carles Kishimoto <carles.kishimoto@gmail.com>: add IEEE organisation specific subtype printing to the LLDP printer 2007-08-13 12:55:17 +00:00
hannes
d97155c53f fix a couple of code-style issues in the LLDP printer 2007-08-09 18:43:44 +00:00
hannes
af9219c6d8 add support for all the outstanding LLDP TLVs 2007-08-08 14:39:52 +00:00
hannes
bbb4050969 add basic support for the IEEE Link Discovery Protocol as per 802.1ab 2007-08-03 11:03:19 +00:00