diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/buffer.h | 1 | ||||
-rw-r--r-- | include/libnftnl/expr.h | 1 | ||||
-rw-r--r-- | include/linux/netfilter/nf_tables.h | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/include/buffer.h b/include/buffer.h index a5bd039..cc4bfbc 100644 --- a/include/buffer.h +++ b/include/buffer.h @@ -38,6 +38,7 @@ int nftnl_buf_reg(struct nftnl_buf *b, int type, union nftnl_data_reg *reg, #define BASE "base" #define BYTES "bytes" +#define BURST "burst" #define CHAIN "chain" #define CODE "code" #define DATA "data" diff --git a/include/libnftnl/expr.h b/include/libnftnl/expr.h index d9090ff..7758920 100644 --- a/include/libnftnl/expr.h +++ b/include/libnftnl/expr.h @@ -150,6 +150,7 @@ enum { enum { NFTNL_EXPR_LIMIT_RATE = NFTNL_EXPR_BASE, NFTNL_EXPR_LIMIT_UNIT, + NFTNL_EXPR_LIMIT_BURST, }; enum { diff --git a/include/linux/netfilter/nf_tables.h b/include/linux/netfilter/nf_tables.h index a99e6a9..7b32de3 100644 --- a/include/linux/netfilter/nf_tables.h +++ b/include/linux/netfilter/nf_tables.h @@ -761,11 +761,13 @@ enum nft_ct_attributes { * * @NFTA_LIMIT_RATE: refill rate (NLA_U64) * @NFTA_LIMIT_UNIT: refill unit (NLA_U64) + * @NFTA_LIMIT_BURST: burst (NLA_U32) */ enum nft_limit_attributes { NFTA_LIMIT_UNSPEC, NFTA_LIMIT_RATE, NFTA_LIMIT_UNIT, + NFTA_LIMIT_BURST, __NFTA_LIMIT_MAX }; #define NFTA_LIMIT_MAX (__NFTA_LIMIT_MAX - 1) |