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

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



> 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.
>