summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2014-07-14 10:41:26 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-07-24 12:49:13 +0200
commitff629597aa2c54a674fd5b4141d6038e9ecd44e3 (patch)
tree027e5f22787b0a8fc7fd017f01418aec7de1fdc4 /include
parent367cbfaae87c1f539c729b0653d920701beac3be (diff)
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 <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/libnftnl/set.h2
1 files changed, 2 insertions, 0 deletions
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)