Adjust proto_tree_add_uint_format_value calls to use unit string
authorMichael Mann <mmann78@netscape.net>
Tue, 13 Dec 2016 19:26:27 +0000 (14:26 -0500)
committerMichael Mann <mmann78@netscape.net>
Tue, 13 Dec 2016 22:56:50 +0000 (22:56 +0000)
commitb7f4e250599d7ea0452711d388c161fd4ef61c60
tree0eb636cef1c72912cef640148b680d8ddabbed2d
parenta869ec6f55160622a90bc437517dee91d57f85d5
Adjust proto_tree_add_uint_format_value calls to use unit string

Several calls to proto_tree_add_uint_format_value could be better served
using BASE_UNIT_STRING with a "unit string" in hf_ field.  There also
a few cases where proto_tree_add_uint_format_value could just be
proto_tree_add_uint.

Added a few more "common" unit string values to unit_strings.[ch]

Change-Id: Iaedff82c515269c9c31ab9100dff19f5563c932d
Reviewed-on: https://code.wireshark.org/review/19242
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Michael Mann <mmann78@netscape.net>
70 files changed:
debian/libwireshark0.symbols
epan/dissectors/file-jpeg.c
epan/dissectors/packet-ansi_801.c
epan/dissectors/packet-aodv.c
epan/dissectors/packet-bat.c
epan/dissectors/packet-batadv.c
epan/dissectors/packet-bfd.c
epan/dissectors/packet-bootp.c
epan/dissectors/packet-cattp.c
epan/dissectors/packet-cdp.c
epan/dissectors/packet-cip.c
epan/dissectors/packet-cipmotion.c
epan/dissectors/packet-dccp.c
epan/dissectors/packet-dhcp-failover.c
epan/dissectors/packet-dhcpv6.c
epan/dissectors/packet-dnp.c
epan/dissectors/packet-dsi.c
epan/dissectors/packet-ecmp.c
epan/dissectors/packet-ehdlc.c
epan/dissectors/packet-esis.c
epan/dissectors/packet-fcswils.c
epan/dissectors/packet-forces.c
epan/dissectors/packet-geneve.c
epan/dissectors/packet-gsm_a_dtap.c
epan/dissectors/packet-gsmtap.c
epan/dissectors/packet-gtpv2.c
epan/dissectors/packet-http.c
epan/dissectors/packet-idp.c
epan/dissectors/packet-ieee80211-netmon.c
epan/dissectors/packet-ieee80211-radio.c
epan/dissectors/packet-ieee80211-radiotap.c
epan/dissectors/packet-ieee80211.c
epan/dissectors/packet-igrp.c
epan/dissectors/packet-ip.c
epan/dissectors/packet-ipx.c
epan/dissectors/packet-ipxwan.c
epan/dissectors/packet-isakmp.c
epan/dissectors/packet-isup.c
epan/dissectors/packet-iwarp-ddp-rdmap.c
epan/dissectors/packet-iwarp-mpa.c
epan/dissectors/packet-kerberos4.c
epan/dissectors/packet-lat.c
epan/dissectors/packet-lmp.c
epan/dissectors/packet-nbt.c
epan/dissectors/packet-nfs.c
epan/dissectors/packet-nlsp.c
epan/dissectors/packet-opensafety.c
epan/dissectors/packet-ospf.c
epan/dissectors/packet-ppp.c
epan/dissectors/packet-ptp.c
epan/dissectors/packet-q2931.c
epan/dissectors/packet-q931.c
epan/dissectors/packet-q933.c
epan/dissectors/packet-rsvp.c
epan/dissectors/packet-rtps.c
epan/dissectors/packet-scsi-ssc.c
epan/dissectors/packet-scsi.c
epan/dissectors/packet-sflow.c
epan/dissectors/packet-slimp3.c
epan/dissectors/packet-spice.c
epan/dissectors/packet-stt.c
epan/dissectors/packet-tdmop.c
epan/dissectors/packet-tds.c
epan/dissectors/packet-trmac.c
epan/dissectors/packet-ua3g.c
epan/dissectors/packet-udp.c
epan/unit_strings.c
epan/unit_strings.h
plugins/gryphon/packet-gryphon.c
plugins/profinet/packet-pn-rtc-one.c