Blame SOURCES/0002-Give-more-details-for-time-stamp-precision.patch

ac9b3d
From 3699eaccf3e0833604d74fcd483152972721869a Mon Sep 17 00:00:00 2001
ac9b3d
From: Guy Harris <guy@alum.mit.edu>
ac9b3d
Date: Wed, 25 Jun 2014 11:45:29 -0700
ac9b3d
Subject: [PATCH 2/4] Give more details for --time-stamp-precision.
ac9b3d
ac9b3d
(cherry picked from commit e76768c97a70934b8f3a41fe2df705c61a924a47)
ac9b3d
ac9b3d
[msekleta: replaced .LP with .IP to fix indentation of paragraphs]
ac9b3d
---
ac9b3d
 tcpdump.1.in | 24 +++++++++++++++++-------
ac9b3d
 1 file changed, 17 insertions(+), 7 deletions(-)
ac9b3d
ac9b3d
diff --git a/tcpdump.1.in b/tcpdump.1.in
ac9b3d
index 6083474..4f0648c 100644
ac9b3d
--- a/tcpdump.1.in
ac9b3d
+++ b/tcpdump.1.in
ac9b3d
@@ -400,13 +400,23 @@ time stamp type cannot be set for the interface, no time stamp types are
ac9b3d
 listed.
ac9b3d
 .TP
ac9b3d
 .BI \-\-time\-stamp\-precision= tstamp_precision
ac9b3d
-.PD
ac9b3d
-Set the time stamp precision for the capture to
ac9b3d
-\fItstamp_precision\fP. Currently supported are microseconds and
ac9b3d
-nanoseconds. Note that availability of high precision time stamps (nanoseconds)
ac9b3d
-and their actual accuracy is platform and HW dependent. Also note that when
ac9b3d
-writing captures to the savefile, distinct magic number is used to distinguish
ac9b3d
-savefiles which contains time stamps in nanoseconds.
ac9b3d
+When capturing, set the time stamp precision for the capture to
ac9b3d
+\fItstamp_precision\fP.  Note that availability of high precision time
ac9b3d
+stamps (nanoseconds) and their actual accuracy is platform and hardware
ac9b3d
+dependent.  Also note that when writing captures made with nanosecond
ac9b3d
+accuracy to a savefile, the time stamps are written with nanosecond
ac9b3d
+resolution, and the file is written with a different magic number, to
ac9b3d
+indicate that the time stamps are in seconds and nanoseconds; not all
ac9b3d
+programs that read pcap savefiles will be able to read those captures.
ac9b3d
+.IP
ac9b3d
+When reading a savefile, convert time stamps to the precision specified
ac9b3d
+by \fItimestamp_precision\fP, and display them with that resolution.  If
ac9b3d
+the precision specified is less than the precision of time stamps in the
ac9b3d
+file, the conversion will lose precision.
ac9b3d
+.IP
ac9b3d
+The supported values for \fItimestamp_precision\fP are \fBmicro\fP for
ac9b3d
+microsecond resolution and \fBnano\fP for nanosecond resolution.  The
ac9b3d
+default is microsecond resolution.
ac9b3d
 .TP
ac9b3d
 .B \-K
ac9b3d
 Don't attempt to verify IP, TCP, or UDP checksums.  This is useful for
ac9b3d
-- 
ac9b3d
2.4.3
ac9b3d