aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cip.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-06From Joakim Wiberg via bug 3670:stig1-45/+39
This patch correctes serveral minor things. 1. Adds decoding of generic services to classes that have a separate dissect function. 2. Adds new error codes. 3. Adds new CIP objects. 4. Extends the VendorID list. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28951 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-26From Joakim Wiberg via bug 3103:stig1-760/+2027
Various improvements to the CIP and ENIP dissectors. From me: Updated to latest trunk changes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28844 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-24More hf_register_info related cleanup.stig1-20/+20
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28834 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-19Revert changes committed by an accident.stig1-2027/+760
Will be committed again later. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28779 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-19Moved setting of length2 to make it always set.stig1-760/+2027
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28777 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-20/+20
(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
2008-12-18Fix various typos and spelling errors (mostly in text strings)wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27050 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-17Fix some typos and spelling (mostly in text strings)wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27037 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-23Let the dissectors fill the Protocol and Info columns by calling the even ↵jake1-9/+9
when tree == NULL. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26531 f5534014-38df-0310-8fa8-9805f1628bb7
2008-08-26#include <emem.h> not req'dwmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26091 f5534014-38df-0310-8fa8-9805f1628bb7
2008-08-25#include <prefs.h> not req'd; Fix indentation to be conistentwmeier1-109/+109
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26086 f5534014-38df-0310-8fa8-9805f1628bb7
2008-08-08Replace custom data presentation with native one.jake1-71/+13
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25965 f5534014-38df-0310-8fa8-9805f1628bb7
2008-07-30From Ryan Wamsley:jake1-1/+51
For the EtherNet/IP protocol (ENIP), display text for Additional Status in the Forward Open Response packet. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25865 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-15Fix some of the Errors/warnings detected by checkapi.wmeier1-3/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25305 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-10Make sure we don't try to allocate a negative number.gerald1-2/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23820 f5534014-38df-0310-8fa8-9805f1628bb7
2007-10-23Apply the small performance enhancment patches for:etxrab1-5/+5
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster. Replace - col_append_fstr() with faster col_append_str() - col_add_str() with col_set_str() when it's safe git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23252 f5534014-38df-0310-8fa8-9805f1628bb7
2007-08-23Permit decoding of individual service errors + removal of a few lines ↵grahamb1-15/+15
consisting of just whitespace git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22599 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-22From Ryan Wamsley: Add Connection Configuration Object support to ↵wmeier1-65/+139
EtherNet/IP dissector git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20897 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-14ememify cipsahlberg1-3/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15353 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-08various code cleanup:ulfl1-4/+0
-use g_snprintf instead of sprintf and snprintf -use g_strdup_printf where appropriate -remove #include "snprintf.h" (as only g_snprintf should be used) -replace some more alloc/realloc/calloc/free with their glib pendants git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15264 f5534014-38df-0310-8fa8-9805f1628bb7
2005-07-09Squelch various signed vs. unsigned warnings by:guy1-5/+5
making pointers to byte data be "guint8 *" rather than "char *", and making buffers holding byte data arrays of "guint8" rather than arrays of "char"; making pointers to text strings "char *" rather than "guchar *"; appropriately casting pointers (cast to "guint8 *" when passing to routines expecting "guint8 *" or when assigning to "guint8 *"); making port-number preferences "guint"; making enum preferences "gint"; making hf_ variables "int". Clean up white space. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14884 f5534014-38df-0310-8fa8-9805f1628bb7
2004-09-23From Magnus Hansson:guy1-0/+1809
move CIP protocol to own dissector clean up code and fix variable names add more info to info column fixed decoding of embedded messages in Unconnected send and Multiple Service packets add more info to path decoding add more filter options/clean up complete CIP vendor codes git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12070 f5534014-38df-0310-8fa8-9805f1628bb7