From 997940bcfe5954ade589bf7648bad28db5c8ea0d Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 13 Jul 2001 08:16:16 +0000 Subject: Update from Scott Renfro to allow mergecap to merge multiple capture files into one capture file. svn path=/trunk/; revision=3714 --- doc/mergecap.pod | 48 ++++++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 22 deletions(-) (limited to 'doc/mergecap.pod') diff --git a/doc/mergecap.pod b/doc/mergecap.pod index 2de167c6d7..f0d7fda248 100644 --- a/doc/mergecap.pod +++ b/doc/mergecap.pod @@ -6,28 +6,28 @@ mergecap - Merges two capture files into one =head1 SYNOPSYS B -S<[ B<-F> file format ]> -S<[ B<-T> encapsulation type ]> +S<[ B<-F> I ]> +S<[ B<-T> I ]> S<[ B<-a> ]> S<[ B<-v> ]> -S<[ B<-s> snaplen ]> +S<[ B<-s> I ]> S<[ B<-h> ]> -I -I -I +S I> +I +I<...> =head1 DESCRIPTION -B is a program that reads two saved capture files and merges -all of the packets in those capture files into a third capture -file. B knows how to read B capture files, including -those of B. In addition, B can read capture files -from B (including B) and B, B, -B (compressed or uncompressed), Microsoft B, -AIX's B, B, B, B's WAN/LAN -analyzer, B router debug output, HP-UX's B, and -the dump output from B ISDN routers. There is no need to -tell B what type of file you are reading; it will determine the +B is a program that combines multiple saved capture files into +a single output file specified by the B<-w> argument. B knows +how to read B capture files, including those of B. In +addition, B can read capture files from B (including +B) and B, B, B (compressed or +uncompressed), Microsoft B, AIX's B, +B, B, B's WAN/LAN analyzer, +B router debug output, HP-UX's B, and the dump +output from B ISDN routers. There is no need to tell +B what type of file you are reading; it will determine the file type by itself. B is also capable of reading any of these file formats if they are compressed using gzip. B recognizes this directly from the file; the '.gz' extension is not @@ -43,12 +43,12 @@ SuSE Linux 6.3), B format, uncompressed B format, Microsoft B 1.x format, and the format used by Windows-based versions of the B software. -By default, the packets in the input files are merged in chronological -order based on each frame's timestamp, unless the B<-a> flag is -specified. B assumes that frames within a single capture file -are already stored in chronological order. When the B<-a> flag is -specified, all the packets from the first input capture file are output, -followed by all of the packets from the second input capture file. +Packets from the input files are merged in chronological order based on +each frame's timestamp, unless the B<-a> flag is specified. B +assumes that frames within a single capture file are already stored in +chronological order. When the B<-a> flag is specified, packets are +copied directly from each input file to the output file, independent of +each frame's timestamp. If the B<-s> flag is used to specify a snapshot length, frames in the input file with more captured data than the specified snapshot length @@ -75,6 +75,10 @@ fddi>' is specified). =over 4 +=item -w + +Sets the output filename. + =item -F Sets the file format of the output capture file. -- cgit v1.2.1