Wireshark-commits: [Wireshark-commits] master 847c25c: Prime the epan_dissect_t with postdissector
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=847c25c5a7e7c5653870c4bd60625da1c64c86f1
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
847c25c by Guy Harris (guy@xxxxxxxxxxxx):
Prime the epan_dissect_t with postdissector wanted fields if necessary.
This makes sure that postdissectors that indicate that they need certain
fields in the first pass will get them.
While we're at it:
Fix the field-fetching code in TRANSUM not to assume it got any
instances of the field being fetched.
Rename process_packet_first_pass() in sharkd to process_packet(), as
it's the only routine in sharkd that processes packets.
Rename process_packet() in tshark and tfshark to
process_packet_single_pass(), as it's what's used if we're only doing
one-pass analysis.
Clean up comments and whitespace.
Change-Id: I3769af952c66f5ca4b68002ad6213858ab9cab9b
Reviewed-on: https://code.wireshark.org/review/21063
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 74f9b27 Changes to Connectivity TLV for Thread v1.1 plus a couple of minor bugfixes.
adds 847c25c Prime the epan_dissect_t with postdissector wanted fields if necessary.
Summary of changes:
epan/epan.c | 11 ++++
epan/epan.h | 5 ++
epan/packet.c | 19 +++++++
epan/packet.h | 10 ++--
file.c | 6 +++
plugins/transum/decoders.c | 124 +++++++++++++++++++++++++-------------------
sharkd.c | 8 ++-
tfshark.c | 121 ++++++++++++++++++++----------------------
tshark.c | 123 +++++++++++++++++++------------------------
9 files changed, 234 insertions(+), 193 deletions(-)