sctpTestSetsockopt.test 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. %description:
  2. SUT is a client. The socket option SCTP_INITMSG is tested.
  3. The maximum number of outgoing streams is set to 256, the maximum number of incoming streams to 1024.
  4. These values must be set in the INIT chunk.
  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/sctpTestSetsockopt.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="sctpTestSetsockopt.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 = 2048
  32. **.pdhost.tunApp[0].inboundStreams = 10
  33. **.sctp.arwnd = 100000
  34. **.sctp.nagleEnabled = false
  35. %#--------------------------------------------------------------------------------------------------------------
  36. %not-contains: test.out
  37. Packetdrill error:
  38. %#--------------------------------------------------------------------------------------------------------------