summaryrefslogtreecommitdiff
path: root/doc/text2pcap.pod
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-11-24 08:14:12 +0000
committerGuy Harris <guy@alum.mit.edu>2001-11-24 08:14:12 +0000
commitc871a24514acf5552b816d40845cc11bb40ca9a7 (patch)
tree193e3364fe4bea8d3b55fd2076058851c2fbd7b2 /doc/text2pcap.pod
parent73fc903278dc638f562774b4f0607a2071a66eeb (diff)
downloadwireshark-c871a24514acf5552b816d40845cc11bb40ca9a7.tar.gz
Support for time stamping packets in text2pcap, from Gordon McKinney.
svn path=/trunk/; revision=4252
Diffstat (limited to 'doc/text2pcap.pod')
-rw-r--r--doc/text2pcap.pod10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/text2pcap.pod b/doc/text2pcap.pod
index 372af834a2..6ce266091b 100644
--- a/doc/text2pcap.pod
+++ b/doc/text2pcap.pod
@@ -13,6 +13,7 @@ S<[ B<-l> typenum ]>
S<[ B<-e> l3pid ]>
S<[ B<-i> proto ]>
S<[ B<-u> srcport,destport ]>
+S<[ B<-t> timefmt ]>
I<infile>
I<outfile>
@@ -132,6 +133,15 @@ IP or Ethernet headers. Note that this automatically includes
appropriate Ethernet and IP headers with each packet. Example: I<-u
1000,69> to make the packets look like TFTP/UDP packets.
+=item -t timefmt
+
+Treats the text before the packet as a date/time code; I<timevmt> is a
+format string of the sort supported by L<strptime(3)>.
+Example: The time "10:15:14.5476" has the format code "%H:%M:%S."
+
+B<NOTE:> The subsecond component delimiter must be specified (.) but no
+pattern is required; the remaining number is assumed to be fractions of
+a second.
=head1 SEE ALSO