]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
RATEEST: add manpage
authorJan Engelhardt <jengelh@medozas.de>
Thu, 27 Mar 2008 04:48:14 +0000 (05:48 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 06:54:55 +0000 (08:54 +0200)
extensions/libxt_RATEEST.c
extensions/libxt_RATEEST.man [new file with mode: 0644]

index 4f52c2eb27780c24653d6e90c70489ddd01c876a..dd7b50339c9c89ae5cba02ecf8a3d5dcc8d6b0fe 100644 (file)
@@ -18,12 +18,11 @@ static void
 RATEEST_help(void)
 {
        printf(
-"RATEST target v%s options:\n"
+"RATEEST target options:\n"
 "  --rateest-name name         Rate estimator name\n"
 "  --rateest-interval sec      Rate measurement interval in seconds\n"
 "  --rateest-ewmalog value     Rate measurement averaging time constant\n"
-"\n",
-              IPTABLES_VERSION);
+"\n");
 }
 
 enum RATEEST_options {
diff --git a/extensions/libxt_RATEEST.man b/extensions/libxt_RATEEST.man
new file mode 100644 (file)
index 0000000..6ad802c
--- /dev/null
@@ -0,0 +1,11 @@
+The RATEEST target collects statistics, performs rate estimation calculation
+and saves the results for later evaluation using the \fBrateest\fP match.
+.TP
+\fB--rateest-name\fP \fIname\fP
+Count matched packets into the pool referred to by \fIname\fP, which is freely
+choosable.
+.TP
+\fB--rateest-interval\fP \fIamount\fP{\fBs\fP|\fBms\fP|\fBus\fP}
+Rate measurement interval, in seconds, milliseconds or microseconds.
+.TP
+\fB--rateest-ewmalog\fP \fIvalue\fP