From 4b89c0cb0883f638ff1abbc2ff47c43cdc26aac5 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sun, 19 Feb 2017 22:49:51 +0100 Subject: 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 Acked-by: Pablo Neira Ayuso --- include/libnftnl/object.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/libnftnl/object.h') 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); -- cgit v1.2.3