summaryrefslogtreecommitdiff
path: root/src/parse.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-12-29 20:02:55 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2010-02-11 12:06:37 +0100
commit56817d1c0cc30bcd65c56c2f73634b256603cc4d (patch)
tree4c37a3d1416f0d17658f37502fc5a9b15f68c65e /src/parse.c
parent73da80df0c3cf4175662b3da4dfbd3574d34f96a (diff)
downloadconntrack-tools-56817d1c0cc30bcd65c56c2f73634b256603cc4d.tar.gz
conntrack-tools-56817d1c0cc30bcd65c56c2f73634b256603cc4d.zip
conntrackd: add support for TCP window scale factor synchronization
This patch adds a new option TCPWindowTracking that allows not to disable TCP window tracking as it occurs by default. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/parse.c b/src/parse.c
index e6eefe4..3eb7f44 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -161,6 +161,16 @@ static struct parser h[NTA_MAX] = {
.attr = ATTR_ICMP_ID,
.size = NTA_SIZE(sizeof(uint16_t)),
},
+ [NTA_TCP_WSCALE_ORIG] = {
+ .parse = parse_u8,
+ .attr = ATTR_TCP_WSCALE_ORIG,
+ .size = NTA_SIZE(sizeof(uint8_t)),
+ },
+ [NTA_TCP_WSCALE_REPL] = {
+ .parse = parse_u8,
+ .attr = ATTR_TCP_WSCALE_REPL,
+ .size = NTA_SIZE(sizeof(uint8_t)),
+ },
};
static void