Hi

There are two ways:

* You can call the OTcl code from your C++ code. This is a correct way from
the interface point of view. However, if you want to do it quite often, then
it is better to call C++ function directly

* You can call dsREDQueue::setQueueWeights (int queuenum, int weight). I
think no comments are necessary, the interface is quite straightforward (see
dsred.{cc,h}). The only thing you should remember about is the fact that
these functions can be changed easily in the future.

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


>
> Hi fellow,
> I'm dealing with diffserv ns2 module. Is there a way to change in the
> c++ code the weight of a queue for WRR scheduling algorithm ?
>
> Thanks a lot
> Daniele
>

Reply via email to