Wireshark-commits: [Wireshark-commits] master 8f515b1: Fix up time encodings.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 28 Mar 2017 10:19:08 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8f515b1a99d0043966a8d287cee38fe67e06d189
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

8f515b1 by Guy Harris (guy@xxxxxxxxxxxx):

    Fix up time encodings.
    
    Add some new encodings for absolute time stamps, and use them as
    appropriate; this fixes some cases where the time stamps in question
    were being dissected incorrectly.
    
    For the encodings with seconds and 1/2^32s of a second, don't
    arbitrarily give only microsecond resolution; 2^32 is greater than 1
    million, and, in fact, at least some NTP RFCs explicitly talk about time
    resolution greater than 1 microsecond.
    
    Update references in the RELOAD dissector to reflect the documents in
    question having been updated and published as RFCs.
    
    Change-Id: Icbe0b696d65eb622978eb71e99ddf699b84e4fca
    Reviewed-on: https://code.wireshark.org/review/20759
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  721182b   Qt: fix closing editor in capture interfaces dialog
    adds  8f515b1   Fix up time encodings.


Summary of changes:
 doc/README.dissector               |   58 ++++++-
 epan/dissectors/packet-bitcoin.c   |    8 +-
 epan/dissectors/packet-capwap.c    |    2 +-
 epan/dissectors/packet-diameter.c  |    2 +-
 epan/dissectors/packet-dns.c       |    2 +-
 epan/dissectors/packet-erf.c       |    2 +-
 epan/dissectors/packet-icmpv6.c    |    2 +-
 epan/dissectors/packet-netflow.c   |   18 +-
 epan/dissectors/packet-reload.c    |   20 +--
 epan/dissectors/packet-synphasor.c |    2 +-
 epan/proto.c                       |  322 +++++++++++++++++++++++++++---------
 epan/proto.h                       |   55 +++---
 12 files changed, 367 insertions(+), 126 deletions(-)