From bce1c2159f8d24479e994a22561c0f97df4aec4d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 27 Mar 2008 05:48:14 +0100 Subject: RATEEST: add manpage --- extensions/libxt_RATEEST.c | 5 ++--- extensions/libxt_RATEEST.man | 11 +++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 extensions/libxt_RATEEST.man 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 -- cgit v1.2.3