Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 4e17bd6: Use the dump parameters structure for non-pc

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 16 Nov 2018 02:18:32 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4e17bd6229a09c149c4e0ac7e5a090febfc15c10
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

4e17bd6 by Guy Harris (guy@xxxxxxxxxxxx):

    Use the dump parameters structure for non-pcapng-specific stuff.
    
    Use it for all the per-file information, including the per-file
    link-layer type and the per-file snapshot length.
    
    Change-Id: Id75687c7faa6418a2bfcf7f8198206a9f95db629
    Reviewed-on: https://code.wireshark.org/review/30616
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  658c30d   Always use the input file's encapsulation for the output file.
     add  4e17bd6   Use the dump parameters structure for non-pcapng-specific stuff.


Summary of changes:
 editcap.c                      | 59 ++++++++++++++++++++------------------
 epan/dissectors/packet-snort.c |  7 ++---
 epan/wslua/wslua_dumper.c      | 13 ++++-----
 extcap/androiddump.c           |  7 +++--
 file.c                         | 42 +++++++++++++++------------
 randpkt_core/randpkt_core.c    | 10 ++++---
 reordercap.c                   | 20 ++++++-------
 tshark.c                       | 54 ++++++++++++-----------------------
 ui/qt/import_text_dialog.cpp   |  6 ++--
 ui/tap_export_pdu.c            | 10 +++----
 wiretap/file_access.c          | 51 +++++++++++++++++----------------
 wiretap/merge.c                | 56 +++++++++++++-----------------------
 wiretap/nettrace_3gpp_32_423.c |  8 ++++--
 wiretap/wtap.c                 |  7 +++--
 wiretap/wtap.h                 | 65 +++++++++++++++++++-----------------------
 15 files changed, 194 insertions(+), 221 deletions(-)