Commit Graph

16 Commits

Author SHA1 Message Date
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
Bill Meier 2d1dccfcfc Remove trailing blanks; Also: Altho tabs expanded, use tab-width=8 anyway.
svn path=/trunk/; revision=32587
2010-04-28 16:09:25 +00:00
Stig Bjørlykke c1729024c5 Removed second include <epan/packet.h>.
svn path=/trunk/; revision=32533
2010-04-21 10:15:01 +00:00
Bill Meier 94f28dd8f9 (FWIW) One step towards including stdio.h & stdlib.h only when req'd.
svn path=/trunk/; revision=29568
2009-08-26 19:27:49 +00:00
Bill Meier 65faee6470 Set editor modelines to be consistent between emacs and vi/ex;
Indentation and whitespace cleanup;

svn path=/trunk/; revision=29180
2009-07-23 17:46:09 +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
Stig Bjørlykke 1564b860e4 Remove some warnings.
svn path=/trunk/; revision=28699
2009-06-11 11:52:42 +00:00
Stig Bjørlykke 7a71847e0d Fixed the type for key_len in dissect_key().
svn path=/trunk/; revision=28609
2009-06-02 19:35:45 +00:00
Bill Meier 548e468959 Misc dissector cleanup:
- Make some fcns & vars static
- hf[] blurbs: "" and repeated text --> NULL
- Move proto_register & proto_reg_handoff to end of source
- packet-catapult-dct2000: simplify proto_reg_handoff
- Use consistent indentation

svn path=/trunk/; revision=28488
2009-05-26 16:01:12 +00:00
Stig Bjørlykke 906506f6cf Use proto_tree_add_uint64 for 64 bits values.
svn path=/trunk/; revision=28465
2009-05-24 23:23:06 +00:00
Stig Bjørlykke 905b8d0b2d From Rama Chitta (bug 3467):
Added routines for Memcache Textual Protocol.

svn path=/trunk/; revision=28462
2009-05-24 22:39:07 +00:00
Stig Bjørlykke 26d30411b6 Adjusted my name to use only ASCII characters.
svn path=/trunk/; revision=27733
2009-03-15 21:13:27 +00:00
Bill Meier 6485cd2d62 From Michael Speck: Fix so compiles with VC6
svn path=/trunk/; revision=27620
2009-03-06 15:41:02 +00:00
Bill Meier bd07a900e6 Prefs callback not req'd ...
svn path=/trunk/; revision=27611
2009-03-05 04:12:12 +00:00
Anders Broman 26afda27e0 Change key_len to guint16.
svn path=/trunk/; revision=27599
2009-03-03 22:16:26 +00:00
Stig Bjørlykke dce5b2bc42 Added support for Memcache Binary Protocol.
svn path=/trunk/; revision=27594
2009-03-03 21:57:43 +00:00