ns-allinone-2.35/tcp/tcp.cc
void TcpAgent::quench(int how)
{
	if (highest_ack_ >= recover_) {
		recover_ =  maxseq_;
		last_cwnd_action_ = CWND_ACTION_ECN;
		closecwnd(how);
	}
}
/*
 * Respond either to a source quench or to a congestion indication bit.
 * This is done at most once a roundtrip time;  after a source quench,
 * another one will not be done until the last packet transmitted before
 * the previous source quench has been ACKed.
 */
Respond either to a source quench or to a congestion indication bit.
This is done at most once a roundtrip time;  after a source quench,
another one will not be done until the last packet transmitted before
the previous source quench has been ACKed.
Respond either to a source quench or to a congestion indication bit . This is done at most once a roundtrip time ; after a source quench another one will not be done until the last packet transmitted before the previous source quench has been ACKed .
void TcpAgent::quench(int how)
{
	if (highest_ack_ >= recover_) {
		recover_ =  maxseq_;
		last_cwnd_action_ = CWND_ACTION_ECN;
		closecwnd(how);
	}
}
void TcpAgent :: quench ( int how ) { if ( highest_ack_ >= recover_ ) { recover_ = maxseq_ ; last_cwnd_action_ = CWND_ACTION_ECN ; closecwnd ( how ) ; } }
Respond either to a source quench or to a congestion indication bit.
Respond either to a source quench or to a congestion indication bit .