ns-allinone-2.35/ns-2.35/dccp/dccp.cc
bool DCCPAgent::featureIsChanging(u_int8_t num, dccp_feature_location location){
	for (int i = 0; i< feat_list_used_; i++)
		if(feat_list_num_[i] == num && feat_list_loc_[i] == location)
			return true;
	return false;
}
/* Check if a feature is currently under negotiation.
 * arg: num      - feature number
 *      location - feature location
 * ret: true if the feature is under negotiation
 *      false otherwise
 */
Check if a feature is currently under negotiation.
arg: num      - feature number
location - feature location
ret: true if the feature is under negotiation
false otherwise
Check if a feature is currently under negotiation . arg : num - feature number location - feature location ret : true if the feature is under negotiation false otherwise
bool DCCPAgent::featureIsChanging(u_int8_t num, dccp_feature_location location){
	for (int i = 0; i< feat_list_used_; i++)
		if(feat_list_num_[i] == num && feat_list_loc_[i] == location)
			return true;
	return false;
}
bool DCCPAgent :: featureIsChanging ( u_int8_t num , dccp_feature_location location ) { for ( int i = 0 ; i < feat_list_used_ ; i ++ ) if ( feat_list_num_ [ i ] == num && feat_list_loc_ [ i ] == location ) return true ; return false ; }
Check if a feature is currently under negotiation.
Check if a feature is currently under negotiation .