path: root/include/set.h
diff options
authorPablo Neira Ayuso <>2016-11-27 23:27:04 +0100
committerPablo Neira Ayuso <>2016-12-09 14:50:53 +0100
commitf5f62341e21644b42554f84e4893341ac989e833 (patch)
tree7ee3746af528a47b6f17003d110bee55d6f565dc /include/set.h
parentb4edb4fc558ac177b66a867fa058c7624840d895 (diff)
set: add NFTNL_SET_OBJ_TYPE attribute
This new attribute specifies the stateful object type this set stores. Similar to data type, but specific to store objects. You must set the NFT_SET_OBJECT flag to use this. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include/set.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/set.h b/include/set.h
index 85bd389..c6deb73 100644
--- a/include/set.h
+++ b/include/set.h
@@ -14,6 +14,7 @@ struct nftnl_set {
uint32_t key_len;
uint32_t data_type;
uint32_t data_len;
+ uint32_t obj_type;
struct {
void *data;
uint32_t len;