ns-allinone-2.35/tcp/tcp.cc
void
TcpAgent::send_one()
{
	if (t_seqno_ <= highest_ack_ + wnd_ && t_seqno_ < curseq_ &&
		t_seqno_ <= highest_ack_ + cwnd_ + dupacks_ ) {
		output(t_seqno_, 0);
		if (QOption_)
			process_qoption_after_send () ;
		t_seqno_ ++ ;
		// send_helper(); ??
	}
	return;
}
/* 
 * A first or second duplicate acknowledgement has arrived, and
 * singledup_ is enabled.
 * If the receiver's advertised window permits, and we are exceeding our
 * congestion window by less than numdupacks_, then send a new packet.
 */
A first or second duplicate acknowledgement has arrived, and
singledup_ is enabled.
If the receiver's advertised window permits, and we are exceeding our
congestion window by less than numdupacks_, then send a new packet.
A first or second duplicate acknowledgement has arrived and singledup_ is enabled . If the receiver ' s advertised window permits and we are exceeding our congestion window by less than numdupacks_ then send a new packet .
void
TcpAgent::send_one()
{
	if (t_seqno_ <= highest_ack_ + wnd_ && t_seqno_ < curseq_ &&
		t_seqno_ <= highest_ack_ + cwnd_ + dupacks_ ) {
		output(t_seqno_, 0);
		if (QOption_)
			process_qoption_after_send () ;
		t_seqno_ ++ ;
	}
	return;
}
void TcpAgent :: send_one ( ) { if ( t_seqno_ <= highest_ack_ + wnd_ && t_seqno_ < curseq_ && t_seqno_ <= highest_ack_ + cwnd_ + dupacks_ ) { output ( t_seqno_ , 0 ) ; if ( QOption_ ) process_qoption_after_send ( ) ; t_seqno_ ++ ; } return ; }
A first or second duplicate acknowledgement has arrived, and
 singledup_ is enabled.
A first or second duplicate acknowledgement has arrived and singledup_ is enabled .
// send_helper(); ??