Commit Graph

32 Commits

Author SHA1 Message Date
Ulf Lamping 3f533b4038 add some display details
svn path=/trunk/; revision=27404
2009-02-09 19:39:43 +00:00
Bill Meier 33c99f44fd Fix typos and spelling (mostly in text strings)
svn path=/trunk/; revision=27028
2008-12-17 00:08:38 +00:00
Bill Meier 77b81b391b #include <prefs.h> not req'd
svn path=/trunk/; revision=26089
2008-08-25 22:06:20 +00:00
Guy Harris 5a43799a17 Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines.  GLib might use different
modifiers for 64-bit quantities than the platform's C library does.

svn path=/trunk/; revision=21990
2007-05-29 18:52:42 +00:00
Ulf Lamping 499624d0ee use the official PROFINET names (only comments changed)
svn path=/trunk/; revision=20962
2007-03-03 09:30:15 +00:00
Gerald Combs 7f88f16077 Bugs 1095 and 1096 in the Ethereal bug database both pointed out that we
were looking at the wrong bits when displaying the port and protocol VLAN
flags.

svn path=/trunk/; revision=20960
2007-03-02 23:44:54 +00:00
Ulf Lamping 36e0b70a68 append period values to the PROFINET PTCP status
svn path=/trunk/; revision=20384
2007-01-10 21:46:50 +00:00
Ulf Lamping f611704fd2 fix output of PROFINET specific MAC addresses - it simply displayed garbage
svn path=/trunk/; revision=20044
2006-12-05 08:07:00 +00:00
Ulf Lamping 72d82b186c add dissection for PROFINET "PTCP Status"
svn path=/trunk/; revision=19922
2006-11-17 22:38:34 +00:00
Ulf Lamping aca8366250 add dissection of PROFINET "MRP Port Status"
svn path=/trunk/; revision=19876
2006-11-11 01:29:43 +00:00
Ulf Lamping efb558955d add another PROFINET specific subtype (5:CHASSIS_MAC)
svn path=/trunk/; revision=18549
2006-06-22 19:19:41 +00:00
Ulf Lamping 53a3dd33e7 update PROFINET port2/3 status text
svn path=/trunk/; revision=18529
2006-06-21 07:30:11 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Anders Broman 8d61e9b902 Mark the value_strings static.
svn path=/trunk/; revision=17718
2006-03-24 07:10:22 +00:00
Ulf Lamping e43c4e50c9 add another comment what's currently missing in the PROFINET specific parts
svn path=/trunk/; revision=17713
2006-03-24 02:20:37 +00:00
Guy Harris b0a28a8080 Squelch a compiler warning.
svn path=/trunk/; revision=17115
2006-01-28 23:27:17 +00:00
Guy Harris 54ac396346 Expand the set of #defines in afn.h (and give a URL for the *current*
list of address families) and the list of strings in afn.c, and use them
in packet-lldp.c instead of having it define its own.

svn path=/trunk/; revision=17114
2006-01-28 23:18:19 +00:00
Anders Broman d31de2bdb4 Bugfix: network address not dissected correctly
svn path=/trunk/; revision=17084
2006-01-23 22:13:08 +00:00
Anders Broman 6f23144e46 From Jaap Keuter:
- Editcap 
Mikko Tiihonen filed bug 379 including a patch for editcap. This wasn't picked up so far. I've ported the patch to svn 16820 and included a documentation patch.

-packet-ieee80211.c
Radek Vokal of RedHat filed a bug found by Vladimir Kondratiev of Intel in the 802.11 dissector. Radek provided a sample capture and Vladimir a oneliner patch. I've ported the patch to svn 16820 and tested it against the provided capture. Works well.


-From Kan Sasaki
A patch for packet-ospf.c is attached:
 - Fix the handling of the DN-bit of options field.
 - Add a new function dissect_ospf_bitfield() to dissect a bitfield
   such as options, flags. The following functions are merged by
   using this function.
     - dissect_ospf_lls_extended_options()
     - dissect_ospf_dbd()


     - dissect_ospf_options()
     - dissect_ospf_v3_prefix_options()
 - dissect the flags and prefix-options bitfield.

- lldp Bugfix Bug 596  LLDP TIA Network Policy Decode is not correct 

- Camel make it possible to dissect based on OID.

svn path=/trunk/; revision=16822
2005-12-16 16:37:03 +00:00
Ulf Lamping a78d2fbc63 (on behalf of the PROFIBUS Nutzerorganisation e.V. Deutschland):
add some PROFINET specific LLDP extensions

svn path=/trunk/; revision=16488
2005-11-12 10:09:02 +00:00
Gerald Combs 7ce6f2c971 IPv6 addresses are 16 bytes.
svn path=/trunk/; revision=16243
2005-10-16 03:57:49 +00:00
Ronnie Sahlberg 26828b0876 remove some compiler warnings
svn path=/trunk/; revision=15975
2005-09-23 10:39:58 +00:00
Guy Harris 0a93fcdcd3 Give it an RCS ID.
svn path=/trunk/; revision=15909
2005-09-20 22:49:54 +00:00
Ulf Lamping dce67e2bbe fix: packet-lldp.c(2071) : warning C4761: integral size mismatch in argument; conversion supplied
svn path=/trunk/; revision=15893
2005-09-20 09:02:38 +00:00
Jörg Mayer 7f48c561d2 Jim Young: LLDP improvements
svn path=/trunk/; revision=15879
2005-09-19 21:24:07 +00:00
Guy Harris b7b80d94be Move a pile of protocol-related headers from the top-level source
directory to the epan directory.  Some of them should perhaps ultimately
be moved to epan/dissectors, if they pertain only to stuff exported by a
particular dissector.

Fix Gerald's e-mail address in files we're moving.

svn path=/trunk/; revision=15844
2005-09-17 00:02:31 +00:00
Guy Harris 5502846e7b Fix a type.
svn path=/trunk/; revision=15832
2005-09-16 07:50:02 +00:00
Guy Harris ed1d188018 Move OUIs from LLDP dissector to oui.h.
Get rid of remaining sprintf'ing into on-the-stack buffers.

Note where some items came from.

svn path=/trunk/; revision=15815
2005-09-15 08:57:51 +00:00
Guy Harris 11a05a318a Rename TLV_INFO_MASK to TLV_INFO_LEN_MASK, to match TLV_TYPE_MASK.
Use "tvb_format_stringzpad()" rather than "tvb_format_text()" on
strings, as some of them are null-padded.  (XXX - are they null-padded
or null-terminated?)

Clean up the TLV length checks, and do many more such checks.

svn path=/trunk/; revision=15809
2005-09-15 05:22:20 +00:00
Guy Harris e06f0436a4 We already define ETHERTYPE_LLDP in "etypes.h" - use that, don't define
our own.

Get rid of MAC_to_str() - ether_to_str() suffices.

Don't copy to on-the-stack fixed-size string buffers, just save the
results of various formatting calls as pointers.

Use tvb_format_text() to get displayable versions of text strings.

Use tvb_get_ipv4() and tvb_get_ipv6().

Don't put an item into the protocol tree as text and then put in a
hidden item that, if unhidden, would display the same or almost exactly
the same; just put the item into the tree unhidden.

svn path=/trunk/; revision=15808
2005-09-15 04:08:53 +00:00
Guy Harris eece5cf199 Properly handle 64-bit integer constants (they don't happen by magic,
and the stuff you have to do is compiler-dependent, so use
G_GINT64_CONSTANT()).

Properly handle formatting 64-bit quantities (they don't format
correctly by magic, and the stuff you have to do is compiler-dependent,
so use PRI[duoxX]64).

Don't copy the result of tvb_bytes_to_str() to a string buffer and then
only use it as an argument to a "%s" - just use the result directly. 

Don't copy constant strings to a buffer - just use the strings directly.

Fetch 64-bit integral quantities with tvb_get_ntoh64(); they're
presumably in a standard byte order, which is probably big-endian for
Internet-family protocols, and using tvb_memcpy() is *guaranteed* to be
wrong on some platforms.

Fix up a format string.

Fix up indentation a bit.

svn path=/trunk/; revision=15807
2005-09-15 03:09:40 +00:00
Anders Broman 8da9371eb2 From Brian Bogora:
Our company (Mitel) has developed an LLDP-MED plug-in for Ethereal.

svn path=/trunk/; revision=15800
2005-09-14 19:06:54 +00:00