omnetpp.ini 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. [General]
  2. network = PcapRecorderTest
  3. total-stack = 7MiB
  4. tkenv-plugin-path = ../../../etc/plugins
  5. #debug-on-errors = true
  6. #record-eventlog = true
  7. ## tcp apps
  8. **.numTcpApps = 1
  9. **.client*.tcpApp[*].typename = "TCPSessionApp"
  10. **.client*.tcpApp[0].active = true
  11. #**.client*.tcpApp[0].localAddress = "10.0.0.1"
  12. #**.client*.tcpApp[0].localAddress = "192.168.1.1"
  13. **.client*.tcpApp[0].localPort = -1
  14. **.client*.tcpApp[0].connectAddress = "server"
  15. **.client*.tcpApp[0].connectPort = 1000
  16. **.client*.tcpApp[0].tOpen = 0.2s
  17. **.client*.tcpApp[0].tSend = 0.4s
  18. **.client*.tcpApp[0].sendBytes = 400000B
  19. **.client*.tcpApp[0].sendScript = ""
  20. **.client*.tcpApp[0].tClose = 100s
  21. # tcp apps
  22. #**.numTcpApps = 1
  23. #**.client*.tcpApp[*].type-name = "TCPBasicClientApp"
  24. #**.client*.tcpApp[0].active = true
  25. ##**.client*.tcpApp[0].localAddress = "10.0.0.1"
  26. ##**.client*.tcpApp[0].localAddress = "192.168.1.1"
  27. #**.client*.tcpApp[0].localPort = -1
  28. #**.client*.tcpApp[0].connectAddress = "server"
  29. #**.client*.tcpApp[0].connectPort = 1000
  30. #**.client*.tcpApp[0].tOpen = 0.2s
  31. #**.client*.tcpApp[0].tSend = 0.4s
  32. #**.client*.tcpApp[0].sendBytes = 1000000B
  33. #**.client*.tcpApp[0].idleInterval = 3s
  34. #**.client*.tcpApp[0].thinkTime = 0s
  35. #**.server*.tcpApp[*].type-name="TCPSinkApp"
  36. **.server*.tcpApp[*].typename = "TCPEchoApp"
  37. #**.server*.tcpApp[0].localAddress = "10.0.0.2"
  38. #**.server*.tcpApp[0].localAddress = "192.168.1.2"
  39. **.server*.tcpApp[0].localPort = 1000
  40. **.server*.tcpApp[0].echoFactor = 2.0
  41. **.server*.tcpApp[0].echoDelay = 0
  42. # NIC configuration
  43. **.ppp[*].queueType = "DropTailQueue" # in routers
  44. **.ppp[*].queue.frameCapacity = 10 # in routers
  45. **.numPcapRecorders = 1
  46. **.server.pcapRecorder[0].pcapFile = "results/server.pcap"
  47. **.client0.pcapRecorder[0].pcapFile = "results/client0.pcap"
  48. **.client1.pcapRecorder[0].pcapFile = "results/client1.pcap"