%description:
SUT is a server, i.e. it opens a socket, binds and listens. The peer connects to the server.
The peer sends 3 messages. The first and third are acked. A fourth and fifth packet are sent
and acked.
A fast retransmission is expected.

%#--------------------------------------------------------------------------------------------------------------


%#--------------------------------------------------------------------------------------------------------------

%inifile: omnetpp.ini

[General]
network = PacketDrillTcp
debug-on-errors = true
tkenv-plugin-path = ../../../etc/plugins
ned-path = .;../../../../../src;../../lib

**.scriptFile="../../tcptests/tcpFastRtx.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="tcpFastRtx.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:
%#--------------------------------------------------------------------------------------------------------------
