ns-allinone-2.35/tcp/tcp.cc
void TcpAgent::rtt_init()
{
	t_rtt_ = 0;
	t_srtt_ = int(srtt_init_ / tcp_tick_) << T_SRTT_BITS;
	t_rttvar_ = int(rttvar_init_ / tcp_tick_) << T_RTTVAR_BITS;
	t_rtxcur_ = rtxcur_init_;
	t_backoff_ = 1;
}
/*
 * Initialize variables for the retransmit timer.
 */
Initialize variables for the retransmit timer.
Initialize variables for the retransmit timer .
void TcpAgent::rtt_init()
{
	t_rtt_ = 0;
	t_srtt_ = int(srtt_init_ / tcp_tick_) << T_SRTT_BITS;
	t_rttvar_ = int(rttvar_init_ / tcp_tick_) << T_RTTVAR_BITS;
	t_rtxcur_ = rtxcur_init_;
	t_backoff_ = 1;
}
void TcpAgent :: rtt_init ( ) { t_rtt_ = 0 ; t_srtt_ = int ( srtt_init_ / tcp_tick_ ) << T_SRTT_BITS ; t_rttvar_ = int ( rttvar_init_ / tcp_tick_ ) << T_RTTVAR_BITS ; t_rtxcur_ = rtxcur_init_ ; t_backoff_ = 1 ; }
Initialize variables for the retransmit timer.
Initialize variables for the retransmit timer .