summaryrefslogtreecommitdiffstats
path: root/include/set_elem.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-11-27 23:27:07 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2016-12-09 14:50:53 +0100
commiteffb75d1f60a46af62fed244a6243bcd4e34a75e (patch)
treedb5b14dde9d3d557b4e3f1d2351202a6c7a6c8f9 /include/set_elem.h
parentf5f62341e21644b42554f84e4893341ac989e833 (diff)
set_elem: add NFTNL_SET_ELEM_OBJREF attribute
This new attribute allows us to attach stateful objects to elements for map lookups. This new attribute identifies the object through its name. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/set_elem.h')
-rw-r--r--include/set_elem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/set_elem.h b/include/set_elem.h
index 60cecc9..d6244e6 100644
--- a/include/set_elem.h
+++ b/include/set_elem.h
@@ -12,6 +12,7 @@ struct nftnl_set_elem {
uint32_t flags;
uint64_t timeout;
uint64_t expiration;
+ const char *objref;
struct {
void *data;
uint32_t len;