Re: [ns] Weight of a queue

2006-05-02 Thread Alexander Sayenko
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 thi

[ns] Weight of a queue

2006-05-02 Thread Daniele
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