8000 Reduce time used for setup. · freebsd-net/tcp-testsuite@e1bbf73 · GitHub
[go: up one dir, main page]

Skip to content

Commit e1bbf73

Browse files
committed
Reduce time used for setup.
1 parent da8c55f commit e1bbf73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snd-syn/snd-syn-with-ecn-alt-maxretries-ipv6.pkt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
+0.00 `sysctl -w net.inet.tcp.ecn.maxretries=0`
4848
// Create a blocking TCP/IPv6 socket
4949
+0.00 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
50-
// Limit the retransmissions of the SYN segment to 35 seconds.
51-
+0.00 setsockopt(3, IPPROTO_TCP, TCP_KEEPINIT, [35], 4) = 0
50+
// Limit the retransmissions of the SYN segment to 5 seconds.
51+
+0.00 setsockopt(3, IPPROTO_TCP, TCP_KEEPINIT, [5], 4) = 0
5252
// Try to establish a TCP connection.
5353
1.00...6.00 connect(3, ..., ...) = -1 ETIMEDOUT (Operation timed out)
5454
+0.00 > SEW 0:0(0) win 65535 <mss 1440,nop,wscale 6,sackOK,TS val 100 ecr 0>

0 commit comments

Comments
 (0)
0