From effb75d1f60a46af62fed244a6243bcd4e34a75e Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 27 Nov 2016 23:27:07 +0100 Subject: 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 --- include/set_elem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/set_elem.h') 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; -- cgit v1.2.3