udpSendRecv.test 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. %description:
  2. SUT is a server, i.e. it opens a socket, sends 1000 bytes, receives 500 bytes and closes the socket.
  3. %#--------------------------------------------------------------------------------------------------------------
  4. %#--------------------------------------------------------------------------------------------------------------
  5. %inifile: omnetpp.ini
  6. [General]
  7. network = PacketDrillUdp
  8. debug-on-errors = true
  9. tkenv-plugin-path = ../../../etc/plugins
  10. ned-path = .;../../../../../src;../../lib
  11. **.scriptFile="../../udptests/udpSendRecv.pkt"
  12. **.pdhost.tunApp[0].typename = "PacketDrillApp"
  13. **.pdhost.numUdpTunApps = 1
  14. **.hasTun = true
  15. **.pdhost.numTunInterfaces = 1
  16. **.pdhost.tunApp[0].localPort = 1000
  17. **.pdhost.tunApp[0].remotePort = 2000
  18. **.pdhost.tunApp[0].localAddress = "192.168.0.1"
  19. **.pdhost.tunApp[0].remoteAddress = "192.168.0.2"
  20. **.startTime = 2s
  21. **.pdhost.routingTable.routingFile = "../../lib/pdhost.mrt"
  22. **.pdhost.numPcapRecorders=1
  23. **.pdhost.pcapRecorder[0].pcapFile="udpSendRecv.pcap"
  24. **.pdhost.pcapRecorder[0].moduleNamePatterns="tun[0]"
  25. **.pdhost.pcapRecorder[0].sendingSignalNames="packetSentToUpper"
  26. **.pdhost.pcapRecorder[0].receivingSignalNames="packetReceivedFromUpper"
  27. **.pdhost.pcapRecorder[0].alwaysFlush = true
  28. %#--------------------------------------------------------------------------------------------------------------
  29. %not-contains: test.out
  30. Packetdrill error:
  31. %#--------------------------------------------------------------------------------------------------------------