sctpOpenPassiveReceive.test 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. %description:
  2. SUT is a server, i.e. it opens a socket, calls bind and listen.
  3. A client connects to the server, send data, which the server reads.
  4. The client calls Shutdown.
  5. %#--------------------------------------------------------------------------------------------------------------
  6. %#--------------------------------------------------------------------------------------------------------------
  7. %inifile: omnetpp.ini
  8. [General]
  9. network = PacketDrillSctp
  10. debug-on-errors = true
  11. tkenv-plugin-path = ../../../etc/plugins
  12. ned-path = .;../../../../../src;../../lib
  13. **.scriptFile="../../sctptests/sctpOpenPassiveReceive.pkt"
  14. **.pdhost.tunApp[0].typename = "PacketDrillApp"
  15. **.pdhost.numSctpTunApps = 1
  16. **.pdhost.numTunInterfaces = 1
  17. **.hasSctpTun = true
  18. **.startTime = 2s
  19. **.pdhost.routingTable.routingFile = "../../lib/pdhost.mrt"
  20. **.pdhost.tunApp[0].localPort = 1000
  21. **.pdhost.tunApp[0].remotePort = 2000
  22. **.pdhost.tunApp[0].localAddress = "192.168.0.1"
  23. **.pdhost.tunApp[0].remoteAddress = "192.168.0.2"
  24. **.pdhost.numPcapRecorders=1
  25. **.pdhost.pcapRecorder[0].pcapFile="sctpOpenPassiveReceive.pcap"
  26. **.pdhost.pcapRecorder[0].moduleNamePatterns="tun[0]"
  27. **.pdhost.pcapRecorder[0].sendingSignalNames="packetSentToUpper"
  28. **.pdhost.pcapRecorder[0].receivingSignalNames="packetReceivedFromUpper"
  29. **.pdhost.pcapRecorder[0].alwaysFlush = true
  30. **.pdhost.pdApp.latency = 0.01s
  31. **.pdhost.tunApp[0].outboundStreams = 100
  32. **.pdhost.tunApp[0].inboundStreams = 10
  33. **.sctp.arwnd = 100000
  34. **.sctp.nagleEnabled = false
  35. %#--------------------------------------------------------------------------------------------------------------
  36. %not-contains: test.out
  37. Packetdrill error:
  38. %#--------------------------------------------------------------------------------------------------------------