Wireshark-commits: [Wireshark-commits] master 318cf8a: Add support for dissecting non-packet record

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 25 May 2014 00:05:09 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=318cf8a6782d8911c7c2891c395062f98eb0a316
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

318cf8a by Guy Harris (guy@xxxxxxxxxxxx):

    Add support for dissecting non-packet records.
    
    Add a dissector table indexed by the file type, and, for the
    file-type-specific records, have the frame dissector skip the usual
    pseudo-header processing, as the pseudo-header has a file-type-specific
    record subtype in it, and call the dissector for that file type's
    records.
    
    Change-Id: Ibe97cf6340ffb0dabc08f355891bc346391b91f9
    Reviewed-on: https://code.wireshark.org/review/1782
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  6dffc3b   Distinguish between "events" and "reports".
    adds  318cf8a   Add support for dissecting non-packet records.


Summary of changes:
 epan/dissectors/packet-frame.c |  148 +++++++++++++++++++++++++---------------
 epan/epan.c                    |   14 ++--
 epan/epan.h                    |   10 +--
 epan/packet.c                  |   46 ++++++++++---
 epan/packet.h                  |    2 +-
 epan/packet_info.h             |    3 +-
 file.c                         |   32 ++++-----
 proto_hier_stats.c             |    2 +-
 rawshark.c                     |    2 +-
 tshark.c                       |    6 +-
 ui/gtk/iax2_analysis.c         |    4 +-
 ui/gtk/main.c                  |    7 +-
 ui/gtk/packet_list_store.c     |    2 +-
 ui/gtk/packet_win.c            |    9 +--
 ui/gtk/rlc_lte_graph.c         |    2 +-
 ui/gtk/rtp_analysis.c          |    2 +-
 ui/gtk/sctp_assoc_analyse.c    |    2 +-
 ui/qt/packet_list.cpp          |    2 +-
 ui/qt/packet_list_model.cpp    |    2 +-
 ui/tap-tcp-stream.c            |    2 +-
 20 files changed, 184 insertions(+), 115 deletions(-)