Wireshark-commits: [Wireshark-commits] rev 39886: /trunk/wiretap/ /trunk/wiretap/: netmon.c

Date: Wed, 16 Nov 2011 17:54:44 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=39886

User: guy
Date: 2011/11/16 09:54 AM

Log:
 Support nanosecond-resolution time for NetMon 2.x format (it's only
 100-nanosecond resolution, but that's still better than microsecond
 resolution).
 
 For NetMon 1.x format, only claim to support millisecond resolution, as
 that's all you get.
 
 Fix handling of negative time deltas in NetMon 2.x format.
 
 When writing a NetMon file, trim the time of the first packet to
 millisecond precision to get the capture start time, so that the start
 time written to the file (which has millisecond precision) is the same
 as the start time used to calculate the deltas written to the packet
 headers.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +125 -41   netmon.c      Modified