Commit Graph

15 Commits

Author SHA1 Message Date
Jeff Morriss e11921d192 Replace ip_to_str((tvb_get_ptr(...)) with tvb_ip_to_str().
Replace ip6_to_str((tvb_get_ptr(...)) with tvb_ip6_to_str().

svn path=/trunk/; revision=35540
2011-01-15 03:25:43 +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
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
Bill Meier aa30dcd129 Minor proto_reg_handoff cleanup: use find_dissector when appropriate.
svn path=/trunk/; revision=26308
2008-09-30 14:49:44 +00:00
Bill Meier b52d95d591 #include <emem.h> not req'd
svn path=/trunk/; revision=26091
2008-08-26 01:28:50 +00:00
Jörg Mayer 7bad41d7aa The unknown value (aka flags) can take any value
svn path=/trunk/; revision=25022
2008-04-14 19:34:05 +00:00
Jörg Mayer c3a10dd79c Small fix for heuristic: it missed a tapa packet
svn path=/trunk/; revision=24574
2008-03-06 14:05:22 +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 4b0b2c2894 Fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1437
It is sufficient to make tapa discovery packets a new style dissector,
don't handle them via an additional heuristic dissector.

svn path=/trunk/; revision=21243
2007-03-28 07:03:26 +00:00
Jeff Morriss c833b61b6b Strengthen TAPA's heuristics some:
- check if the tunnel type is known
	- if it's a discover_request, check that the (first) request type
	  is known

svn path=/trunk/; revision=21041
2007-03-17 08:28:20 +00:00
Guy Harris 78b8245bcc "dissect_tapa_static()" is a new-style dissector; register it as such.
svn path=/trunk/; revision=21029
2007-03-14 18:23:19 +00:00
Jörg Mayer e2c6534c5e Improve the heuristic for the tapa discovery classification.
This should fix bug 1437.

svn path=/trunk/; revision=21025
2007-03-14 15:40:44 +00:00
Jörg Mayer 1cbc97b03d Some updates to the tunnel protocol decoding.
Make tapa.discover.x and tapa.tunnel.y more consistent.

svn path=/trunk/; revision=20973
2007-03-04 21:26:47 +00:00
Jörg Mayer 379a3e53ec The beginnings of a TAPA dissector (Trapeze Access Point Access Protocol).
Admittedly not much, so if you have any ideas what the rest means or where
I'm wrong please provide feedback.

As tapa uses udp 5000 and ip protocol 4, I needed to add a hack for the
ip part to properly dispatch betweeen ipip and tapa-tunnel (actually I
was unable to turn the ipip dissector into a heuristic dissector :-)

svn path=/trunk/; revision=20971
2007-03-04 11:48:07 +00:00