summaryrefslogtreecommitdiffstats
path: root/include/libnftnl/set.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2014-04-08 12:32:14 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-05-19 12:13:50 +0200
commit26298a9ffc2e216fb6d349b398bf903dd08a1b08 (patch)
tree7ca1eae092dcef9ffa51a37844caf863df89a7ad /include/libnftnl/set.h
parent2a288a38da25f5b2f0a4083a5158ba80d6bb8360 (diff)
set: add set ID support
Add the set ID (u32) which allows us to uniquely identify the set in the batch that is sent to kernel-space. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftnl/set.h')
-rw-r--r--include/libnftnl/set.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnftnl/set.h b/include/libnftnl/set.h
index a975f1c..4d08f16 100644
--- a/include/libnftnl/set.h
+++ b/include/libnftnl/set.h
@@ -17,6 +17,7 @@ enum {
NFT_SET_ATTR_DATA_TYPE,
NFT_SET_ATTR_DATA_LEN,
NFT_SET_ATTR_FAMILY,
+ NFT_SET_ATTR_ID,
__NFT_SET_ATTR_MAX
};
#define NFT_SET_ATTR_MAX (__NFT_SET_ATTR_MAX - 1)