summaryrefslogtreecommitdiff
path: root/net/netfilter/xt_nfacct.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-08-05 12:38:44 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-08-07 11:50:50 +0200
commitd2168e849ebf617b2b7feae44c0c0baf739cb610 (patch)
tree7bc6f8c3bab6d1669af7ac6263a606d2b17499fa /net/netfilter/xt_nfacct.c
parent8bdf3626425520e9bc55996d5d46f60e12dd3ad7 (diff)
netfilter: nft_limit: add per-byte limiting
This patch adds a new NFTA_LIMIT_TYPE netlink attribute to indicate the type of limiting. Contrary to per-packet limiting, the cost is calculated from the packet path since this depends on the packet length. The burst attribute indicates the number of bytes in which the rate can be exceeded. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/xt_nfacct.c')
0 files changed, 0 insertions, 0 deletions