Commit Graph

39 Commits

Author SHA1 Message Date
Jörg Mayer d181b588b7 CID 898: Remove a not really used variable
svn path=/trunk/; revision=36560
2011-04-11 17:25:41 +00:00
Jeff Morriss 45f7c05411 Use tvb_ether_to_str()
svn path=/trunk/; revision=35963
2011-02-16 03:30:59 +00:00
Guy Harris a8bc4a0d13 Rename the routines that handle dissector tables with unsigned integer
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys.  (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)

svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Anders Broman 440c3f9261 From Didier Gautheron:
check_col.diff
Remove redundant calls to check_col() if it guards only one columns function with one parameter after the column type.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394

svn path=/trunk/; revision=31519
2010-01-13 20:32:01 +00:00
Kovarththanan Rajaratnam e971354a54 Don't guard col_set_str (COL_PROTOCOL) with col_check
svn path=/trunk/; revision=29340
2009-08-09 06:26:46 +00:00
Stig Bjørlykke 4d8dd01e8e Changed flags_set_truth -> tfs_set_notset
svn path=/trunk/; revision=28989
2009-07-07 14:54:15 +00:00
Stig Bjørlykke 975a16f706 From Kovarththanan Rajaratnam:
Cleanup hf_register_info declaration passed to llc_add_oui(). While there,
change the declaration to an array in order to be consistent with the rest
of packet-*.c files.

svn path=/trunk/; revision=28830
2009-06-24 02:11:11 +00:00
Stig Bjørlykke b228488bc0 From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
    for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
    FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero

svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
Gerald Combs 16dac84760 Remove some no-longer-needed casts.
svn path=/trunk/; revision=28081
2009-04-17 22:07:50 +00:00
Anders Broman e0171e1a79 More size_t casts.
svn path=/trunk/; revision=27880
2009-03-29 13:47:15 +00:00
Anders Broman 90753a169e Apply yet another set of the optimization patches:
When offset parameter is 0 replace tvb_bytes_exist() with the faster tvb_length().
non heuristic dissectors

svn path=/trunk/; revision=23405
2007-11-08 22:40:20 +00:00
Jörg Mayer 2d3b9f1cd5 - Rename EAPSv2 to ESL (EAPS shared link).
- Some small improvements to ESL decoding.

svn path=/trunk/; revision=23342
2007-11-02 20:00:03 +00:00
Jörg Mayer 8625cb7938 Decode role on shared link
svn path=/trunk/; revision=22985
2007-09-26 08:38:43 +00:00
Jörg Mayer ec3d698c56 Beginnings of EAPS shared link packet dissection (EAPSv2)
svn path=/trunk/; revision=22984
2007-09-26 07:10:40 +00:00
Jörg Mayer 999227162e Try to improve dissection of ELSM message (guesswork)
svn path=/trunk/; revision=22904
2007-09-18 16:00:51 +00:00
Jörg Mayer 31937c3b30 Add Recognition of ELRP (Extreme Loop Recognition Protocol) Elements.
I don't know how to decode them though.

Fix some typos.

Change some Element descriptions.

svn path=/trunk/; revision=21478
2007-04-20 09:26:59 +00:00
Jörg Mayer e8d1c6bff7 Detect ELSM as such - meaning of the elements is still unknown.
svn path=/trunk/; revision=21456
2007-04-17 15:17:06 +00:00
Stephen Fisher 8fd3ee0560 Remove almost all of the casts I committed recently and in place of
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it.


svn path=/trunk/; revision=21253
2007-03-28 21:55:11 +00:00
Stephen Fisher ab8f589336 Fix about 100 simple to fix warnings from gcc 4.0 in epan/dissectors
svn path=/trunk/; revision=21233
2007-03-27 22:50: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
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
Jörg Mayer 0f20cf1abb Cosmectical comment updates
svn path=/trunk/; revision=15567
2005-08-27 11:59:10 +00:00
Jörg Mayer c13c561f53 Typo
svn path=/trunk/; revision=15564
2005-08-27 06:10:08 +00:00
Jörg Mayer 4a9a14f2c6 - Add checksum verification
- Add checksum check to colorfilters


svn path=/trunk/; revision=15563
2005-08-27 05:33:50 +00:00
Guy Harris f95233a889 The name in a Display TLV is null-terminated (or padded with a null byte
and extra crud).

Don't bother with length checking on the VLAN name item - if it's
zero-length, so be it.

svn path=/trunk/; revision=15516
2005-08-23 08:49:57 +00:00
Guy Harris a7933c7cc5 Use "format_text()" and "tvb_format_text()" when displaying strings.
(It's not necessary, or desirable, to use them when fetching strings.)

When processing a VLAN TLV, check the length of the TLV, so we don't end
up running past the end of the TLV and getting a negative remaining
length.  Append to the protocol tree item for the TLV, and the Info
column, as we dissect the VLAN ID and VLAN name fields.

svn path=/trunk/; revision=15515
2005-08-23 08:34:19 +00:00
Jörg Mayer 412ae3d09d Length of string == lengt of element - headerlength
svn path=/trunk/; revision=15512
2005-08-22 17:48:17 +00:00
Jörg Mayer 81b9fa64b5 - Make it possible to filter on eap.null, eap.info, eap.unknown etc
- Display "Info" instead of "System" in packet summary
- Make the Null element look like the other elements.
- Small element summary formatting changes

svn path=/trunk/; revision=15505
2005-08-21 21:32:19 +00:00
Jörg Mayer 547efe8ee3 - In the info summary, port# and slot# were exchanged
- In the Display element, the length of the display string
  was 4 too long
- Display the Vlan id in the packet summary, not just "Vlan"
- Remove trailing whitespace


svn path=/trunk/; revision=15502
2005-08-21 19:25:45 +00:00
Jörg Mayer 3150ecb747 As reported by Jim Young:
- The port number was incorrectly displayed
- Be a bit more verbose in the "Info" summary line.
- Display the version including the internal number.


svn path=/trunk/; revision=15389
2005-08-17 12:27:05 +00:00
Jörg Mayer 7f6c6811a1 Comment fixes
svn path=/trunk/; revision=15388
2005-08-17 09:59:47 +00:00
Jörg Mayer 05856f3519 - Small comment updates.
- Add some info about the element to the top level.

svn path=/trunk/; revision=15378
2005-08-16 21:38:18 +00:00
Jörg Mayer 27245a1d1f Properly dissect vlan flags
svn path=/trunk/; revision=15359
2005-08-15 15:50:25 +00:00
Jörg Mayer 7733254253 - Documentation update
- The slot and port numbers printed on the chassis are off by
  one when compared to the transmitted values (reported by
  Jim Young).

svn path=/trunk/; revision=15358
2005-08-15 12:41:08 +00:00
Guy Harris fc9d3d4165 Use gboolean for Booleans.
Use "proto_tree_add_item()" whenever possible.

svn path=/trunk/; revision=15344
2005-08-13 22:35:50 +00:00
Jörg Mayer 8692baec8c Fix dissector bug on last element of ESRP
svn path=/trunk/; revision=15320
2005-08-12 22:55:58 +00:00
Jörg Mayer c2c1614951 - Bug fix: Show ip-addresses with correct endianess.
- Show version properly
- VLAN ID was at a different place than expected.
- Add some documentation infos

svn path=/trunk/; revision=15313
2005-08-12 14:05:38 +00:00
Jörg Mayer 8a75a550de EDS/EAPS/EPRS mostly finished - several fixmes remain
svn path=/trunk/; revision=15306
2005-08-12 09:56:13 +00:00
Jörg Mayer 86b6922604 Beginnings of a EDP, ESRP and EAPS dissector
svn path=/trunk/; revision=15299
2005-08-12 04:06:04 +00:00