ns-allinone-2.35/ns-2.35/diffserv/ew.cc
int EWdetector::testAlarm() {
  if (!change)
    return(EW_UNCHANGE);
  else 
    return(alarm);
}
// Test if the alarm has been triggered
Test if the alarm has been triggered
Test if the alarm has been triggered
int EWdetector::testAlarm() {
  if (!change)
    return(EW_UNCHANGE);
  else 
    return(alarm);
}
int EWdetector :: testAlarm ( ) { if ( ! change ) return ( EW_UNCHANGE ) ; else return ( alarm ) ; }
Test if the alarm has been triggered
Test if the alarm has been triggered