Wireshark-commits: [Wireshark-commits] master 846bb53: Add a Buffer to wtap_pkthdr to hold file-typ

Date Prev · Date Next · Thread Prev · Thread Next
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 1 Dec 2014 00:31:06 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=846bb5394812c39359dfdbbf7e8755a7e3cf5326
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

846bb53 by Guy Harris (guy@xxxxxxxxxxxx):

    Add a Buffer to wtap_pkthdr to hold file-type-specific packet metadata.
    
    For example, this can be used for pcap-ng options not mapped to
    file-type-independent metadata values.
    
    Change-Id: I398b324c62c1cc1cc61eb5e9631de00481b4aadc
    Reviewed-on: https://code.wireshark.org/review/5549
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  35b1bc5   win32: use target file format when checking if it supports comments
    adds  846bb53   Add a Buffer to wtap_pkthdr to hold file-type-specific packet metadata.


Summary of changes:
 file.c                     |   19 +++-
 frame_tvbuff.c             |    4 +-
 rawshark.c                 |    4 +-
 reordercap.c               |   23 ++---
 tfshark.c                  |    4 +-
 tshark.c                   |    4 +-
 ui/gtk/packet_list_store.c |    3 +-
 ui/proto_hier_stats.c      |    3 +-
 wiretap/pcapng.c           |  206 ++++++++++++++++++++++++++++++++++----------
 wiretap/pcapng_module.h    |   13 +++
 wiretap/wtap.c             |   13 +++
 wiretap/wtap.h             |   37 +++++---
 12 files changed, 254 insertions(+), 79 deletions(-)