xref: /linux/tools/testing/selftests/net/packetdrill/tcp_blocking_blocking-connect.pkt (revision 0ad9617c78acbc71373fb341a6f75d4012b01d69)
1*6f669205SSoham Chakradeo// SPDX-License-Identifier: GPL-2.0
2*6f669205SSoham Chakradeo// Test for blocking connect.
3*6f669205SSoham Chakradeo
4*6f669205SSoham Chakradeo`./defaults.sh`
5*6f669205SSoham Chakradeo
6*6f669205SSoham Chakradeo// Establish a connection.
7*6f669205SSoham Chakradeo    0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
8*6f669205SSoham Chakradeo
9*6f669205SSoham Chakradeo  +.1...0.200 connect(3, ..., ...) = 0
10*6f669205SSoham Chakradeo
11*6f669205SSoham Chakradeo   +0 > S 0:0(0) <mss 1460,sackOK,TS val 100 ecr 0,nop,wscale 8>
12*6f669205SSoham Chakradeo  +.1 < S. 0:0(0) ack 1 win 5792 <mss 1460,nop,wscale 2,nop,nop,sackOK>
13*6f669205SSoham Chakradeo   +0 > . 1:1(0) ack 1
14