wireshark/epan/dissectors/asn1
Michael Mann 01d7793976 Add proto_tree_add_item_ret_time_string
A few dissectors need the functionality of adding a time field to a proto_tree
while also needing the "time to string" value (typically to show on a tree above).
The functionality to do "get value from tvb and convert to string" was being done
in packet-ntp.c.
Instead proto_tree_add_item_ret_time_string can be used with various encoding to
get the necessary functionality with less code duplication.

ENC_TIME_MIP6 was added as a result of the refactoring.
ABSOLUTE_TIME_NTP_UTC was added as another potential "base" type for time fields.

Change-Id: Ie460c33370b0af59ef60bdab893ce9d6eb23b94f
Reviewed-on: https://code.wireshark.org/review/34390
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-29 13:31:48 +00:00
..
HI2Operations H2Operations: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang 2019-01-06 17:16:29 +00:00
acp133
acse
ain HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
ansi_map HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
ansi_tcap epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
atn-cm HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
atn-cpdlc HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
atn-ulcs HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
c1222 HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
camel epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
cbrs-oids CBRS-OIDs: adding Citizens Broadband Radio Service Object Identifiers 2018-11-15 05:37:12 +00:00
cdt
charging_ase
cmip
cmp CMP: adding p10cr PKIbody dissection 2018-10-04 11:23:43 +00:00
cms CMS: adding algor OIDs and respective parameters 2018-08-16 15:07:56 +00:00
credssp Start renaming SSL to TLS. 2018-09-13 22:37:52 +00:00
crmf CRMF: Handle 64 bit serialNumber 2019-04-15 13:15:36 +00:00
dap Add tvb_ascii_isprint API 2018-10-21 07:55:40 +00:00
disp
dop
dsp
e1ap HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
ess
f1ap HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
ftam
glow
goose
gprscdr HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
gsm_map GSM MAP: Fix dissection of authenticationSet in SentParameterList 2019-05-14 11:48:56 +00:00
h225 HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
h235 epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
h245 epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
h248 epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
h282
h283
h323
h450 epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
h450-ros
h460
h501
hnbap
idmp
ieee1609dot2 HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
ilp Switch my contact address 2019-02-01 21:16:19 +00:00
inap HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
isdn-sup
its HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
kerberos HTTPS In Still More Places, update more URLs. 2019-07-27 22:56:35 +00:00
lcsap HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
ldap Try to fix Wpointer-sign warnings. 2019-08-14 20:10:45 +00:00
lnpdqp lnpdqp: Get rid of warnings. 2018-11-19 13:11:13 +00:00
logotypecertextn epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
lpp LPP: get rid of duplicate bit string decoding 2019-07-12 16:22:31 +00:00
lppa LPPa: upgrade dissector to v15.2.1 2019-06-19 18:19:16 +00:00
lppe Switch my contact address 2019-02-01 21:16:19 +00:00
lte-rrc XnAP: upgrade dissector to v15.4.0 2019-07-19 12:46:44 +00:00
m2ap Switch my contact address 2019-02-01 21:16:19 +00:00
m3ap Add proto_tree_add_item_ret_time_string 2019-08-29 13:31:48 +00:00
mms
mpeg-audio
mpeg-pes
mudurl
nbap nbap: add sanity checks when accessing arrays via num_items. 2019-03-10 06:55:26 +00:00
ngap HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
nist-csor NIST-CSOR: ASN.1 dissector for NIST Computer Security Objects Register defined OIDs and their parameeters 2018-08-17 06:52:17 +00:00
novell_pkis
nr-rrc XnAP: upgrade dissector to v15.4.0 2019-07-19 12:46:44 +00:00
nrppa NRPPa: Add dissector for TS 38.455 V15.2.1 2019-06-17 13:12:20 +00:00
ns_cert_exts
ocsp
p1 HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
p7
p22
p772
pcap
pkcs1
pkcs10 PKCS10/pkix1explict: adding PKCS#9 OIDs 2018-11-13 14:54:57 +00:00
pkcs12
pkinit
pkix1explicit PKIX1EXPLICIT: Fixing Attribute and AttributeTypeAndValue ASN.1 cnf 2018-11-13 17:58:08 +00:00
pkix1implicit
pkixac
pkixproxy
pkixqualified
pkixtsp
pres
q932 epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
q932-ros
qsig epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
ranap HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
rnsap
ros epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
rrc RRC: Remove duplicate dissection of algorithm cap bitmaps 2019-07-13 13:43:29 +00:00
rrlp
rtse HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
rua
s1ap HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
sabp
sbc-ap HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
smrse
snmp HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
spnego HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
sv SV: Fix handling data length 2018-10-25 14:13:50 +00:00
t38 epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
t124
t125 T125: avoid returning from TRY/CATCH in dissect_t125_heur 2018-10-10 04:07:05 +00:00
tcap HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
tcg-cp-oids Adding dissector for OIDs used in TCG X.509 Certificates 2018-10-03 03:49:44 +00:00
tetra
ulp ULP: get rid of duplicate bit string decoding 2019-07-12 16:22:42 +00:00
wlancertextn
x2ap X2AP: upgrade dissector to v15.6.0 2019-07-16 22:27:50 +00:00
x509af ASN.1: Use proto_tree_add_bitmask... () for named bits. 2019-04-03 14:53:08 +00:00
x509ce HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
x509if
x509sat
x721
xnap XnAP: upgrade dissector to v15.4.0 2019-07-19 12:46:44 +00:00
z3950 HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
.gitignore
CMakeLists.txt NRPPa: Add dissector for TS 38.455 V15.2.1 2019-06-17 13:12:20 +00:00
CMakeListsCustom.example.txt