tcpSend2AckSecond.test 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. %description:
  2. SUT is a server. It sends a packet of 2920 B to the peer, which should be
  3. segmented. Only the second one is acked. A retransmission should be sent after RTO-INIT, i.e. 3 secs.
  4. Problem: Only one packet is sent!!
  5. Problem is solved when tcp.increasedIWEnabled is set to true.
  6. %#--------------------------------------------------------------------------------------------------------------
  7. %#--------------------------------------------------------------------------------------------------------------
  8. %inifile: omnetpp.ini
  9. [General]
  10. network = PacketDrillTcp
  11. debug-on-errors = true
  12. tkenv-plugin-path = ../../../etc/plugins
  13. ned-path = .;../../../../../src;../../lib
  14. **.scriptFile="../../tcptests/tcpSend2AckSecond.pkt"
  15. **.pdhost.tunApp[0].typename = "PacketDrillApp"
  16. **.pdhost.numTcpTunApps = 1
  17. **.pdhost.numTunInterfaces = 1
  18. **.hasTun = true
  19. **.startTime = 2s
  20. **.pdhost.routingTable.routingFile = "../../lib/pdhost.mrt"
  21. **.pdhost.tunApp[0].localPort = 1000
  22. **.pdhost.tunApp[0].remotePort = 2000
  23. **.pdhost.tunApp[0].localAddress = "192.168.0.1"
  24. **.pdhost.tunApp[0].remoteAddress = "192.168.0.2"
  25. **.pdhost.numPcapRecorders=1
  26. **.pdhost.pcapRecorder[0].pcapFile="tcpSend2AckSecond.pcap"
  27. **.pdhost.pcapRecorder[0].moduleNamePatterns="tun[0]"
  28. **.pdhost.pcapRecorder[0].sendingSignalNames="packetSentToUpper"
  29. **.pdhost.pcapRecorder[0].receivingSignalNames="packetReceivedFromUpper"
  30. **.pdhost.pcapRecorder[0].alwaysFlush = true
  31. **.pdapp.dataTransferMode = "bytecount"
  32. **.tcp.mss = 1000
  33. **.tcp.sackSupport = true
  34. **.tcp.windowScalingSupport = true
  35. **.tcp.windowScalingFactor = 6
  36. **.tcp.advertisedWindow = 29200
  37. **.tcp.useDataNotification = true
  38. **.tcp.increasedIWEnabled = true
  39. %#--------------------------------------------------------------------------------------------------------------
  40. %not-contains: test.out
  41. Packetdrill error:
  42. %#--------------------------------------------------------------------------------------------------------------