summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-03-27 05:48:14 +0100
committerPatrick McHardy <kaber@trash.net>2008-04-14 08:54:55 +0200
commitbce1c2159f8d24479e994a22561c0f97df4aec4d (patch)
tree80d085ad6e3f7acaa81f4bd58bcc11adacaf1753
parent7bc3cb7eec4c4db5edc4b503a5dfab799e0bce62 (diff)
RATEEST: add manpage
-rw-r--r--extensions/libxt_RATEEST.c5
-rw-r--r--extensions/libxt_RATEEST.man11
2 files changed, 13 insertions, 3 deletions
diff --git a/extensions/libxt_RATEEST.c b/extensions/libxt_RATEEST.c
index 4f52c2eb..dd7b5033 100644
--- a/extensions/libxt_RATEEST.c
+++ b/extensions/libxt_RATEEST.c
@@ -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
index 00000000..6ad802c8
--- /dev/null
+++ b/extensions/libxt_RATEEST.man
@@ -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