aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ethercat
AgeCommit message (Collapse)AuthorFilesLines
2012-06-07Attempt to fix display of "eoe macfilter header".Bill Meier1-7/+19
Among other things: fix incorrect 'display' value in several hf[] entries. (See XXX coments in source for further details). Attempt to fix use of incorrect value in hf[] entry 'display' fields svn path=/trunk/; revision=43149
2012-06-01Set Makefile.common as a plugin.c dependency so plugin.c is rebuilt if ↵Bill Meier1-1/+1
Makefile.common is changed svn path=/trunk/; revision=42972
2012-06-01Windows: Set Makefile.common as a plugin.c dependency so plugin.c is rebuilt ↵Bill Meier1-2/+2
if Makefile.common is changed ToDo: ditto for Makefile.am ? svn path=/trunk/; revision=42971
2012-05-11Get rid of remaining Booleans-as-encoding-arguments inGuy Harris1-9/+9
proto_tree_add_item() calls. svn path=/trunk/; revision=42584
2012-05-11Get rid of remaining Booleans-as-encoding-arguments inGuy Harris1-2/+2
proto_tree_add_item() calls. svn path=/trunk/; revision=42583
2012-04-27Fix Malformed packet AMS for Read Device Info Read State Request.Anders Broman1-3/+25
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6710 check if data exists. svn path=/trunk/; revision=42292
2012-04-04Add a "-build" argument to checkAPIs.pl. Use that argument when buildingJeff Morriss2-2/+2
from makefiles (and thus from the buildbot). The intention is to be able to tell when a human is running the tool so we can provide more code-review guidance. As a starter, enable the "too many proto_tree_add_text() calls" check when a human is running the tool. svn path=/trunk/; revision=41943
2012-01-29Add *.sbr files to the clean target.Anders Broman1-1/+1
svn path=/trunk/; revision=40761
2012-01-13Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-5/+5
svn path=/trunk/; revision=40475
2012-01-13Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+1
svn path=/trunk/; revision=40474
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier7-37/+37
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-20Use ENC_NA as proto_tree_add_item() encoding arg for FT_ETHER hf[] field type.Bill Meier1-1/+1
svn path=/trunk/; revision=39490
2011-10-18Do some more conversions of proto_tree_add_item() 'encoding' argBill Meier1-1/+1
(previously missed). svn path=/trunk/; revision=39450
2011-10-15Convert plugin files proto_tree_add_item() 'encoding' arg for field types ↵Bill Meier2-6/+6
FT_STRING, 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=39429
2011-10-10Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier4-77/+77
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 Meier6-152/+152
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
2011-10-05Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier5-61/+61
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|1|0|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39262
2011-04-22Use the return value of proto_item_add_subtree(): put the filter masks in ↵Jeff Morriss1-2/+4
their own subtree (as it appears was intended). svn path=/trunk/; revision=36811
2011-03-29Add a missing break.Anders Broman1-0/+1
CID 487 svn path=/trunk/; revision=36403
2011-03-24Don't assign to a proto_item* if the value won't be used: Coverity 1155-1156;Bill Meier1-86/+86
Also: - Fix a few cases of SET_HIDDEN on the wrong item. (The SET_HIDDEN was being done on an already hidden item). - Minor indentation cleanup; svn path=/trunk/; revision=36315
2011-03-24Don't assign to a proto_item* if the value won't be used: Coverity 1151-1154;Bill Meier1-95/+95
svn path=/trunk/; revision=36312
2011-03-23dont assign to a proto_item* unless we are going to use the valueRonnie Sahlberg1-7/+7
coverity 1157 svn path=/trunk/; revision=36276
2011-02-17Remove some of the many dead assignments found by clangStephen Fisher1-30/+30
svn path=/trunk/; revision=35982
2011-02-02A bit of Windows makefiles rework and cleanup:Bill Meier1-2/+3
- Define macros for certain CFLAGS in config.nmake iso of having defs in each makefile; a. -DHAVE_CONFIG_H and -D_U_="" are now part of a macro named STANDARD_CFLAGS; b. -WX has been replaced by WARNINGS_ARE_ERRORS (defined as -WX in config.nmake) (This allows disabling "Warnings as Errors" by just changing config.nmake) c. CVARSDLL definitions (not usage) have been removed from the various makefiles. XXX: It appears the usage of CVARSDLL can also be removed (not yet done) since: -DWIN32 and -DNULL=0 do not appear to be needed (any more); -D_MT and _D_DLL are not needed since /MP causes these definitions. d. Define a macro WARNINGS_CFLAGS with additional specific compiler (level4) warnings to be enabled. E.G., 4295: array is too small to include a terminating null character - config.nmake: reformat some long lines for readability; - plugins\Makefile.nmake: clean-deps does nothing: remove it (and usage in top-level makefile); - dissectors/Makefile.nmake: test to enable packet-rrc.obj target needs to include MSVC2010 ... svn path=/trunk/; revision=35747
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris6-10/+10
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.) svn path=/trunk/; revision=35224
2010-10-17Removed unused hf_ecat_mailbox.Stig Bjørlykke1-6/+0
svn path=/trunk/; revision=34543
2010-09-24Plugins are not shared libraries, so:Guy Harris1-1/+0
1) don't set thei SOVERSION - run-time-loaded modules don't have an SOVERSION; 2) build them with link mode MODULE, not SHARED, on all platforms. (Fixing 1) also fixes the problem with building them as MODULE on OS X.) svn path=/trunk/; revision=34243
2010-09-23H. Sivank <hsivank@gmail.com>Jörg Mayer1-1/+1
I try to configure Wireshark with cmake on macosx 10.6. It fails with : set_target_properties called with incorrect number of arguments. Attached a patch to fix this issue. svn path=/trunk/; revision=34201
2010-05-14Synchronize Makefiles even more.Jaap Keuter1-0/+1
svn path=/trunk/; revision=32808
2010-05-14Add Cmake stuff to the source distribution so more people can try it out.Jeff Morriss1-4/+5
svn path=/trunk/; revision=32807
2010-04-05Get rid of a bunch of check_col().Anders Broman6-40/+21
svn path=/trunk/; revision=32388
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-03-18cmake changes:Jörg Mayer1-3/+3
- Add checking for linker flags - Install plugins with the name including the Wireshark version. This will make it easier to find matching plugin versions if files get just copied over. svn path=/trunk/; revision=32231
2010-02-24- Remove the lib prefix for plugin names.Jörg Mayer1-4/+3
- Remove a (resolved) comment. - Add a commented out line how to add version infos to the plugin's file name. svn path=/trunk/; revision=31995
2010-01-02Do some cleanup:Bill Meier3-273/+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-11-17Remove the address operator from value_string arrays fed to VALS()Gerasimos Dimitriadis2-4/+4
svn path=/trunk/; revision=30995
2009-11-17Beginnings of enabling static builds. Still to do:Jörg Mayer1-1/+1
* Add -static * Registration may need different handling * Add plugins * Build error in wslua svn path=/trunk/; revision=30987
2009-11-07cmake will now honor -Werror if configured (default: on)Jörg Mayer1-3/+15
svn path=/trunk/; revision=30852
2009-10-09Use register_dissector_files in the plugins dissectorsKovarththanan Rajaratnam1-25/+3
svn path=/trunk/; revision=30435
2009-10-09From Didier Gautheron:Anders Broman1-1/+0
Dissectors using call_dissector() function inside a 'if (tree) {}' block. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4107 svn path=/trunk/; revision=30415
2009-10-06Build plugins with cmake on OSX.Stig Bjørlykke1-0/+2
svn path=/trunk/; revision=30373
2009-09-24* Prefer col_append_str instead of col_append_fstr for constant stringsKovarththanan Rajaratnam2-54/+27
* Remove check_col guards svn path=/trunk/; revision=30127
2009-09-21CMake:Jörg Mayer1-0/+6
- Add opcua to the list of plugins to build - Link the gtk stuff statically into wireshark - Beginnings of "make install" - Change a few things about install paths svn path=/trunk/; revision=30029
2009-09-16Build a few more pluginsJörg Mayer1-0/+75
svn path=/trunk/; revision=29942
2009-09-13Run checkapi on the dissector header filesJeff Morriss2-2/+2
svn path=/trunk/; revision=29883
2009-09-09We no longer support the old plugin API so remove it completely from the ↵Kovarththanan Rajaratnam1-1/+1
build system svn path=/trunk/; revision=29821
2009-08-21(Minor) Remove unneeded #includes.Bill Meier6-45/+0
svn path=/trunk/; revision=29492
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam2-2/+2
svn path=/trunk/; revision=29446
2009-08-15Use HFILL instead of hard coding the valuesKovarththanan Rajaratnam2-8/+8
svn path=/trunk/; revision=29431
2009-08-14From Artem Tamazov via. 3899:Kovarththanan Rajaratnam1-1/+1
Remove superfluous /MP svn path=/trunk/; revision=29410