Wireshark-commits: [Wireshark-commits] master 4e97f74: Add support for adding unit names to hf_ fie
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 13 Dec 2016 13:09:04 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4e97f74f1156db5c2cb139a404bc6423cebf7236
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

4e97f74 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Add support for adding unit names to hf_ fields.
    
    This was inspired by the https://www.wireshark.org/lists/wireshark-dev/201505/msg00029.html thread.
    
    Used TCP and NTP dissectors as the guinea pig with sample use.
    
    Documentation updates includes some unrelated cleanup just because it was noticed.
    
    Change-Id: I59b26e1ca3b95e3473e4757f1759d7ad82976965
    Reviewed-on: https://code.wireshark.org/review/19211
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  97b41a4   [RTP Analysis] calculate BW correctly whem IPv6 is used.
    adds  4e97f74   Add support for adding unit names to hf_ fields.


Summary of changes:
 debian/libwireshark0.symbols   |   10 ++
 doc/README.dissector           |   34 +++++-
 docbook/release-notes.asciidoc |    3 +
 epan/CMakeLists.txt            |    1 +
 epan/Makefile.am               |    2 +
 epan/dissectors/packet-ntp.c   |   18 +--
 epan/dissectors/packet-tcp.c   |    5 +-
 epan/packet.h                  |    1 +
 epan/proto.c                   |  239 ++++++++++++++++++++++++++++++----------
 epan/proto.h                   |    1 +
 epan/unit_strings.c            |   69 ++++++++++++
 epan/unit_strings.h            |   75 +++++++++++++
 12 files changed, 381 insertions(+), 77 deletions(-)
 create mode 100644 epan/unit_strings.c
 create mode 100644 epan/unit_strings.h