123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- %description:
- Tests that a large datagram gets fragmented and reassembled at the destination.
- NClientsEth example network is used, with one client.
- The client sends an 5000 bytes in an UDP datagram to the server.
- It is checked that the server receives the datagram.
- %#--------------------------------------------------------------------------------------------------------------
- %inifile: {}.ini
- [General]
- ned-path = ../../../../examples;../../../../src
- network = inet.examples.inet.nclients.NClients
- sim-time-limit=15s
- cmdenv-express-mode=false
- #omnetpp 5.0 - 5.1 compatibility:
- eventlog-file = "${resultdir}/${configname}-${runnumber}.elog"
- output-scalar-file = "${resultdir}/${configname}-${runnumber}.sca"
- output-vector-file = "${resultdir}/${configname}-${runnumber}.vec"
- snapshot-file = "${resultdir}/${configname}-${runnumber}.sna"
- # number of client computers
- *.n = 1
- # udp apps
- **.cli[*].numUdpApps = 1
- **.cli[*].udpApp[*].typename = "UDPBasicApp"
- **.cli[*].udpApp[0].destAddresses = "srv"
- **.cli[*].udpApp[0].destPort = 1000
- **.cli[*].udpApp[0].messageLength = 5000B
- **.cli[*].udpApp[0].startTime = 10s
- **.cli[*].udpApp[0].stopTime = 11s
- **.cli[*].udpApp[0].sendInterval = 10s
- **.srv.numUdpApps = 1
- **.srv.udpApp[*].typename = "UDPSink"
- **.srv.udpApp[0].localPort = 1000
- # mtu
- *.r2.ppp[*].ppp.mtu = 1205B
- *.r*.ppp[*].ppp.mtu = 2205B
- %#--------------------------------------------------------------------------------------------------------------
- %subst: /omnetpp:://
- %#--------------------------------------------------------------------------------------------------------------
- %contains: stdout
- This fragment completes the datagram.
- %#--------------------------------------------------------------------------------------------------------------
- %contains: stdout
- Received packet: (inet::ApplicationPacket)UDPBasicAppData-0 (5000 bytes)
- %#--------------------------------------------------------------------------------------------------------------
- %not-contains: stdout
- undisposed object:
- %not-contains: stdout
- -- check module destructor
- %#--------------------------------------------------------------------------------------------------------------
|