diff options
author | Florian Westphal <fw@strlen.de> | 2017-02-19 22:49:51 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2017-03-16 10:08:59 +0100 |
commit | 4b89c0cb0883f638ff1abbc2ff47c43cdc26aac5 (patch) | |
tree | 7f17cc130bd6c4d8a47861869a0286b00e4d4410 /include/libnftnl/object.h | |
parent | 5d24b4686f7b3e3f3858afbc986d0d14c0ab044c (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/object.h')
-rw-r--r-- | include/libnftnl/object.h | 6 |
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); |