netfilter: Prepare xt_hashlimit.c for revision 2
Subsystems (3)
PATCH 1/3 netfilter: Prepare xt_hashlimit.c for revision 2
netfilter: Prepare xt_hashlimit.c for revision 2
I am planning to add a revision 2 for the hashlimit xtables module to support higher packets per second rates. This patch renames all the functions and variables related to revision 1 by adding _v1 at the end of the names.
Signed-off-by Vishwanath Pai <[email protected]>
include/uapi/linux/netfilter/xt_hashlimit.h +1 -1
@@ -5,7 +5,7 @@#include <linux/if.h> /* timings are in milliseconds. */ -#define XT_HASHLIMIT_SCALE 10000 +#define XT_HASHLIMIT_SCALE_v1 10000/* 1/10,000 sec period => max of 10,000/sec. Min rate is then 429490 * seconds, or one packet every 59 hours. */
net/netfilter/xt_hashlimit.c +31 -30
179 lines not on this page · raw message