Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1// SPDX-License-Identifier: GPL-2.0
2// Test for blocking connect.
3
4`./defaults.sh`
5
6// Establish a connection.
7 0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
8
9 +.1...0.200 connect(3, ..., ...) = 0
10
11 +0 > S 0:0(0) <mss 1460,sackOK,TS val 100 ecr 0,nop,wscale 8>
12 +.1 < S. 0:0(0) ack 1 win 5792 <mss 1460,nop,wscale 2,nop,nop,sackOK>
13 +0 > . 1:1(0) ack 1