[Click] enq result on SimpleQueue Element

Roberto Riggio rriggio at create-net.org
Wed Jan 10 09:49:52 EST 2007


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


More information about the click mailing list