12345678910111213141516171819202122232425262728 |
- // SUT is a server. It sends a packet of 2920 B to the peer, which should be
- // segmented. Only the second one is acked. A retransmission should be sent after RTO-INIT, i.e. 3 secs.
- // Problem: Only one packet is sent!!
- // Problem is solved when tcp.increasedIWEnabled is set to true.
- 0.000 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
- 0.000 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
- 0.000 bind(3, ..., ...) = 0
- 0.000 listen(3, 1) = 0
- 0.100 < S 0:0(0) win 32792 <mss 1000,nop,wscale 7,nop,nop,sackOK>
- 0.100 > S. 0:0(0) ack 1 <...>
- 0.150 < . 1:1(0) ack 1 win 257
- 0.150 accept(3, ..., ...) = 4
- 0.200 write(4, ..., 2000) = 2000
- +0 > . 1:1001(1000) ack 1
- +0 > . 1001:2001(1000) ack 1
- 0.210 < . 1:1(0) ack 1 win 257 <sack 1001:2001,nop,nop>
- * > . 1:1001(1000) ack 1
- 4.0 < . 1:1(0) ack 2001 win 257
- 4.200 close(4) = 0
- 4.200 > F. 2001:2001(0) ack 1
- 4.300 < F. 1:1(0) ack 2002 win 257
- 4.300 > . 2002:2002(0) ack 2
|