summaryrefslogtreecommitdiffstats
path: root/include/libnftnl
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-02-19 22:49:51 +0100
committerFlorian Westphal <fw@strlen.de>2017-03-16 10:08:59 +0100
commit4b89c0cb0883f638ff1abbc2ff47c43cdc26aac5 (patch)
tree7f17cc130bd6c4d8a47861869a0286b00e4d4410 /include/libnftnl
parent5d24b4686f7b3e3f3858afbc986d0d14c0ab044c (diff)
src: ct helper support
add support for ct helper objects, these are used to assign helpers to connections, similar to iptables -j CT --set-helper target. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftnl')
-rw-r--r--include/libnftnl/object.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libnftnl/object.h b/include/libnftnl/object.h
index ca3abea..ccd9d19 100644
--- a/include/libnftnl/object.h
+++ b/include/libnftnl/object.h
@@ -34,6 +34,12 @@ enum {
NFTNL_OBJ_QUOTA_FLAGS,
};
+enum {
+ NFTNL_OBJ_CT_HELPER_NAME = NFTNL_OBJ_BASE,
+ NFTNL_OBJ_CT_HELPER_L3PROTO,
+ NFTNL_OBJ_CT_HELPER_L4PROTO,
+};
+
struct nftnl_obj;
struct nftnl_obj *nftnl_obj_alloc(void);