Hi

Use the following implementation of WFQ for DiffServ, it works
http://www.cc.jyu.fi/~sayenko/src/dsred.diff

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
> Hello,
>
> I need to use WFQ scheduler for Diffserv simulation. The only module
available seems to be the "WFQ Scheduler for Nortel DiffServ" available at
http://nsnam.isi.edu/nsnam/index.php/Contributed_Code
http://www.tik.ee.ethz.ch/~fiedler/provisioning.html. That module seems to
have outdated versions of dsred.cc and dsred.h. When I overwrite the files
that come with the ns-allinone distribution package, I get compilation
errors like this:
>
> diffserv/dsred.h: In constructor `dsREDQueue::dsREDQueue()':
> diffserv/dsred.h:219: warning: `dsREDQueue::link_' will be initialized
after
> diffserv/dsred.h:180: warning:   `WFQdsHandler dsREDQueue::wfq_hand'
> diffserv/dsred.cc:87: warning:   when initialized here
> diffserv/dsred.cc: In member function `virtual int
dsREDQueue::command(int, const char* const*)':
> diffserv/dsred.cc:799: error: no matching function for call to
`redQueue::config(int, const char* const*&)'
> diffserv/dsredq.h:66: note: candidates are: void redQueue::config(int,
int, const char* const*)
> make: *** [diffserv/dsred.o] Error 1
> Ns make failed!
> See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
>
>
> I have tried to import the modifications from the dsred.h and dsred.cc
into the ones that come with the current dist but I was never successful to
get it to compile.
>
> I would appreciate any help.
>
> Thank you.
>
> Mostafa Dahshan
>

Reply via email to