aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iec104.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.wmeier1-4/+4
Also: remove trailing whitespace for a number of files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39503 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-05Fix decoding of CP56Time2a timestamp. Resolves bug 5889.cmaynard1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36997 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-22From Jiří Engelthaler:jake1-16/+186
Fixes computing of milliseconds in CP56time2a and add "bitstring of 32 bits" and "step position" support (ASDU types 5,7,32,33,47,51,60 and 64). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35249 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-20Rename the routines that handle dissector tables with unsigned integerguy1-1/+1
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.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35224 f5534014-38df-0310-8fa8-9805f1628bb7
2010-10-10Define some fcns & vars as static; Some #includes not req'd; packet-mikey.h ↵wmeier1-18/+24
not req'd. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34464 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-23Replace blurbs that match the name (case insensitive) with NULL.morriss1-106/+106
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34227 f5534014-38df-0310-8fa8-9805f1628bb7
2010-08-02Fix cases where the type of a for loop variable is smaller than the type of ↵wmeier1-3/+3
the "end" variable. In some cases the usage may have been benign since it can be seen by code inspection that the maximum value of the end variable can't exceed the maximum value of the loop variable. However, on general principles, all the usages have been fixed. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33692 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-03Remove unneeded #include <stdio.h>wmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32367 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-08Clean up header fields.jake1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30395 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-20From Kjell Hultman:jake1-1/+840
IEC104 Signal dissection added - not complete (only implemented what I needed for the moment). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30026 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_clear with col_checkkrj1-6/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29346 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkkrj1-6/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29345 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-10From Joan Ramio:etxrab1-4/+6
IEC 60870-5-104 dissector decodes nothing (new_tvb reported length bug) https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3650 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29048 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-06Small editorial changes.etxrab1-3/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28953 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-5/+5
(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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-14ep_strbuf usage: ep_strbuf_new_label("") --> ep_strbuf_new_label(NULL);wmeier1-8/+8
ep_strbuf_append() --> ep_strbuf_append_c() in a few cases. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28052 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-14From Jakub Zawadzki: Fix a logic error.gerald1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28047 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-31Get rid of val_to_strlen() - strlen() on the results of val_to_str()guy1-41/+27
suffices (and 100 is an odd choice of failure), and it shouldn't return a guint8 in any case. Don't use tvb_length() to determine how big a packet is - you want the real size, not the possibly-shortened-by-a-snapshot-length size. Don't make things guint8 if they're not guaranteed to be one byte long. Use an ep_strbuf in another case. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27908 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-30More Win64 fixes.gerald1-19/+18
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27903 f5534014-38df-0310-8fa8-9805f1628bb7
2009-01-28#include prefs.h not req'dwmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27321 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-12From SUZUKI, Shinsuke <suz@kame.net> (bug 2956):sake1-2/+2
Remove non-ascii characters to prevent compilation failure on non-european windows. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26420 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-05Minor cleanup related to proto_register and/or proto_reg_handoffwmeier1-64/+61
ep_alloc + memset --> ep_alloc0 (teamspeak2) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26356 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-30get_iec104apdu_len(): make the offset variable a guin32 instead of a guint8 somorriss1-150/+150
we can deal with TVB lengths greater than 255. This fixes the infite loop reported in: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2914o git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26310 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-29From Joan Ramio:etxrab1-0/+775
New dissector IEC 60870-5-104. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26289 f5534014-38df-0310-8fa8-9805f1628bb7