diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-08-05 12:38:44 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-08-07 11:50:50 +0200 |
commit | d2168e849ebf617b2b7feae44c0c0baf739cb610 (patch) | |
tree | 7bc6f8c3bab6d1669af7ac6263a606d2b17499fa /include/net/atmclip.h | |
parent | 8bdf3626425520e9bc55996d5d46f60e12dd3ad7 (diff) | |
download | op-kernel-dev-d2168e849ebf617b2b7feae44c0c0baf739cb610.zip op-kernel-dev-d2168e849ebf617b2b7feae44c0c0baf739cb610.tar.gz |
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 'include/net/atmclip.h')
0 files changed, 0 insertions, 0 deletions