Commit Graph

36170 Commits

Author SHA1 Message Date
João Valverde f5a40ada4d Netfilter rtnetlink: Fix some names for consistency 2021-12-11 17:02:16 +00:00
João Valverde a38c4ea454 Netlink: Convert to normal proto tree API 2021-12-11 17:02:12 +00:00
João Valverde 26fb504f67 Netlink generic: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde ae600d3bd1 Netlink net_dm: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde 52064a51e1 Netlink psample: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde aec2554d29 Netlink sock_diag: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde 7559a718ec Netlink netfilter: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde 4458c910a4 Netlink rtnetlink: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde e67ce21f81 Netlink nl80211: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde 3230ed2dac Netlink: Change dissector API to use HF index
Instead of passing a pointer to a header_field_info structure,
pass an integer index to the registry.

This allows each dissector to be converted to a more conventional
structure.
2021-12-11 16:32:28 +00:00
John Thacker 7699d54094 IEC101/104: Support different link address sizes
IEC 101 can have a link address of zero, one, or two octets.
The IOA address can also be one, two, or three octets.
Remove unnecessary apply_prefs function. Fix #17775
2021-12-10 15:59:46 -05:00
João Valverde d2a9cb940a epan: Remove new proto tree API
Remove experimental new API.

Fix Netlink dissector to compile with normal proto tree API.

Closes #17774.
2021-12-10 14:37:01 +00:00
João Valverde 3638ca74c4 YAMI: Convert to old proto tree API
Related with #17774.
2021-12-09 11:16:55 +00:00
João Valverde c87f7a7141 STCSIG: Convert to old proto tree API
Related with #17774.
2021-12-09 11:10:15 +00:00
João Valverde 5896dfe6af NFLOG: Convert to old proto tree API
Related with #17774.
2021-12-09 11:05:03 +00:00
João Valverde 175d5c8660 MINT: Convert to old proto tree API
Related with #17774.
2021-12-09 11:00:56 +00:00
João Valverde edfe072186 JSON: Convert to old proto tree API
Related with #17774.
2021-12-09 10:49:53 +00:00
João Valverde f6fb1c387f Gadu-Gadu: Convert to old proto tree API
Related with #17774.
2021-12-09 10:43:11 +00:00
João Valverde 497d03aedd ERSPAN: Convert to old proto tree API
Related with #17774.
2021-12-09 10:31:55 +00:00
João Valverde 6faf2450ea Bitcoin: Convert to old proto tree API
Related with #17774.
2021-12-09 10:31:55 +00:00
João Valverde a0d5bd67e6 GIF: Convert to old proto tree API
Related with #17774.
2021-12-09 10:31:55 +00:00
João Valverde b9ed05f6b8 HPEXT: Convert to old proto tree API
Related with #17774.
2021-12-09 10:31:55 +00:00
João Valverde 165384f74f FCDNS: Convert to old proto tree API
Related with #17774.
2021-12-09 10:31:55 +00:00
João Valverde db5071b647 daytime: Convert to old proto tree API
Related with #17774.
2021-12-09 10:31:55 +00:00
John Thacker c648a40751 RTSP: Parse the status code correctly for taps
The end pointer for get_token_len needs to be the line end.
Using a fixed length of 5 won't actually get the version token.
Fixes geting the response codes for the RTSP tapes, instead
of response messages being assigned as Other.
2021-12-09 05:23:05 +00:00
João Valverde eb66d83961 ACAP: Convert to old proto tree API
Related with #17774.
2021-12-09 01:50:56 +00:00
João Valverde 6fd4777e56 PNG: Convert to old proto tree API
Related with #17774.
2021-12-09 01:44:02 +00:00
João Valverde 4221079a57 URL Encoded: Convert to old proto tree API
Related with #17774.
2021-12-09 01:35:03 +00:00
João Valverde 2eba768440 JPEG: Convert to old proto tree API
Related with #17774.
2021-12-09 01:30:55 +00:00
João Valverde 5dec1fc8b4 PEEKREMOTE: Convert to old proto tree API
Related with #17774.
2021-12-09 01:22:36 +00:00
João Valverde c560ff4d1a 2dparityfec: Convert to old proto tree API
Related with #17774.
2021-12-09 01:12:00 +00:00
João Valverde baf2d67063 Data: Convert to old proto tree API
Related with #17774.
2021-12-09 01:03:33 +00:00
João Valverde f613998690 XCSL: Convert to old proto tree API
Related with #17774.
2021-12-09 00:52:48 +00:00
João Valverde 6b9a77e298 TALI: Convert to old proto tree API
Related with #17774.
2021-12-09 00:52:48 +00:00
João Valverde 0fce83f3a0 STAT: Convert to old proto tree API
Related with #17774.
2021-12-09 00:52:48 +00:00
João Valverde 27794a81b8 Rwall: Convert to old proto tree API
Related with #17774.
2021-12-09 00:52:48 +00:00
João Valverde 5a39ec0aec Rsync: Convert to old proto tree API
Related with #17774.
2021-12-09 00:52:48 +00:00
João Valverde 0689830499 Redback: Convert to old proto tree API
Related with #17774.
2021-12-09 00:52:48 +00:00
João Valverde be1edbfeee RIP: Fix a pre-commit check
epan/dissectors/packet-rip.c:  FT_UINT8:         proto_tree_add_item( rip_authentication_tree, hf_rip_zero_padding, tvb, offset+12, 8, [[ENC_NA]-->[ENC_ASCII|ENC_NA]]);
2021-12-09 00:33:37 +00:00
João Valverde 0080335d24 RIP: Convert to old proto API
Related with #17774.
2021-12-09 00:33:36 +00:00
João Valverde 2fafa27759 SLL: Fix a pre-commit check
epan/dissectors/packet-sll.c:  FT_ETHER:         proto_tree_add_item(tree, hf_sll_unused, tvb, ha_offset + ha_len,    SLL_ADDRLEN - ha_len, [[ENC_BIG_ENDIAN]-->[ENC_NA]]);
2021-12-09 00:05:03 +00:00
João Valverde 4cb12c84fa SLL: Convert to old proto tree API
Related with #17774.
2021-12-09 00:04:25 +00:00
João Valverde 9bca9820b4 Fix some file permissions 2021-12-08 20:33:29 +00:00
João Valverde 5a440f7178 VLAN: Convert to old proto tree API
Related to #17774.
2021-12-08 19:45:56 +00:00
João Valverde 3ea1a354e7 UDP: Convert to old proto API
Related with #17774.
2021-12-08 19:13:06 +00:00
João Valverde 95b7c4fd28 UDP: Fix indentation and convert to 4-space 2021-12-08 16:44:14 +00:00
John Thacker 91bf99405a ieee80211: Pass association_sanity_check to dissect_mgt_action
Once again pass the association_sanity_check_t for MGT_ACTION
frames the way it was before commit fb2a0b4a71
introduced a new function. Fixes #17767.
2021-12-07 20:23:55 -05:00
John Thacker 06c1bbb2be gsm_map: stat table formatting in cli
The TABLE_ITEM_FLOATs (Avg Bytes, etc.) in the stat table need a float
format string, or else unpredictable output happens with tshark.
2021-12-06 23:15:55 -05:00
Martin Mathieson 2189490151 PDCP-NR: For broadcast PDU, don't dissect header and MAC 2021-12-06 18:35:24 +00:00
Nardi Ivan 7cc0f7fe28 QUIC: fix visualization of some (rare) versions
QUIC V1 keys/constants are defined in draft-33; draft-34 only contains
minor editorial changes.
Nonetheless, some QUIC implementations (i.e. picoquic) announce draft-33
and draft-34 versions in their VN Transport Parameter.
For example see packet 2 in the trace attached to 968fe6ddba.
2021-12-06 15:02:21 +00:00