Commit Graph

25 Commits

Author SHA1 Message Date
Denis Ovsienko
853e9dccef OpenFlow 1.3: Recognise 5 more messages types.
Also add new OUIs and experimenter IDs for OFPT_EXPERIMENTER. Update
two tests.
2020-10-02 12:52:48 +01:00
Jeremy Browne
678f764388 Resync SMI list against Wireshark 2018-05-02 12:51:56 +01:00
Guy Harris
fb2479d733 Always include <config.h> rather than "config.h".
This can prevent bizarre failures if, for example, you've done a
configuration in the top-level source directory, leaving behind one
config.h file, and then do an out-of-tree build in another directory,
with different configuration options.  This way, we always pick up the
same config.h, in the build directory.
2018-01-21 12:27:28 -08:00
Francois-Xavier Le Bail
513f782ae1 Use quoted include netdissect-stdinc.h instead of angle-bracketed one 2018-01-21 10:28:15 +01:00
Hannes Gredler
ff8464bffd zero change: update Hannes Gredler's email 2017-07-28 17:44:12 +02:00
Guy Harris
fc6372effb Clean up white space. 2017-01-13 20:17:31 -08:00
Eliot Lear
01e8e1485f Implement IANA OUI and LLDP MUD option
The changes associated with this commit introduce the IANA subtree
for LLDP and its first element, the MUDURL, as documented in
draft-ietf-opsawg-mud.  This is similar to the changes made for
DHCP and DHCPv6.

[updated to use fn_printn]
2016-12-31 08:17:55 +01:00
Francois-Xavier Le Bail
f5fe14663d libnetdissect code must include 'netdissect.h', not 'interface.h'
Moreover:
Remove netdissect.h include in interface.h
Move thiszone declaration in netdissect.h
Update a comment
2015-09-11 13:22:56 +02:00
Francois-Xavier Le Bail
99c91c3aec Rename 'tcpdump-stdinc.h' to 'netdissect-stdinc.h'
Get the full log via: git log --follow netdissect-stdinc.h
2015-09-10 08:50:40 +02:00
Denis Ovsienko
38700c7f24 dismiss NETDISSECT_REWORKED macro
The purpose of this macro was to enable the file-by-file switch to NDO,
after which only tcpdump.c had a use of it and the definitions guarded
by it. Update tcpdump.c not to require them any more and dismiss the
unused definitions.
2015-03-22 10:06:15 +00:00
Denis Ovsienko
94b4c01e1d OpenFlow: add vendor name printing
The new function goes into print-openflow.c as vendor name decoding is
the same in all versions of OpenFlow (although in 1.0 it is "vendor"
and in subsequent versions it is "experimenter"). The mapping is from:

https://rs.opennetworking.org/wiki/display/PUBLIC/ONF+Registry
2014-12-13 18:06:04 +00:00
Guy Harris
5cdf53e257 Define NETDISSECT_REWORKED in a bunch of files, and fix the issues it finds.
The only one it found was that routines in sigsecret.c needed to refer
to ndo->ndo_sigsecret, not just sigsecret.
2014-04-04 00:53:03 -07:00
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
a97fb2f3ae whitespace changes 2014-01-01 21:31:18 -05: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
Kovarththanan Rajaratnam
e544ab094e oui.h/c: mark several structs as const 2010-02-20 08:50:09 +01: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
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
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
guy
ff161bdd9f More OUIs, end the oui_values table with the required {0, NULL} stopper. 2005-04-09 21:49:48 +00:00
guy
26fe2172c4 Pull in some more SMI Network Management Private Enterprise Codes from
Ethereal.
2005-04-09 21:43:49 +00:00
hannes
7a9e0cbeb7 move OUI #defines to the header file for other printer to share 2005-04-06 20:13:13 +00:00
hannes
9c2d2a42b5 move the SNAP OUI values out of the llc printer into
the global oui.c file and make all SNAP printers use it

make the display output of the frame-relay SNAP printer consistent
  to the LLC SNAP printer (= print oui{id,name}, proto-id)
2005-04-06 20:09:07 +00:00
hannes
19b1d874f7 fixed confusion around OUI and SMI values 2004-01-25 09:56:15 +00:00
hannes
54e2050ad8 -rework the radius decoder for a decent multiline output
-add print_vendor_attr() for dissecting vendor proprietary attributes
-add global oui.h oui.c files containing vendor IDs/Name tok2str() table
  developers should use this file for resolving OUIs
2003-11-26 08:49:14 +00:00