ns-allinone-2.35/tcp/tcp.cc
void TcpAgent::reset_rtx_timer(int mild, int backoff)
{
	if (backoff)
		rtt_backoff();
	set_rtx_timer();
	if (!mild)
		t_seqno_ = highest_ack_ + 1;
	rtt_active_ = 0;
}
/*
 * We got a timeout or too many duplicate acks.  Clear the retransmit timer.  
 * Resume the sequence one past the last packet acked.  
 * "mild" is 0 for timeouts and Tahoe dup acks, 1 for Reno dup acks.
 * "backoff" is 1 if the timer should be backed off, 0 otherwise.
 */
We got a timeout or too many duplicate acks.  Clear the retransmit timer.
Resume the sequence one past the last packet acked.
"mild" is 0 for timeouts and Tahoe dup acks, 1 for Reno dup acks.
"backoff" is 1 if the timer should be backed off, 0 otherwise.
We got a timeout or too many duplicate acks . Clear the retransmit timer . Resume the sequence one past the last packet acked . " mild " is 0 for timeouts and Tahoe dup acks 1 for Reno dup acks . " backoff " is 1 if the timer should be backed off 0 otherwise .
void TcpAgent::reset_rtx_timer(int mild, int backoff)
{
	if (backoff)
		rtt_backoff();
	set_rtx_timer();
	if (!mild)
		t_seqno_ = highest_ack_ + 1;
	rtt_active_ = 0;
}
void TcpAgent :: reset_rtx_timer ( int mild , int backoff ) { if ( backoff ) rtt_backoff ( ) ; set_rtx_timer ( ) ; if ( ! mild ) t_seqno_ = highest_ack_ + 1 ; rtt_active_ = 0 ; }
We got a timeout or too many duplicate acks.
We got a timeout or too many duplicate acks .