aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ethercat
AgeCommit message (Collapse)AuthorFilesLines
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
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-4/+1
svn path=/trunk/; revision=29346
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-4/+1
svn path=/trunk/; revision=29345
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam4-8/+4
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam4-8/+4
svn path=/trunk/; revision=29340
2009-07-15Add /MP flag to make use of multi cores.Anders Broman1-1/+1
svn path=/trunk/; revision=29104
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 Meier2-11/+14
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ørlykke4-30/+396
- 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
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke6-522/+522
Cleanup header_field_info in plugins. svn path=/trunk/; revision=28771
2009-04-16Fix Win64 compilation problems in the plugins directory.Gerald Combs2-8/+8
svn path=/trunk/; revision=28064
2009-03-02Disable manifest building for our DLLs. This attempts to fix bug 3272.Gerald Combs1-3/+0
svn path=/trunk/; revision=27579
2009-02-09From Peter Johansson:Stig Bjørlykke1-1/+1
Correct a misspelling. svn path=/trunk/; revision=27399
2009-02-02add missing mt.exe calls, to include manifest files into exe / dll filesUlf Lamping1-0/+3
svn path=/trunk/; revision=27357
2008-10-31Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke3-16/+16
svn path=/trunk/; revision=26652
2008-10-25proto_register/proto_reg_handoff; Various small cleanup and bug-fixingBill Meier6-28/+10
remove unnecessary #include prefs.f and emem.h in a few cases... svn path=/trunk/; revision=26554
2008-08-29#include <prefs.h> not requiredBill Meier4-4/+0
svn path=/trunk/; revision=26103
2008-07-29Allow checkapis target to work in out-of-tree builds (s#../../#$(top_srcdir)).Jeff Morriss1-1/+1
Also use $(top_builddir) instead of ../../ in a couple of other spots. svn path=/trunk/; revision=25863