From c871a24514acf5552b816d40845cc11bb40ca9a7 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 24 Nov 2001 08:14:12 +0000 Subject: Support for time stamping packets in text2pcap, from Gordon McKinney. svn path=/trunk/; revision=4252 --- doc/text2pcap.pod | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/text2pcap.pod') 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 I @@ -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 is a +format string of the sort supported by L. +Example: The time "10:15:14.5476" has the format code "%H:%M:%S." + +B 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 -- cgit v1.2.1