Wireshark-commits: [Wireshark-commits] master 8b72091: Calculate *Peek tagged timestamps in fixed-p
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8b720910d2ae04aab24709cf30363e9f064e2c63
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
8b72091 by Guy Harris (guy@xxxxxxxxxxxx):
Calculate *Peek tagged timestamps in fixed-point.
Add a variant of filetime_to_nstime() that takes a value that's like a
FILETIME but in units of nanoseconds rather than tenths of a
microsecond, and use that. (It looks as if they might just get FILETIME
values from the OS and multiply them by 100, as the nanosecond-FILETIME
values appear to be multiples of 100 in the captures I've seen, but they
might have chosen nanosecond resolution in case they need to support a
higher-resolution time stamp source, so we don't assume that the values
will always be a multiple of 100.)
Change-Id: If6a1cb2cb673688b042eb113b79cfd267f5454a5
Reviewed-on: https://code.wireshark.org/review/8150
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from c35f2cc reassembly: address a 15-year old XXX comment
adds 8b72091 Calculate *Peek tagged timestamps in fixed-point.
Summary of changes:
wiretap/peektagged.c | 24 ++++---------
wsutil/nstime.c | 92 ++++++++++++++++++++++++++++++++++++--------------
wsutil/nstime.h | 5 +++
3 files changed, 78 insertions(+), 43 deletions(-)