aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2012-10-31Add CRC verification to Modbus RTU dissector. CRC algorithm is the same as ↵Michael Mann1-2/+2
the "crc16-plain" with a different initial CRC (0xFFFF instead of 0). Created crc16_plain_tvb_offset_seed to "replace" crc16_plain_tvb_offset, but didn't remove crc16_plain_tvb_offset for backwards compatibility worries. Updated only dissector that used crc16_plain_tvb_offset (profinet/packet-pn-rt.c) to use crc16_plain_tvb_offset_seed(..., 0) svn path=/trunk/; revision=45854
2012-10-26Create SET_ADDRESS_HF that takes an additional hf_ value that can beEvan Huus1-1/+1
used to override the filter generated from the address column. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7728 (again). svn path=/trunk/; revision=45792
2012-10-26Revert revision 44921.Evan Huus1-1/+1
See discussion on https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7728 svn path=/trunk/; revision=45791
2012-10-10Based on patch from Bill Parker, check for ws_fopen() failing.Guy Harris1-6/+10
The rest of the code already checks for namelist being null, so it's OK to call build_tree_view() - and it may be necessary to do so, as the code below might assume that's worked. However, we should not call fclose() on namelist if it's null; the C89 standard, at least, does *not* assert that fclose(NULL) is a no-op. Clean up indentation a little bit. Last part of fix for bug 7824. svn path=/trunk/; revision=45455
2012-09-30Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-2/+2
svn path=/trunk/; revision=45219
2012-09-30From Yu Zhang via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7769Alexis La Goutte1-1/+22
Add Dissector for SuboptionDeviceInstance under DevicePropertiesOption in PROFINET DCP In PROFINET DCP dissector, current build didn't have SuboptionDeviceInstance (0x07) under DevicePropertiesOption (0x02). This patch add the support of SuboptionDeviceInstance svn path=/trunk/; revision=45218
2012-09-26replace unnecessary decode_numeric_bitfield callsMichael Mann1-18/+9
svn path=/trunk/; revision=45154
2012-09-25Implement and document the Custom plugin system. Create relevant example ↵Jaap Keuter4-18/+23
files and add them to the distribution. Rewrite README.plugins to describe how to use this system. svn path=/trunk/; revision=45142
2012-09-23Store pointers to previously displayed and captured packet, not nstime_t deltas.Jakub Zawadzki1-2/+0
This commit reduces size (from 144B to 128B on AMD64) of frame_data structure. Part of bug 5821: Reduce per-packet memory requirements. svn path=/trunk/; revision=45071
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss131-308/+46
svn path=/trunk/; revision=45015
2012-09-15From Pontus Fuchs via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7728Evan Huus1-1/+1
Make right-click + apply-as-filter work in the packet list for non-ethernet frames (such as ieee 802.11 frames). svn path=/trunk/; revision=44921
2012-09-11Add data parameter to dissector_try_heuristicJakub Zawadzki3-5/+5
svn path=/trunk/; revision=44871
2012-09-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki12-22/+22
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
2012-08-24Fix a trivial typo.Bill Meier1-2/+2
svn path=/trunk/; revision=44660
2012-08-23Remove commented out rulesJörg Mayer1-1/+0
Whitespace fixes svn path=/trunk/; revision=44629
2012-07-30Fix Coverity CID's 712344-712345: Unused pointer value.Chris Maynard1-2/+2
svn path=/trunk/; revision=44135
2012-07-27Fix two "set but unused variable" warnings turning errors:Jörg Mayer1-1/+2
- Comment out hdrbits, it's retrieved but not used (slightly different approach to overwritten patch) - Change two instances of pt to tree as this *may* have been the intention svn path=/trunk/; revision=44061
2012-07-27Remove unused variable, use the created subtree. Found by buildbot.Anders Broman1-4/+3
svn path=/trunk/; revision=44059
2012-07-26You can't (well, shouldn't) reference and modify a given variable multipleJeff Morriss1-27/+22
times in one C statement: the order of references and modifications is undefined. Anyway I don't think the modification is intentional: just divide instead of divide-and-assign. Also remove what looks to be some test code (only executed for frame number 11). svn path=/trunk/; revision=44056
2012-07-26Converted many proto_tree_add_text -> proto_tree_add_item (or at least ↵Michael Mann1-833/+1355
something that's filterable). since Gryphon is used as the flagship example for plugins, I don't want developers to get the impression proto_tree_add_text is the way to add fields in Wireshark. Hopefully this will reduce the number of dissectors submitted with too many proto_tree_add_text()s. svn path=/trunk/; revision=44055
2012-07-25- Call dissector_add-handle() so protocol isBill Meier1-0/+16
available under UDP 'decode as'; - Back out use of extended value strings (added in SVN #43942); 'tshark -G values' on Windows gives a warning as to 'Invalid value_string_ext ptr'. Issue: On Windows, value_string_ext validation code always fails for extended value strings in plugins. (Something todo with the linkage mechanism). svn path=/trunk/; revision=44011
2012-07-23Cleanup:Bill Meier1-432/+434
- don't call col_...() and expert...() fcns under 'if (tree)'; - create/use extended value strings in a few cases; - use val_to_str_ext_const(); - Don't increment offset if not used afterwards [set but unused]; - do whitespace cleanup (indentation, trailing, ...). svn path=/trunk/; revision=43942
2012-07-20Fix a bit too much copy pasteJörg Mayer1-4/+0
svn path=/trunk/; revision=43853
2012-07-20Add missing CMakeLists.txtJörg Mayer1-0/+69
svn path=/trunk/; revision=43851
2012-07-20Add SVN eol-style and keywords propertiesPascal Quantin6-6032/+6032
svn path=/trunk/; revision=43848
2012-07-20Fix some misplaced tree items, as caught by cppcheck (as unused variables).Evan Huus1-10/+10
svn path=/trunk/; revision=43845
2012-07-20WiMAX OFDMA PHY SAP dissector plugin ↵Michael Mann13-2/+6228
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2695) svn path=/trunk/; revision=43844
2012-07-16Fix compilation error seen with gcc on Unix:Stephen Fisher1-1/+1
pinfo_stats_tree.c:234:2: error: no newline at end of file svn path=/trunk/; revision=43755
2012-07-15From Wonil Kim: Enable statistics menu register for the tap plug-in. Fixes ↵Anders Broman1-5/+4
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7466 svn path=/trunk/; revision=43726
2012-07-09From Evan Huus:Anders Broman1-6/+0
Grab-bag of unused variables. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7452 svn path=/trunk/; revision=43616
2012-07-08UATs could be put into "categories". The categories were defined onlyGuy Harris1-1/+1
implicitly by the #define name and string they were defined to; not all UATs neatly fit into any of the categories, so some of them were put into categories that weren't obviously correct for them, and one - the display filter macro UAT - wasn't put into any category at all (which caused crashes when editing them, as the GUI code that handled UAT changes from a dialog assumed the category field was non-null). The category was, in practice, used only to decide, in the aforementioned GUI code, whether the packet summary pane needed to be updated or not. It also offered no option of "don't update the packet summary pane *and* don't redissect anything", which is what would be appropriate for the display filter macro UAT. Replace the category with a set of fields indicating what the UAT affects; we currently offer "dissection", which applies to most UATs (any UAT in libwireshark presumably affects dissection at a minimum) and "the set of named fields that exist". Changing any UAT that affects dissection requires a redissection; changing any UAT that affects the set of named fields that exist requires a redissection *and* rebuilding the packet summary pane. Perhaps we also need "filtering", so that if you change a display filter macro, we re-filter, in case the display is currently filtered with a display filter that uses a macro that changed. svn path=/trunk/; revision=43603
2012-07-07From Michael Mann:Guy Harris1-2/+99
Add a preference for the packet length statistics. Fixes bug 3239. svn path=/trunk/; revision=43597
2012-07-05From Guy Martin via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7439 :Pascal Quantin1-4/+5
Add support for DOCSIS 3.0 AES keys svn path=/trunk/; revision=43573
2012-06-28Update FSF address - part II.Jakub Zawadzki75-87/+87
svn path=/trunk/; revision=43538
2012-06-28Update Free Software Foundation address.Jakub Zawadzki131-131/+131
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-13Create, and start using, file name preferences.Jeff Morriss2-8/+8
File name preferences are basically just string preferences except that the GUI will present a "Browse" button that allows the user to go and find the file s/he wants (rather than having to blindly type in the full path). svn path=/trunk/; revision=43228
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-05Fix Coverity 702421: Handle the possibility that fvalue_to_string_repr()Jeff Morriss1-1/+6
may return NULL. svn path=/trunk/; revision=43114
2012-06-04Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+59
svn path=/trunk/; revision=43088
2012-06-02From Martin Kaiser via ↵Pascal Quantin1-0/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7322 : Add a missing break in packet-bpkmattr.c (CID 280484) svn path=/trunk/; revision=43007
2012-06-01No more GIOP plugins, so get rid of the directory for the former plugins.Guy Harris13-789/+0
svn path=/trunk/; revision=42978
2012-06-01Make packet-coseventcomm.c a bultin dissectorAnders Broman1-768/+0
svn path=/trunk/; revision=42976
2012-06-01Make packet-coseventcomm.c a bultin dissectorAnders Broman2-2/+0
svn path=/trunk/; revision=42974
2012-06-01Set Makefile.common as a plugin.c dependency so plugin.c is rebuilt if ↵Bill Meier13-13/+13
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 Meier13-26/+26
if Makefile.common is changed ToDo: ditto for Makefile.am ? svn path=/trunk/; revision=42971
2012-06-01Make the cosnaming dissector a builtin dissector.Anders Broman3-1578/+1
svn path=/trunk/; revision=42968
2012-06-01Make the tango dissector a builtin dissector.Anders Broman3-4414/+1
svn path=/trunk/; revision=42967
2012-06-01parlay changes to CmakeAnders Broman1-18/+0
svn path=/trunk/; revision=42965
2012-06-01Make the parlay dissector a buil tin dissector.Anders Broman2-105136/+0
svn path=/trunk/; revision=42964
2012-05-30Dissable -WerrorAnders Broman1-3/+3
svn path=/trunk/; revision=42928