path: root/utils/expect_create.c
diff options
authorPablo Neira Ayuso <>2009-06-10 01:23:50 +0200
committerPablo Neira Ayuso <>2009-06-10 01:23:50 +0200
commit2db01c27b4b234b6da8efa3af3177447dfd36387 (patch)
tree9f7402b3f92a5f2d5c6a295b0049dab5623a913e /utils/expect_create.c
parent8bb593c025100cc03a9b3e03f636dc999f891a1c (diff)
tcp: add support for SYN_SENT2 state
This patch adds support for the new SYN_SENT2 state that Jozsef has introduced to support TCP simultaneous open in 2.6.31. We can safely include support for this feature now since the LISTEN state was not ever really used. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'utils/expect_create.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/expect_create.c b/utils/expect_create.c
index 330ef66..f05df6b 100644
--- a/utils/expect_create.c
+++ b/utils/expect_create.c
@@ -37,7 +37,7 @@ int main()
nfct_setobjopt(master, NFCT_SOPT_SETUP_REPLY);
- nfct_set_attr_u8(master, ATTR_TCP_STATE, TCP_CONNTRACK_LISTEN);
+ nfct_set_attr_u8(master, ATTR_TCP_STATE, TCP_CONNTRACK_SYN_SENT);
nfct_set_attr_u32(master, ATTR_TIMEOUT, 200);
h = nfct_open(CONNTRACK, 0);