From aaf20ad0dc22d2ebcad1b2c43288e984f0efe2c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Fri, 28 Sep 2018 18:21:15 +0200 Subject: src: add support for new secmark object MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The new object will hold security context strings. Signed-off-by: Christian Göttsche Signed-off-by: Pablo Neira Ayuso --- include/obj.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/obj.h') 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 -- cgit v1.2.3