123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- %description:
- SUT is a server. It sends a packet of 2920 B to the peer, which should be
- segmented. Only the second one is acked. A retransmission should be sent after RTO-INIT, i.e. 3 secs.
- Problem: Only one packet is sent!!
- Problem is solved when tcp.increasedIWEnabled is set to true.
- %
- %
- %inifile: omnetpp.ini
- [General]
- network = PacketDrillTcp
- debug-on-errors = true
- tkenv-plugin-path = ../../../etc/plugins
- ned-path = .;../../../../../src;../../lib
- **.scriptFile="../../tcptests/tcpSend2AckSecond.pkt"
- **.pdhost.tunApp[0].typename = "PacketDrillApp"
- **.pdhost.numTcpTunApps = 1
- **.pdhost.numTunInterfaces = 1
- **.hasTun = true
- **.startTime = 2s
- **.pdhost.routingTable.routingFile = "../../lib/pdhost.mrt"
- **.pdhost.tunApp[0].localPort = 1000
- **.pdhost.tunApp[0].remotePort = 2000
- **.pdhost.tunApp[0].localAddress = "192.168.0.1"
- **.pdhost.tunApp[0].remoteAddress = "192.168.0.2"
- **.pdhost.numPcapRecorders=1
- **.pdhost.pcapRecorder[0].pcapFile="tcpSend2AckSecond.pcap"
- **.pdhost.pcapRecorder[0].moduleNamePatterns="tun[0]"
- **.pdhost.pcapRecorder[0].sendingSignalNames="packetSentToUpper"
- **.pdhost.pcapRecorder[0].receivingSignalNames="packetReceivedFromUpper"
- **.pdhost.pcapRecorder[0].alwaysFlush = true
- **.pdapp.dataTransferMode = "bytecount"
- **.tcp.mss = 1000
- **.tcp.sackSupport = true
- **.tcp.windowScalingSupport = true
- **.tcp.windowScalingFactor = 6
- **.tcp.advertisedWindow = 29200
- **.tcp.useDataNotification = true
- **.tcp.increasedIWEnabled = true
- %
- %not-contains: test.out
- Packetdrill error:
- %
|