Wireshark-commits: [Wireshark-commits] master-1.12 9e82ac0: Calculate *Peek tagged timestamps in fi
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9e82ac0308169e0e806914aebcc488ff956a8f29
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark
Commits:
9e82ac0 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: I5f8279fd7585510796092e56f70aa6f89caba7f1
Reviewed-on: https://code.wireshark.org/review/8151
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 650e03e Get rid of trailing white space.
adds 9e82ac0 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(-)