On 3/23/06, Ethan Giordano <[EMAIL PROTECTED]> wrote:
>
> I'm trying to set the queues in my simulation to be measured in bytes
> rather than in # of packets. The following does not seem to work, can
> anyone suggest the correct method? The line to set drop-front queuing
> works as intended, except from analyzing my traces, it does not appear
> that the queue sizing lines are working.
>
> # Get the queue object
> set dt [[$ns link $a $b] queue]
> # Set the queue-in-bytes flag to true
> $dt set qib_ 1

Change the above line as:
$dt set queue_in_bytes_ 1

> # Set the queue bytes
> $dt set qlim_ 50000
> # Set the queue to be drop-front
> $dt set drop_front_ 1
>
> Thanks,
>
> ~Ethan
>
>

Reply via email to