mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-16 22:41:42 +00:00

Use the standard import and testing method, as described in the import of tcp/ecn and tcp/close , tcp/sack , tcp/tcp_info. Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Soham Chakradeo <sohamch@google.com> Link: https://patch.msgid.link/20241217185203.297935-4-sohamch.kernel@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
14 lines
360 B
Plaintext
14 lines
360 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
// Test for blocking connect.
|
|
|
|
`./defaults.sh`
|
|
|
|
// Establish a connection.
|
|
0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
|
|
|
|
+.1...0.200 connect(3, ..., ...) = 0
|
|
|
|
+0 > S 0:0(0) <mss 1460,sackOK,TS val 100 ecr 0,nop,wscale 8>
|
|
+.1 < S. 0:0(0) ack 1 win 5792 <mss 1460,nop,wscale 2,nop,nop,sackOK>
|
|
+0 > . 1:1(0) ack 1
|