From 94f884ecc0ada4c410cdedce0d6c5a6a1d67566c Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 27 Nov 2016 23:27:11 +0100 Subject: expr: objref: add support for stateful object maps If the NFT_SET_OBJECT flag is set, then this set stores a mapping between any random user-defined arbitrary key and one stateful object. Very useful for performance lookups. Signed-off-by: Pablo Neira Ayuso --- include/libnftnl/expr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/libnftnl') diff --git a/include/libnftnl/expr.h b/include/libnftnl/expr.h index f6ea69d..ee07849 100644 --- a/include/libnftnl/expr.h +++ b/include/libnftnl/expr.h @@ -237,6 +237,9 @@ enum { enum { NFTNL_EXPR_OBJREF_IMM_TYPE = NFTNL_EXPR_BASE, NFTNL_EXPR_OBJREF_IMM_NAME, + NFTNL_EXPR_OBJREF_SET_SREG, + NFTNL_EXPR_OBJREF_SET_NAME, + NFTNL_EXPR_OBJREF_SET_ID, }; /* -- cgit v1.2.3