diff options
author | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-04-14 06:54:55 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-04-14 06:54:55 +0000 |
commit | dd4d9577333c0a748445204d981295d49e593bb2 (patch) | |
tree | 80d085ad6e3f7acaa81f4bd58bcc11adacaf1753 | |
parent | f4862451c892d66edb53dad79a136cf152cd1df6 (diff) |
[PATCH 6/8] RATEEST: add manpage
-rw-r--r-- | extensions/libxt_RATEEST.c | 5 | ||||
-rw-r--r-- | extensions/libxt_RATEEST.man | 11 |
2 files changed, 13 insertions, 3 deletions
diff --git a/extensions/libxt_RATEEST.c b/extensions/libxt_RATEEST.c index 4f52c2e..dd7b503 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 0000000..6ad802c --- /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 |