xref: /linux/tools/testing/selftests/net/packetdrill/tcp_accecn_multiple_syn_drop.pkt (revision 37a93dd5c49b5fda807fd204edf2547c3493319c)
1// Test that SYN with ACE flags and without
2// ACE flags got dropped. Although we disable
3// ECN, we shouldn't consider this as blackholed
4// as these are dropped due to congestion
5
6`./defaults.sh
7sysctl -q net.ipv4.tcp_ecn=3
8`
9
10    0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 4
11+.002 ... 3.1 connect(4, ..., ...) = 0
12
13+.002 > [noecn] SEWA 0:0(0) <mss 1460,sackOK,TS val 100 ecr 0,nop,wscale 8>
14+.02~+1.1 > [noecn] SEWA 0:0(0) <mss 1460,sackOK,TS val 100 ecr 0,nop,wscale 8>
15+.02~+1.1 > [noecn] S 0:0(0) <mss 1460,sackOK,TS val 100 ecr 0,nop,wscale 8>
16+.02~+1.1 > [noecn] S 0:0(0) <mss 1460,sackOK,TS val 100 ecr 0,nop,wscale 8>
17+0.1 < [noecn] S. 0:0(0) ack 1 win 32767 <mss 1460,nop,nop,sackOK,nop,wscale 8>
18+0~+0.01 > [noecn] . 1:1(0) ack 1
19