ns-allinone-2.35/ns-2.35/dccp/dccp_tcplike.cc
void DCCPTCPlikeAgent::changeRemoteAckRatio(){
	if (recv_ack_ratio_ != ack_ratio_remote_ && changeFeature(DCCP_FEAT_ACK_RATIO,DCCP_FEAT_LOC_REMOTE)){
		debug("%f, DCCP/TCPlike(%s)::changeRemoteAckRatio() - Changed Remote ack ratio: before %d, after %d\n",now(),name(),ack_ratio_remote_,recv_ack_ratio_);
		ack_ratio_remote_ = recv_ack_ratio_;
	}
}
/* Compares recv_ack_ratio_ with ack_ratio_remote_ and
 * tries to change the feauture if they differ.
 */
Compares recv_ack_ratio_ with ack_ratio_remote_ and
tries to change the feauture if they differ.
Compares recv_ack_ratio_ with ack_ratio_remote_ and tries to change the feauture if they differ .
void DCCPTCPlikeAgent::changeRemoteAckRatio(){
	if (recv_ack_ratio_ != ack_ratio_remote_ && changeFeature(DCCP_FEAT_ACK_RATIO,DCCP_FEAT_LOC_REMOTE)){
		debug("%f, DCCP/TCPlike(%s)::changeRemoteAckRatio() - Changed Remote ack ratio: before %d, after %d\n",now(),name(),ack_ratio_remote_,recv_ack_ratio_);
		ack_ratio_remote_ = recv_ack_ratio_;
	}
}
void DCCPTCPlikeAgent :: changeRemoteAckRatio ( ) { if ( recv_ack_ratio_ != ack_ratio_remote_ && changeFeature ( DCCP_FEAT_ACK_RATIO , DCCP_FEAT_LOC_REMOTE ) ) { debug ( " \n " , now ( ) , name ( ) , ack_ratio_remote_ , recv_ack_ratio_ ) ; ack_ratio_remote_ = recv_ack_ratio_ ; } }
Compares recv_ack_ratio_ with ack_ratio_remote_ and
 tries to change the feauture if they differ.
Compares recv_ack_ratio_ with ack_ratio_remote_ and tries to change the feauture if they differ .