aboutsummaryrefslogtreecommitdiffstats
path: root/doc/editcap.pod
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-07-12 08:16:45 +0000
committerGuy Harris <guy@alum.mit.edu>2001-07-12 08:16:45 +0000
commitfa31197bd0d5a02e67cf4bf629446b1b17cc69f6 (patch)
tree0594acbadd7ad8be696e9081c093659252a91940 /doc/editcap.pod
parentdd3fcb36ecf32119aa34dcdefbb0922f4ee85eac (diff)
"-t" flag for editcap, to adjust timestamps in frames, from Scott
Renfro. svn path=/trunk/; revision=3696
Diffstat (limited to 'doc/editcap.pod')
-rw-r--r--doc/editcap.pod14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/editcap.pod b/doc/editcap.pod
index b19fde905e..fbb681b80d 100644
--- a/doc/editcap.pod
+++ b/doc/editcap.pod
@@ -11,6 +11,7 @@ S<[ B<-T> encapsulation type ]>
S<[ B<-r> ]>
S<[ B<-v> ]>
S<[ B<-s> snaplen ]>
+S<[ B<-t> time adjustment ]>
S<[ B<-h> ]>
I<infile>
I<outfile>
@@ -61,6 +62,15 @@ appear to reject Ethernet frames larger than the standard Ethernet MTU,
making them incapable of handling gigabit Ethernet captures if jumbo
frames were used).
+If the B<-t> flag is used to specify a time adjustment, the specified
+adjustment will be applied to all selected frames in the capture file.
+The adjustment is specified as [-]I<seconds>[I<.fractional seconds>].
+For example, B<-t> 3600 advances the timestamp on selected frames by one
+hour while B<-t> -0.5 reduces the timestamp on selected frames by
+one-half second. This feature is useful when synchronizing dumps
+collected on different machines where the time difference between the
+two machines is known or can be estimated.
+
If the B<-T> flag is used to specify an encapsulation type, the
encapsulation type of the output capture file will be forced to the
specified type, rather than being the type appropriate to the
@@ -98,6 +108,10 @@ Causes B<editcap> to print a number of messages while it's working.
Sets the snapshot length to use when writing the data.
+=item -t
+
+Sets the time adjustment to use on selected frames.
+
=item -h
Prints the version and options and exits.