summaryrefslogtreecommitdiffstats
path: root/include/obj.h
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2019-09-07 18:05:01 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-09-10 22:47:53 +0200
commit609a13fc2999e0f2f6910480ac079f3cfdabbd55 (patch)
tree23cbb7d5aa5cc9892f56eb1a7cc79f1f05c79baf /include/obj.h
parentf4c6574ac0632cf5d3c7dcee491a255dad8e9aac (diff)
src: synproxy stateful object support
This patch adds synproxy stateful object support. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/obj.h')
-rw-r--r--include/obj.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/obj.h b/include/obj.h
index 9394d79..10f806c 100644
--- a/include/obj.h
+++ b/include/obj.h
@@ -56,6 +56,11 @@ struct nftnl_obj {
uint32_t type;
uint32_t flags;
} limit;
+ struct nftnl_obj_synproxy {
+ uint16_t mss;
+ uint8_t wscale;
+ uint32_t flags;
+ } synproxy;
struct nftnl_obj_tunnel {
uint32_t id;
uint32_t src_v4;
@@ -108,6 +113,7 @@ extern struct obj_ops obj_ops_ct_helper;
extern struct obj_ops obj_ops_ct_timeout;
extern struct obj_ops obj_ops_ct_expect;
extern struct obj_ops obj_ops_limit;
+extern struct obj_ops obj_ops_synproxy;
extern struct obj_ops obj_ops_tunnel;
extern struct obj_ops obj_ops_secmark;