ns-allinone-2.35/tcp/tcp-full.cc
void
FullTcpAgent::reset_rtx_timer(int /* mild */)
{
	// cancel old timer, set a new one
	/* if there is no outstanding data, don't back off rtx timer *
	 * (Fix from T. Kelly.) */
	if (!(highest_ack_ == maxseq_ && restart_bugfix_)) {
        	rtt_backoff();		// double current timeout
	}
        set_rtx_timer();	// set new timer
        rtt_active_ = FALSE;	// no timing during this window
}
//
// reset_rtx_timer: called during a retransmission timeout
// to perform exponential backoff.  Also, note that because
// we have performed a retransmission, our rtt timer is now
// invalidated (indicate this by setting rtt_active_ false)
//
called during a retransmission timeout
to perform exponential backoff.  Also, note that because
we have performed a retransmission, our rtt timer is now
invalidated (indicate this by setting rtt_active_ false)
called during a retransmission timeout to perform exponential backoff . Also note that because we have performed a retransmission our rtt timer is now invalidated ( indicate this by setting rtt_active_ false )
void
FullTcpAgent::reset_rtx_timer(int )
{
	if (!(highest_ack_ == maxseq_ && restart_bugfix_)) {
        	rtt_backoff();		
	}
        set_rtx_timer();	
        rtt_active_ = FALSE;	
}
void FullTcpAgent :: reset_rtx_timer ( int ) { if ( ! ( highest_ack_ == maxseq_ && restart_bugfix_ ) ) { rtt_backoff ( ) ; } set_rtx_timer ( ) ; rtt_active_ = FALSE ; }
reset_rtx_timer: called during a retransmission timeout
to perform exponential backoff.
reset_rtx_timer : called during a retransmission timeout to perform exponential backoff .
/* mild */ // cancel old timer, set a new one /* if there is no outstanding data, don't back off rtx timer *
	 * (Fix from T. Kelly.) */ // double current timeout // set new timer // no timing during this window