Bill Meier
0ad98563a2
From didier gautheron: remove redundant or use faster col_xxx functions
...
- when the text parameter is constant col_add_str() and col_set_str() are equivalent but col_set_str() is faster.
- same for replace col_append_fstr and col_append_str
- remove col_clear() when it's redundant:
+ before a col_set/col_add if the dissector can't throw an exception.
- replace col_append() after a col_clear() with faster col_add... or col_set
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9344
svn path=/trunk/; revision=52948
2013-10-29 14:09:20 +00:00
Bill Meier
2ac134b3c5
whitespace fixes; mostly: remove trailing blanks
...
svn path=/trunk/; revision=52591
2013-10-13 19:56:52 +00:00
Pascal Quantin
a0c53ffaa1
emem -> wmem conversion:
...
- ep_tvb_get_bits() -> wmem_packet_tvb_get_bits()
- tvb_g_memdup()/ep_tvb_memdup() -> tvb_memdup()
- tvb_fake_unicode()/tvb_get_ephemeral_faked_unicode() -> tvb_get_faked_unicode()
- tvb_get_g_string()/tvb_get_ephemeral_string()/tvb_get_seasonal_string() -> tvb_get_string()
- tvb_get_g_unicode_string()/tvb_get_ephemeral_unicode_string() -> tvb_get_unicode_string()
- tvb_get_ephemeral_string_enc() -> tvb_get_string_enc()
- update docs accordingly
svn path=/trunk/; revision=52172
2013-09-22 15:50:55 +00:00
Michael Mann
9e3f9b449f
expert_add_info_format_text -> expert_add_info_format
...
svn path=/trunk/; revision=51852
2013-09-09 00:44:09 +00:00
Michael Mann
5bc22a25df
Batch of filterable expert infos.
...
svn path=/trunk/; revision=49584
2013-05-26 03:29:07 +00:00
Evan Huus
59851d0ab7
From Sebastiano Di Paola via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8577
...
The length field for HPFEEDS is 4 bytes, so actually get the whole
thing from the tvb.
svn path=/trunk/; revision=48832
2013-04-12 16:27:20 +00:00
Evan Huus
0a26433321
From Sebastiano Di Paola via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8461
...
Enhancements for the Honeypot Feeds dissector.
From me: misc. cleanup, modelines, etc.
svn path=/trunk/; revision=48698
2013-04-02 15:55:35 +00:00
Evan Huus
ba18b3d7d9
Addendum to r47962, caught by Jakub Zawadzki via
...
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8379
Respect the offset given us by TCP when fetching PDU len.
svn path=/trunk/; revision=47974
2013-03-01 13:24:24 +00:00
Evan Huus
ade06ecf1c
From Sebastiano Di Paola via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8379
...
New dissector for the honeypot-feeds protocol.
From me: Misc. tweaks to expert info layout and remove a few unneeded initializers.
svn path=/trunk/; revision=47962
2013-03-01 02:07:58 +00:00