[Click] enq result on SimpleQueue Element
Eddie Kohler
kohler at cs.ucla.edu
Wed Jan 10 22:40:48 EST 2007
Hi Roberto,
I've just made q->enq() update _drops. So there you go.
Eddie
Roberto Riggio wrote:
> Hi,
>
> I'm using the SImpleQueue class inside an element of mine. In the push method
> of my element i do the following:
>
> q->enq(p)
>
> where q is my SimpleClass object.
>
> My question is: how can I discover if the packet was pushed with success inside the queue?
>>From the code I've discover that the enq method does not increment the _drops counter
> in failures.
>
> Thanks
> Roberto
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list