tcpFastRtx.test 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. %description:
  2. SUT is a server, i.e. it opens a socket, binds and listens. The peer connects to the server.
  3. The peer sends 3 messages. The first and third are acked. A fourth and fifth packet are sent
  4. and acked.
  5. A fast retransmission is expected.
  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/tcpFastRtx.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="tcpFastRtx.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. %#--------------------------------------------------------------------------------------------------------------