diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-12-29 20:02:55 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-02-11 12:06:37 +0100 |
commit | 56817d1c0cc30bcd65c56c2f73634b256603cc4d (patch) | |
tree | 4c37a3d1416f0d17658f37502fc5a9b15f68c65e /src/parse.c | |
parent | 73da80df0c3cf4175662b3da4dfbd3574d34f96a (diff) | |
download | conntrack-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.c | 10 |
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 |