Wireshark-commits: [Wireshark-commits] master 3a9b055: Add support for 8+8 and 8+4 struct timespec,

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 02 Jul 2018 01:11:26 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3a9b055f0438596ff4cd1bb98a794fec443c29e8
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

3a9b055 by Guy Harris (guy@xxxxxxxxxxxx):

    Add support for 8+8 and 8+4 struct timespec, and use it with 9P.
    
    Add support for 8-byte-seconds/8-byte-nanoseconds and 8-byte-seconds/
    4-byte-nanoseconds time values.  Use them in the 9P dissector, with
    proto_tree_add_item().
    
    Only do the length validity checking for time values in
    get_time_value().
    
    Change-Id: I0f1d791d7aa503093a491d2c33300bd55ca7866e
    Reviewed-on: https://code.wireshark.org/review/28560
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  332ec00   Use proto_tree_add_item() to add a seconds value.
    adds  3a9b055   Add support for 8+8 and 8+4 struct timespec, and use it with 9P.


Summary of changes:
 epan/dissectors/packet-9p.c |  41 ++++------------
 epan/proto.c                | 113 ++++++++++++++++++++++++++------------------
 2 files changed, 78 insertions(+), 76 deletions(-)