ns-allinone-2.35/ns-2.35/diffserv/ew.cc
void EWPolicy::detectPr(int dt_inv, int db_inv) {
  ewP = new EWdetectorP;
  ewP->setLink(qsrc, qdst);
  ewP->setDt(dt_inv);
  ewP->setDb(db_inv);
}
// Enable detecting on packet incoming rate (req rate)
Enable detecting on packet incoming rate (req rate)
Enable detecting on packet incoming rate ( req rate )
void EWPolicy::detectPr(int dt_inv, int db_inv) {
  ewP = new EWdetectorP;
  ewP->setLink(qsrc, qdst);
  ewP->setDt(dt_inv);
  ewP->setDb(db_inv);
}
void EWPolicy :: detectPr ( int dt_inv , int db_inv ) { ewP = new EWdetectorP ; ewP -> setLink ( qsrc , qdst ) ; ewP -> setDt ( dt_inv ) ; ewP -> setDb ( db_inv ) ; }
Enable detecting on packet incoming rate (req rate)
Enable detecting on packet incoming rate ( req rate )