ns-allinone-2.35/tcp/tcp-full.cc
void
FullTcpAgent::pack_action(Packet*)
{
	if (reno_fastrecov_ && fastrecov_ && cwnd_ > double(ssthresh_)) {
		cwnd_ = double(ssthresh_); // retract window if inflated
	}
	fastrecov_ = FALSE;
//printf("%f: EXITED FAST RECOVERY\n", now());
	dupacks_ = 0;
}
/*
 * baseline reno TCP exists fast recovery on a partial ACK
 */
baseline reno TCP exists fast recovery on a partial ACK
baseline reno TCP exists fast recovery on a partial ACK
void
FullTcpAgent::pack_action(Packet*)
{
	if (reno_fastrecov_ && fastrecov_ && cwnd_ > double(ssthresh_)) {
		cwnd_ = double(ssthresh_); 
	}
	fastrecov_ = FALSE;
	dupacks_ = 0;
}
void FullTcpAgent :: pack_action ( Packet * ) { if ( reno_fastrecov_ && fastrecov_ && cwnd_ > double ( ssthresh_ ) ) { cwnd_ = double ( ssthresh_ ) ; } fastrecov_ = FALSE ; dupacks_ = 0 ; }
baseline reno TCP exists fast recovery on a partial ACK
baseline reno TCP exists fast recovery on a partial ACK
// retract window if inflated //printf("%f: EXITED FAST RECOVERY\n", now());