diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-08-03 15:56:27 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-23 12:16:53 +0200 |
commit | 174f4a120ec7644531728621cfab5ce7fdb481c3 (patch) | |
tree | 4b62dd210a739c7ac067044e63b7d34f6b4901bd /include/statement.h | |
parent | 6615676d825e02d271fe7a9ca78a77ac3773ab93 (diff) |
src: add burst parameter to limit
... limit rate 1024 mbytes/second burst 10240 bytes
... limit rate 1/second burst 3 packets
This parameter is optional.
You need a Linux kernel >= 4.3-rc1.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/statement.h')
-rw-r--r-- | include/statement.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/statement.h b/include/statement.h index d2d0852e..bead0a6f 100644 --- a/include/statement.h +++ b/include/statement.h @@ -52,6 +52,7 @@ struct limit_stmt { uint64_t rate; uint64_t unit; enum nft_limit_type type; + uint32_t burst; }; extern struct stmt *limit_stmt_alloc(const struct location *loc); |