From 0c0b2452bc3c96cf3db09eb8cbf62778a2fd8f6c Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sun, 11 Dec 2016 18:02:34 +0100 Subject: src: add tcp options set support This adds support for tcp mss mangling: nft add rule filter input tcp option maxseg size 1200 Its also possible to change other tcp option fields, but maxseg is one of the more useful ones to change. Signed-off-by: Florian Westphal Acked-by: Pablo Neira Ayuso --- include/tcpopt.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/tcpopt.h') diff --git a/include/tcpopt.h b/include/tcpopt.h index f96c04c6..9be84817 100644 --- a/include/tcpopt.h +++ b/include/tcpopt.h @@ -3,6 +3,7 @@ #include #include +#include extern struct expr *tcpopt_expr_alloc(const struct location *loc, uint8_t type, uint8_t field); -- cgit v1.2.3