From 0adceeab1597a3de87f5e0cc8ef364b0e1df8a4f Mon Sep 17 00:00:00 2001 From: Harsha Sharma Date: Fri, 10 Aug 2018 20:23:39 +0530 Subject: src: add ct timeout support Add support for ct timeout objects, used to assign connection tracking timeout policies. Signed-off-by: Harsha Sharma Signed-off-by: Pablo Neira Ayuso --- include/obj.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/obj.h') diff --git a/include/obj.h b/include/obj.h index 9363a69..837a54a 100644 --- a/include/obj.h +++ b/include/obj.h @@ -36,6 +36,11 @@ struct nftnl_obj { uint8_t l4proto; char name[16]; } ct_helper; + struct nftnl_obj_ct_timeout { + uint16_t l3proto; + uint8_t l4proto; + uint32_t *timeout; + } ct_timeout; struct nftnl_obj_limit { uint64_t rate; uint64_t unit; @@ -91,6 +96,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; +extern struct obj_ops obj_ops_ct_timeout; extern struct obj_ops obj_ops_limit; extern struct obj_ops obj_ops_tunnel; -- cgit v1.2.3