diff options
author | Vishwanath Pai <vpai@akamai.com> | 2016-09-22 12:43:44 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-09-25 14:54:06 +0200 |
commit | 11d5f15723c9f39d7c131d0149d024c17dbef676 (patch) | |
tree | 25daeeeaca4387aff480c28548039adb60c21d8f /drivers/uio | |
parent | 0dc60a4546fefc6dc9f54abf60beeeb3501726fa (diff) |
netfilter: xt_hashlimit: Create revision 2 to support higher pps rates
Create a new revision for the hashlimit iptables extension module. Rev 2
will support higher pps of upto 1 million, Version 1 supports only 10k.
To support this we have to increase the size of the variables avg and
burst in hashlimit_cfg to 64-bit. Create two new structs hashlimit_cfg2
and xt_hashlimit_mtinfo2 and also create newer versions of all the
functions for match, checkentry and destroy.
Some of the functions like hashlimit_mt, hashlimit_mt_check etc are very
similar in both rev1 and rev2 with only minor changes, so I have split
those functions and moved all the common code to a *_common function.
Signed-off-by: Vishwanath Pai <vpai@akamai.com>
Signed-off-by: Joshua Hunt <johunt@akamai.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions