tcpSend2AckSecond.pkt 919 B

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