diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-07-01 18:23:08 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-07-02 01:23:50 +0000 |
commit | e9dc611e4fbbd4c4f86dc546c11c096fd0870af0 (patch) | |
tree | 5c2ef44bcf87216c75e5bf1ad47eb37bb2935a89 /epan/proto.h | |
parent | 8fa7d54edc31c406464e15674a03be2dacad4642 (diff) |
Update a comment.
Change-Id: I867e344b75281e4faa0998f71d8d99b364d5a1f8
Reviewed-on: https://code.wireshark.org/review/28562
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/epan/proto.h b/epan/proto.h index b750ae2ff2..b6b60af195 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -348,10 +348,14 @@ void proto_report_dissector_bug(const char *format, ...) * * We now support: * - * ENC_TIME_TIMESPEC - 8 bytes; the first 4 bytes are seconds and the - * next 4 bytes are nanoseconds. If the time is absolute, the seconds - * are seconds since the UN*X epoch (1970-01-01 00:00:00 UTC). (I.e., - * a UN*X struct timespec with a 4-byte time_t.) + * ENC_TIME_TIMESPEC - 8, 12, or 16 bytes. For 8 bytes, the first 4 bytes + * are seconds and the next 4 bytes are nanoseconds; for 12 bytes, the + * first 8 bytes are seconds and the next 4 bytes are nanoseconds; for + * 16 bytes, the first 8 bytes are seconds and the next 8 bytes are + * nanoseconds. If the time is absolute, the seconds are seconds since + * the UN*X epoch (1970-01-01 00:00:00 UTC). (I.e., a UN*X struct + * timespec with a 4-byte or 8-byte time_t or a structure with an + * 8-byte time_t and an 8-byte nanoseconds field.) * * ENC_TIME_NTP - 8 bytes; the first 4 bytes are seconds since the NTP * epoch (1901-01-01 00:00:00 GMT) and the next 4 bytes are 1/2^32's of |