aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2022-02-11Profinet plugin: Decode more r/w indexesDirk Ziegelmeier1-2/+12
2022-02-11Profinet plugin: Update several enumsDirk Ziegelmeier1-64/+131
According to PN AL Protocol, Oct 2020 Indices, user structure identifier, channel error type, ext channel error types
2022-02-04Trivial: change some formatting in hf item definitionsMartin Mathieson1-1/+1
2022-02-03More mask/field-length fixesMartin Mathieson1-1/+1
2022-01-29PROFINET: Fix incorrect API call, assertionJohn Thacker1-2/+2
Fix two calls of proto_tree_add_item() when proto_tree_add_uint() was meant. Passing the actual value of a field instead of an encoding into proto_tree_add_item() has unexpected results. Fix #17909. (The whole area of this dissector would probably be cleaner with more calls to add_item(), but this is a smaller change consistent with the rest.)
2022-01-29check_typed_item_calls.py - Find all (but 3) items from calls.Martin Mathieson1-4/+2
2022-01-20Profinet Plugin: Improve dissecting PDPortDataReal blockDirk Ziegelmeier1-8/+19
2022-01-20Profinet plugin: Dissect Neighbors blockDirk Ziegelmeier1-2/+114
2022-01-20Profinet Plugin: Dissect OwnPort blockDirk Ziegelmeier1-0/+84
2022-01-20Profinet Plugin: Decode PDPortDataRealExtended blockDirk Ziegelmeier1-0/+40
2022-01-20Profinet Plugin: Cleanup diagnosis data decodingDirk Ziegelmeier1-163/+110
2022-01-20Profinet Plugin: Add 10BASET1L and APL MAU TypeDirk Ziegelmeier1-2/+6
2022-01-20Profinet Plugin: Update Block Type ListDirk Ziegelmeier1-9/+42
According to PN AL Protocol d24MU2 Oct 2020
2022-01-20Profinet Plugin: Decode ControlBlockPlugDirk Ziegelmeier1-6/+19
2022-01-20Profinet plugin: Correctly name ModuleDiffBlock bitsDirk Ziegelmeier1-16/+16
2022-01-20Profinet plugin: Decode QualifiedChannelDiagnosisDirk Ziegelmeier1-2/+124
2021-12-31Fix more repeated words throughoutMoshe Kaplan1-1/+1
Fixes more repeated words seen throughout the code base.
2021-12-22Corrects repeated words throughout the code.Moshe Kaplan2-2/+2
Repeated words were found with: egrep "(\b[a-zA-Z]+) +\1\b" . -Ir and then manually reviewed. Non-displayed strings (e.g., in comments) were also corrected, to ease future review.
2021-12-21Add a ws_posix_compat.h headerJoão Valverde1-1/+1
Currently used to define ssize_t on platforms that lack it. Fix some Windows build errors caused by moving the definition into a separate header. Fix some narrowing warnings on Windows x64 from changing the definition of ssize_t from long int to int64_t. The casts in dumpcap are ugly but necessary. The whole code needs to be rewritten for portability, or the warnings disabled.
2021-12-19Replace g_strdup_printf() with ws_strdup_printf()João Valverde11-64/+64
Use macros from inttypes.h.
2021-12-19Replace g_snprintf() with snprintf()João Valverde13-57/+57
Use macros from inttypes.h with format strings.
2021-12-06Added Invalid value to BrowseDirection enumcacamille31-0/+1
2021-12-02dfilter: Convert grammar.lemon to 4-space indentationJoão Valverde1-0/+3
Add global EditorConfig settings for lemon files. Add exceptions for the two grammar files that use tab indentation.
2021-11-21gryphon: Create pkt_info if it doesn't existJohn Thacker1-7/+6
Try to retrieve the per packet info data first, and create it if it doesn't exist, rather than assuming it is there on the second pass. Prevents segfaults in cases with strange TCP sequence issues (that still show up as bugs in the TCP dissector.) Fix #17737.
2021-11-15regex: Prefer C99/POSIX typesJoão Valverde1-0/+1
Replace 'gssize' with 'ssize_t'. Add a CMake configure check for ssize_t. Fix missing "config.h" includes.
2021-11-11Lua is a proper name. Fix its capitalization.Gerald Combs2-2/+2
2021-10-22Windows: Fix warnings using flexJoão Valverde2-0/+2
Fix some warnings complaining of macro redefinitions with stdint.h. Include stdint.h via wireshark.h everywhere so it stays fixed.
2021-10-11Fix some spelling errorsMartin Mathieson3-3/+3
2021-10-07Fix some field mask widths.Martin Mathieson1-20/+20
2021-10-07to_str: scope tvb_ip_to_strEvan Huus1-2/+2
2021-10-06Ethercat: try to fix EEPROM Ctrl/Status bitmask fieldsMartin Mathieson1-12/+12
Fixes remaining errors detected by ./tools/check_typed_item_calls.py --mask
2021-10-04to_str: pull scope arg up into tvb_ether_to_strEvan Huus1-1/+1
There are a bunch of near-identical macros here, but I'm gonna change one at a time or else the builder times out at the number of files changed in one merge.
2021-09-28guids: wmem-scope lookupsEvan Huus1-2/+2
Avoids the use of the global unprotected packet memory pool and lets the compiler enforce scoping.
2021-09-24USBDump: Fix Memleak with error infoRoland Knall1-1/+1
The memory block the error was written to was uninitialized
2021-09-22Fix the lengths of some masks.Martin Mathieson1-5/+5
2021-09-21ethercat: Fix some too-wide mask widths.Martin Mathieson2-30/+30
N.B. Some other issues spotted have been reported in https://gitlab.com/wireshark/wireshark/~/issues/17605
2021-09-20Fix config.h include orderJoão Valverde8-4/+8
The header "config.h" needs to be the first header included in the source file, no exceptions.
2021-09-01tvbuff: convert helper methods to pinfo->poolEvan Huus1-1/+1
A few of them just needed scratch memory, so allocate and free it manually after doing any exception-raising checks. A few others were returning memory, and needed conversion to accept a wmem scope argument.
2021-08-29wiretap: always allocate a block for a record.Guy Harris1-0/+1
Without that, you could add a comment to a record in a file format the reading code for which doesn't allocate blocks, but the comment doesn't get saved, as there's no block in which to save the comment option. This simplifies some code paths, as we're either using the record's modified block or we're using the block as read from the file, there's no third possibility. If we attempt to read a record, and we get an error, and a block was allocated for the record, unreference it, so the individual file readers don't have to worry about it.
2021-08-27Some spelling fixes.Martin Mathieson1-3/+3
2021-08-26PROFINET: DCP Option dissection updatedVahap Emin Agaogullari1-5/+1
DCP Frames with Reserved Option dissection changed short time ago. There isn't a predefined suboption for Reserved option in the standard. But in this implementation it dissected like control suboption. This is not true and creates malformed frames in some dcp pcaps. This implementation is reverted. Wireshark will dissect undefined bytes as paddings just like before.
2021-08-25gryphon: explain in detail why we can't import tfs strings from libwireshark.Guy Harris1-1/+12
2021-08-25plugins: convert to pinfo->poolEvan Huus7-61/+64
Convert all plugin dissectors from wmem_packet_scope to pinfo->pool.
2021-08-25gryphon: get rid of unused variables.Guy Harris1-6/+2
Found by cppcheck.
2021-08-08Some more dissector spellings.Martin Mathieson1-1/+1
2021-08-06trailing whitespaceZhaoHao1-5/+4
2021-08-06trail whitespaceZhaoHao1-36/+13
2021-08-06format the codeZhaoHao1-210/+210
2021-08-06add profidriveZhaoHao1-14/+298
2021-07-29wsutil: rename bytestring_to_str() -> bytes_to_str_punct()João Valverde1-4/+4