[Click] Queue element BUG ?!?!

dfuste@ac.upc.edu dfuste at ac.upc.edu
Wed Dec 13 12:30:16 EST 2006


Thomas,
I think you are wrong. The InfiniteSource and Print elements have agnostic
ports, but Queue element has push input port. So, the InfiniteSource will have
push output port and will send the packet.
As I said in my first mail, you can check that my config file prints the packet
with the first Print(before) element. The problem is in the second, which never
prints nothing.
So, the packet is generated.

Thanks,
david

Mensaje citado por "Paine, Thomas Asa" <PAINETA at uwec.edu>:

> Anonymous,
> 
>         InfinitSource and Print are both Agnostic elements.  In the first
> case, your ToDevice is polling against InfinitSouce.  In the second case you
> have agnostics connected to a push, which means nothing gets generated, Queue
> inputs are push inputs.
> 
> Try this...
> 
>
InfiniteSource(...)->Print(before)->Unqueue->Queue->Print(after)->ToDevice(eth0);
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    Thomas Paine (paineta at uwec.edu)
>    University of Wisconsin - Eau Claire
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> -----Original Message-----
> From: click-bounces at pdos.csail.mit.edu
> [mailto:click-bounces at pdos.csail.mit.edu] On Behalf Of dfuste at ac.upc.edu
> Sent: Wednesday, December 13, 2006 10:34 AM
> To: click at pdos.csail.mit.edu
> Subject: [Click] Queue element BUG ?!?!
> 
> OK,
> this is my new situation (see my previous mails). I have installed
> click-1.5.0 in a linux-2.6.16.13 kernel.
> 
> Why does the config
> "InfiniteSource(...)->Print(ok)->ToDevice(eth0);"
> work fine and the config
> "InfiniteSource(...)->Print(before)->Queue->Print(after)->ToDevice(eth0);"
> only prints "before : ..."?
> The packet never leaves the queue and so, it is never sent!
> 
> There is no more things I can try...I need your help :) Thanks!
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 




More information about the click mailing list