sctpTestClose.test 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. %description:
  2. SUT is a client, i.e. it opens a socket and connects to the server.
  3. When the association is established, it sends a DATA chunk and calls Shutdown.
  4. Then a DATA chunk is injected by the server which should be answered with an ABORT.
  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/sctpTestClose.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="sctpTestClose.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. %#--------------------------------------------------------------------------------------------------------------