summaryrefslogtreecommitdiffstats
path: root/include/libnftnl
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2018-09-28 18:21:15 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-10-09 00:12:28 +0200
commitaaf20ad0dc22d2ebcad1b2c43288e984f0efe2c3 (patch)
tree7141cad025b3e3c9ef86f519ce389a498058666a /include/libnftnl
parentf4621a6f870644af934869d52bf24137c76910db (diff)
src: add support for new secmark object
The new object will hold security context strings. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftnl')
-rw-r--r--include/libnftnl/object.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libnftnl/object.h b/include/libnftnl/object.h
index 0279705..4ce2230 100644
--- a/include/libnftnl/object.h
+++ b/include/libnftnl/object.h
@@ -97,6 +97,10 @@ enum {
NFTNL_OBJ_TUNNEL_ERSPAN_V2_DIR,
};
+enum {
+ NFTNL_OBJ_SECMARK_CTX = NFTNL_OBJ_BASE,
+};
+
struct nftnl_obj;
struct nftnl_obj *nftnl_obj_alloc(void);