aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-elcom.c
AgeCommit message (Collapse)AuthorFilesLines
2014-09-18Fix encoding-arg mostly for FT_UINT_STRING; Also: Do misc as needed.Bill Meier1-2/+5
Misc: (as needed) - Add editor modelines; - Adjust whitespace. Change-Id: I0e5d877a2a6273842ad8e771ac0c0acbfcb83200 Reviewed-on: https://code.wireshark.org/review/4173 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-08-05Eliminate proto_tree_add_text from some dissectors.Michael Mann1-19/+7
Other minor cleanup while in the area. Change-Id: Id8d957d3d68a2e3dd5089f490bd59d773e1be967 Reviewed-on: https://code.wireshark.org/review/3427 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-27/+27
https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html This reverts commit 246fe2ca4c67d8c98caa84e2f57694f6322e2f96. Change-Id: Ib24bae0198c13a84bd7f731bf4af921212109a8f Reviewed-on: https://code.wireshark.org/review/2430 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-18Fixup: tvb_* -> tvb_capturedDario Lombardo1-27/+27
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-18Fixup: tvb_get_string(z) -> tvb_get_string(z)_encDario Lombardo1-2/+2
Change-Id: I63a3704effe3fcab01a193dc39b6a22e9f1cf3fe Reviewed-on: https://code.wireshark.org/review/2376 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-06Apply found fix-encoding-args.pl errors in the dissector directory.Michael Mann1-2/+2
I coincidentally found a few files with errors, so I thought it might be time to run it on the whole directory again. Change-Id: Ia32e54b3b1b94e5a418ed758ea79807c8bc7e798 Reviewed-on: https://code.wireshark.org/review/978 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-10-24Remove need for match_port #define in packet_info.h and just replace ↵Michael Mann1-1/+1
existing calls. svn path=/trunk/; revision=52815
2013-09-22emem -> wmem conversion:Pascal Quantin1-2/+2
- 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-06-14Remove check_col() and the occasional tree.Michael Mann1-5/+4
svn path=/trunk/; revision=49920
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-08-10Use val_to_str_const() where appropriate;Bill Meier1-1/+1
Also (for a few files): - create/use some extended value strings; - remove unneeded #include files; - remove unneeded variable initialization; - re-order fcns slightly so prefs_reg_handoff...() at end, etc svn path=/trunk/; revision=44438
2012-08-10convert some simple uses to use ephemeral memoryMichael Mann1-6/+2
svn path=/trunk/; revision=44413
2012-07-18Fix non-proto_tree_add_item() calls passing an ENC_ value as the lastGuy Harris1-2/+2
argument. svn path=/trunk/; revision=43806
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-07Get rid of remaining Booleans-as-encoding-arguments inGuy Harris1-1/+1
proto_tree_add_item() calls. (The field is a counted string, so the byte order is in theory relevant, although the count is, in this case, a single byte.) svn path=/trunk/; revision=42482
2012-04-27As suggested in ↵Jeff Morriss1-1/+1
http://www.wireshark.org/lists/wireshark-dev/201204/msg00062.html : Don't use ENC_BIG_ENDIAN or ENC_LITTLE_ENDIAN with ENC_ASCII: ASCII has no endianism, so ENC_NA is more appropriate. svn path=/trunk/; revision=42297
2012-02-20Thou shalt not stop dissecting after doing processing for COL_INFO ....Bill Meier1-3/+1
svn path=/trunk/; revision=41083
2012-01-14Minor updates:Bill Meier1-29/+33
- checkcol() not req'd in a few cases; - Add an XXX comment about the (mis?)use of tvb_length(); - lenght -> length; svn path=/trunk/; revision=40505
2011-12-09From Juha Takala via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6654Alexis La Goutte1-4/+13
ELCOM dissector needs small fixes for some protocol sub-field texts svn path=/trunk/; revision=40131
2011-12-04Enhance Elcom dissectorAlexis La Goutte1-584/+589
Fix indent and update modelines svn path=/trunk/; revision=40092
2011-12-04Enhance Elcom dissectorAlexis La Goutte1-113/+129
Replace proto_tree_add_* by proto_tree_add_item Replace switch/case by value_string svn path=/trunk/; revision=40091
2011-12-03Fix 2 newly reported Coverity CID's 1331 & 1332: UNUSED_VALUE.Chris Maynard1-27/+27
svn path=/trunk/; revision=40086
2011-12-02From Juha Takala:Anders Broman1-0/+760
dissector for ELCOM communication protocol. This protocol is used mainly by power utilities, to exchange historical, cyclic, and event based data between SCADA systems. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6616 svn path=/trunk/; revision=40071