aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/epan/mate/packet-mate.c
AgeCommit message (Collapse)AuthorFilesLines
2024-06-19plugins/epan: convert to C99 typesPascal Quantin1-8/+8
Ping #19116
2024-06-07MATE: Switch times from floats to doublesJohn Thacker1-17/+17
Floats are not wide enough to store relative time stamps. They really should be nstime_t and FT_RELATIVE_TIME, but doubles and FT_DOUBLE is better. Fix #19864.
2024-04-05Remove init to zero for static variablesStig Bjørlykke1-7/+7
The C standard requires that objects with static storage duration is initialized to zero.
2024-01-30MATE: Handle fields that are in different data sourcesJohn Thacker1-0/+9
In addition to the start and end offset locations, store a pointer to the data source tvb in each mate_range. The start and end offsets are only relevant within a data source. If a field has a data source different from one of the protocol, transport protocol, or payload ranges, search in the tree for the ancestor nodes of the field, and see if an ancestor is located within one of the ranges. In order to workaround #17877 (non-visible items can't change length after being added to the tree, which affects most protocols), set the tree as visible similar to done with a number of Lua postdissectors that need all fields. Unfortunately this is overkill that hurts performance. Fix #19619
2023-11-07plugins: Initialize static proto values to 0Stig Bjørlykke1-7/+7
Update plugins to not initialize static proto values to -1.
2021-09-20Fix config.h include orderJoão Valverde1-0/+2
The header "config.h" needs to be the first header included in the source file, no exceptions.
2020-10-24MATE: Improve MATE debug facilityJaap Keuter1-0/+52
1) Allow AVP_DEBUGGING settings to be made from Preferences, iff compiled so. 2) Flush MATE/AVP debug output once sequential packet parse has completed.
2019-07-26HTTPS (almost) everywhere.Guy Harris1-1/+1
Change all wireshark.org URLs to use https. Fix some broken links while we're at it. Change-Id: I161bf8eeca43b8027605acea666032da86f5ea1c Reviewed-on: https://code.wireshark.org/review/34089 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-09-19Try to discourage the use of APIs via counting.Gerald Combs1-1/+0
Add the ability to specify maximum function counts for each group to checkAPIs. Add maximum counts for the "termoutput" and "abort" groups where needed. Show summaries in various checkAPI targets. Switch uses of ws_g_warning back to plain g_warning. Change-Id: I5cbddc8c671729e424eed8551f69116d16491976 Reviewed-on: https://code.wireshark.org/review/29721 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2018-02-09plugins: use SPDX identifiers.Dario Lombardo1-13/+1
Change-Id: I8155573933daeb69c6e4c95c6702bdd6fc1fa89b Reviewed-on: https://code.wireshark.org/review/25707 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-01-16plugins: Add source tree subfolder for plugin libraryJoão Valverde1-0/+412
This allows some simplification and makes things more consistent, particularly for loading plugins from the build dir. Also fixes the issue reported here: https://www.wireshark.org/lists/wireshark-dev/201801/msg00061.html Change-Id: I0d8a000ee679172bccad546a3b0c47a79486f44d Reviewed-on: https://code.wireshark.org/review/25329 Petri-Dish: João Valverde <j@v6e.pt> Reviewed-by: João Valverde <j@v6e.pt>