[Click] Click question

Beyers Cronje bcronje at gmail.com
Mon Jul 23 13:34:43 EDT 2007


Hi JS,

Have a look at a previous email on how to access the upstream queues
https://pdos.csail.mit.edu/pipermail/click/2006-September/005212.html

Once you have a pointer to the queue you can call queuepointer->size() to
get the queue size of queuepointer->capacity() to the capacity.

Most queues as derived from Storage class, see
<clickdir>/include/click/standard/storage.hh

Beyers

On 7/23/07, JS <njeanseb at gmail.com> wrote:
>
> Hi everyone,
>
> I am trying to implement a queue management policy element for a
> university
> project. And so next to my element there is the actual queue. So I was
> wandering how can I access the size of the queue in my element?
> I have seen a few stuffs while looking through the already implemented
> element but I don't really understand what they are doing...
>
> JS
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list