diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2018-09-28 18:21:15 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-09 00:12:28 +0200 |
commit | aaf20ad0dc22d2ebcad1b2c43288e984f0efe2c3 (patch) | |
tree | 7141cad025b3e3c9ef86f519ce389a498058666a /include/obj.h | |
parent | f4621a6f870644af934869d52bf24137c76910db (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/obj.h')
-rw-r--r-- | include/obj.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/obj.h b/include/obj.h index 26184da..435d8a0 100644 --- a/include/obj.h +++ b/include/obj.h @@ -77,6 +77,9 @@ struct nftnl_obj { } tun_erspan; } u; } tunnel; + struct nftnl_obj_secmark { + char ctx[NFT_SECMARK_CTX_MAXLEN]; + } secmark; } data; }; @@ -100,6 +103,7 @@ extern struct obj_ops obj_ops_ct_helper; extern struct obj_ops obj_ops_ct_timeout; extern struct obj_ops obj_ops_limit; extern struct obj_ops obj_ops_tunnel; +extern struct obj_ops obj_ops_secmark; #define nftnl_obj_data(obj) (void *)&obj->data |