diff options
author | Chuck Craft <bubbasnmp@gmail.com> | 2022-04-12 20:51:36 -0500 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-04-14 15:18:30 +0000 |
commit | 4e0cd3dbd24e572b6219965dc2508b615a9d447d (patch) | |
tree | b0a5755d3382adfb8955a4aad69cfdf90e699497 /doc | |
parent | cef02cc3a0fdfd7ed7ac35fcae42a158ef618a31 (diff) |
epan: add ENC_TIME_USECS timestamp encoding
Needed to format timestamp in #18038 - packet-cql.c
Mirrors changes made in !1924 - Add ENC_TIME_NSECS timestamp encoding
Documentation in README.dissector, proto.c, proto.h - could use
refresh in a different merge request.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.dissector | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/README.dissector b/doc/README.dissector index 8232b28dd5..63fa648f75 100644 --- a/doc/README.dissector +++ b/doc/README.dissector @@ -1582,6 +1582,9 @@ encodings that are currently supported are: ENC_TIME_MSECS - 6 to 8 bytes, representing a value in milliseconds since the UN*X epoch. + ENC_TIME_USECS - 8 bytes, representing a value in microseconds since + the UN*X epoch. + ENC_TIME_NSECS - 8 bytes, representing a value in nanoseconds since the UN*X epoch. @@ -1595,7 +1598,7 @@ encodings that are currently supported are: ENC_TIME_MSEC_NTP - 4-8 bytes, representing a count of milliseconds since the NTP epoch. - ENC_MIP6 - 8 bytes; the first 48 bits are seconds since the UN*X epoch + ENC_TIME_MIP6 - 8 bytes; the first 48 bits are seconds since the UN*X epoch and the remaining 16 bits indicate the number of 1/65536's of a second since that second. @@ -1619,6 +1622,8 @@ encodings that are currently supported are: ENC_TIME_MSECS - 6 to 8 bytes, representing a value in milliseconds. + ENC_TIME_USECS - 8 bytes, representing a value in microseconds. + ENC_TIME_NSECS - 8 bytes, representing a value in nanoseconds. For other types, there is no support for proto_tree_add_item(). |