xref: /linux/tools/testing/selftests/net/packetdrill/tcp_blocking_blocking-connect.pkt (revision 0ad9617c78acbc71373fb341a6f75d4012b01d69)
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
14