diff options
author | Nicolás Alvarez <nicolas.alvarez@gmail.com> | 2021-02-03 18:12:29 -0300 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-02-10 12:45:54 +0000 |
commit | ebfbf958f6930b2dad486b33277470e8368dc111 (patch) | |
tree | 51cbba7ffd86acf0668bab96aaf70b3152db522e /doc | |
parent | 9dd74b2788272a9b650c733cedbb61f7e7ef9f27 (diff) |
Add ENC_TIME_NSECS timestamp encoding
Add a new timestamp encoding format ENC_TIME_NSECS, like ENC_TIME_SEC but
for nanosecond values. Needed for my work-in-progress dissector for Apple
push notifications.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.dissector | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/README.dissector b/doc/README.dissector index 422cdf6e1a..0e76c0f99d 100644 --- a/doc/README.dissector +++ b/doc/README.dissector @@ -1820,6 +1820,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_NSECS - 8 bytes, representing a value in nanoseconds since + the UN*X epoch. + ENC_TIME_SECS_NTP - 4 bytes, representing a count of seconds since the NTP epoch. @@ -1854,6 +1857,8 @@ encodings that are currently supported are: ENC_TIME_MSECS - 6 to 8 bytes, representing a value in milliseconds. + ENC_TIME_NSECS - 8 bytes, representing a value in nanoseconds. + For other types, there is no support for proto_tree_add_item(). Now that definitions of fields have detailed information about bitfield |