aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-erldp.c
AgeCommit message (Collapse)AuthorFilesLines
2013-11-09Add data parameter to tcp_dissect_pdus() as well as convert it to using ↵Michael Mann1-10/+12
"new" style dissectors. Now that "bytes consumed" can be determined, should tcp_dissect_pdus() take advantage of that? Should tcp_dissect_pdus return length (bytes consumed)? There are many dissectors that just call tcp_dissect_pdus() then return tvb_length(tvb). Seems like that could all be rolled into one. svn path=/trunk/; revision=53198
2013-10-29From didier gautheron: remove redundant or use faster col_xxx functionsBill Meier1-4/+4
- 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-22Remove instances of unused 'data_handle' (and of one other handle).Bill Meier1-5/+0
svn path=/trunk/; revision=52767
2013-10-13whitespace fixes; mostly: remove trailing blanksBill Meier1-3/+3
svn path=/trunk/; revision=52591
2013-09-22emem -> wmem conversion:Pascal Quantin1-3/+3
- 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-15Convert a few more dissectors to wmem APIPascal Quantin1-4/+4
svn path=/trunk/; revision=52052
2013-08-05Keep result of [new_]register_dissector in some dissectors.Jakub Zawadzki1-3/+3
svn path=/trunk/; revision=51156
2013-05-21Fix format string typo.Evan Huus1-1/+1
svn path=/trunk/; revision=49470
2013-05-20add a few more filterable items.Michael Mann1-30/+135
svn path=/trunk/; revision=49469
2013-03-17[-Wmissing-prototypes]Anders Broman1-0/+3
Use explicit casts. svn path=/trunk/; revision=48347
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-08Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-3/+3
svn path=/trunk/; revision=42513
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-1/+1
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-3/+3
FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). svn path=/trunk/; revision=39426
2011-05-23Delete unused header field entries found by running checkhf.pl.Chris Maynard1-4/+0
svn path=/trunk/; revision=37353
2011-05-23From Micheal Mann via bug 2794: Fix some display filter field names.Chris Maynard1-1/+1
svn path=/trunk/; revision=37351
2011-02-04Fix checkAPIs errorsTomas Kukosa1-11/+11
svn path=/trunk/; revision=35831
2011-02-04Mark some parameters as unused.Jeff Morriss1-11/+14
Add a format string to some proto_tree_add_text()s. Add a cast. svn path=/trunk/; revision=35820
2011-02-04Erlang Port Mapper Daemon protocol updated and Erlang Distribution Protocol ↵Tomas Kukosa1-0/+592
implemented svn path=/trunk/; revision=35819