summaryrefslogtreecommitdiff
path: root/plugins/ethercat/packet-esl.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
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-10Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-2/+2
plugins/*: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_BOOLEAN FT_IPv4 FT_EUI64 FT_GUID FT_UINT_STRING Also: For type FT_ITv6 use ENC_NA. (This was missed in an earlier SVN) svn path=/trunk/; revision=39329
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-1/+1
plugin dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39292
2010-03-29From Richard Kümmel: Added the bitmasks for port 10 and port 11.Bill Meier1-5/+11
From me: As per Richard: Fix definitions of the bitfield for hf_esl_crcerror and hf_esl_alignerror. See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3677#c10 svn path=/trunk/; revision=32324
2010-01-02Do some cleanup:Bill Meier1-204/+288
- Separate .h file not req'd since not used elsewhere; - Use bitmasks instead of using non-portable bitfields; - Note possible incorrect display of crcError and alignError flags; - Clean up spacing. svn path=/trunk/; revision=31412
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29446
2009-08-15Use HFILL instead of hard coding the valuesKovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29431
2009-07-07Fix the esl protocol enable/disable handling issue introduced in SVN #28986:Bill Meier1-14/+17
Use the standard "if (!initialized)..." logic in proto_reg_handoff(). Also: use "true_false_string flags_yes_no" as in the original patch. svn path=/trunk/; revision=28994
2009-07-07Various fixes:Bill Meier1-8/+10
1. For some reason: using an using the external tfs_yes_no doesn't work in a plugin; 2. proto_reg_handoff: remove unneeded code; 3. Change the prefs callback to call a function which just enables/disables the protocol; (using proto_reg_handoff means that the dissector was re-registered each time the pref was changed); 4. packet-esl.h: use #if 0 instead of /* ... */ to comment out code; svn path=/trunk/; revision=28986
2009-07-07From Richard Kummel:Stig Bjørlykke1-0/+283
- New dissector for EtherCAT Switch Link Header added to EtherCAT plugin - Changed filtering of EtherCAT commands to the abbreviated form: e.g. ecat.cmd = APWR From me: - Mark unused variables - Fixed a string warning - Do not initialize a static struct - Use tfs_yes_no - Reorder files in Makefile svn path=/trunk/; revision=28976