From ff629597aa2c54a674fd5b4141d6038e9ecd44e3 Mon Sep 17 00:00:00 2001 From: Arturo Borrero Date: Mon, 14 Jul 2014 10:41:26 +0200 Subject: set: add support for set mechanism selection This patch adds support to select the set mechanism. The kernel support was added in commit: c50b960 netfilter: nf_tables: implement proper set selection Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Pablo Neira Ayuso --- include/libnftnl/set.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/libnftnl/set.h b/include/libnftnl/set.h index 4d08f16..864a803 100644 --- a/include/libnftnl/set.h +++ b/include/libnftnl/set.h @@ -18,6 +18,8 @@ enum { NFT_SET_ATTR_DATA_LEN, NFT_SET_ATTR_FAMILY, NFT_SET_ATTR_ID, + NFT_SET_ATTR_POLICY, + NFT_SET_ATTR_DESC_SIZE, __NFT_SET_ATTR_MAX }; #define NFT_SET_ATTR_MAX (__NFT_SET_ATTR_MAX - 1) -- cgit v1.2.3