Function log the TcpNewReno::DupAck()

This commit is contained in:
Tom Henderson
2011-07-28 17:41:49 -07:00
parent 4b93c8f439
commit a2551b178f

View File

@@ -147,6 +147,7 @@ TcpNewReno::NewAck (const SequenceNumber32& seq)
void
TcpNewReno::DupAck (const TcpHeader& t, uint32_t count)
{
NS_LOG_FUNCTION (this << count);
if (count == 3 && !m_inFastRec)
{ // triple duplicate ack triggers fast retransmit (RFC2582 sec.3 bullet #1)
m_ssThresh = std::max (2 * m_segmentSize, BytesInFlight () / 2);