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/obj.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/obj.h')
-rw-r--r-- | include/obj.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/obj.h b/include/obj.h index edbf023..d90919f 100644 --- a/include/obj.h +++ b/include/obj.h @@ -30,6 +30,11 @@ struct nftnl_obj { uint64_t consumed; uint32_t flags; } quota; + struct nftnl_obj_ct_helper { + uint16_t l3proto; + uint8_t l4proto; + char name[16]; + } ct_helper; } data; }; @@ -49,6 +54,7 @@ struct obj_ops { extern struct obj_ops obj_ops_counter; extern struct obj_ops obj_ops_quota; +extern struct obj_ops obj_ops_ct_helper; #define nftnl_obj_data(obj) (void *)&obj->data |