[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] I'd like to know...



pretty much the same for b6...

>Date: Mon, 18 Sep 2000 16:58:34 -0300 (EST)
>From: Carlos Alberto Kamienski <[email protected]>
>X-Sender: cak@paulista
>To: Tegon Paolo <[email protected]>
>cc: [email protected]
>Subject: Re: [ns] I'd like to know...
>MIME-Version: 1.0
>
>> Good Morning.
>> For the object TBF (token buket filter), I'd like to know if exists a command 
to know the number of the remaining tokens in the bucket in a particular 
instant.
>
>Apparently, there's no command to do this. But, you can change
>tbf.cc to  include a "command" method for creating
>a get_tokens command. You have to access the "tokens_" field, but before
>this it's necessary to call "getupdatedtokens()".
>
>Carlos
>
>PS: This is for ns2.1b5!
>
>
>> Thank you.
>> 

Tarik