aboutsummaryrefslogtreecommitdiffstats
path: root/doc/editcap.pod
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-12-22 01:33:56 +0000
committerJörg Mayer <jmayer@loplof.de>2005-12-22 01:33:56 +0000
commit2241288ab57261b5f4ca8ae5dc73d8e82ecd17a3 (patch)
tree2dfee95bb4ec7c4b95f1d0c6a93b87398a17ddc1 /doc/editcap.pod
parent788e63c8d2bb2bca265a7b9841983c16f1e2b3fe (diff)
Jaap Keuter:
Add the documentation part of the fix for bug 379 svn path=/trunk/; revision=16876
Diffstat (limited to 'doc/editcap.pod')
-rw-r--r--doc/editcap.pod10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/editcap.pod b/doc/editcap.pod
index 0fb2206076..ac2c1a41ae 100644
--- a/doc/editcap.pod
+++ b/doc/editcap.pod
@@ -6,6 +6,7 @@ editcap - Edit and/or translate the format of capture files
=head1 SYNOPSYS
B<editcap>
+S<[ B<-c> packets per file]>
S<[ B<-E> error probability]>
S<[ B<-F> file format ]>
S<[ B<-h> ]>
@@ -135,6 +136,11 @@ specified as I<start>-I<end>, referring to all packets from I<start> to
I<end> (removing them all if B<-r> isn't specified, including them all
if B<-r> is specified).
+If the B<-c> flag is used to specify the amount of packets in a capture
+file, the output file will be created with a suffix -nnnnn. The suffix
+starts at 00000. No more then the specified number of packets are written
+in the output file before the next output file is opened.
+
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
will have only the amount of data specified by the snapshot length
@@ -175,6 +181,10 @@ be used for fuzz-testing protocol dissectors.
=over 4
+=item -c
+
+Sets the number of packets per output file.
+
=item -E
Sets the probabilty that bytes in the output file are randomly changed.