path: root/include/tcpopt.h
diff options
authorFlorian Westphal <>2016-12-11 18:02:34 +0100
committerFlorian Westphal <>2017-08-22 23:51:02 +0200
commit0c0b2452bc3c96cf3db09eb8cbf62778a2fd8f6c (patch)
tree8ab752666dda2f50c396501f1fb95ff43b90eac1 /include/tcpopt.h
parentd74eed8c9649e9278b69f2cd0fd92f71e3e19cfb (diff)
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 <>
Diffstat (limited to 'include/tcpopt.h')
1 files changed, 1 insertions, 0 deletions
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 <proto.h>
#include <exthdr.h>
+#include <statement.h>
extern struct expr *tcpopt_expr_alloc(const struct location *loc,
uint8_t type, uint8_t field);