[Click] SimpleQueue and ToHost

Beyers Cronje bcronje at gmail.com
Mon Jul 21 22:28:59 EDT 2008


Jelena,

No, pull output should be connected to pull inputs. As Roman indicated you
can leave out the queue in this config, but I presume you want to test some
queueing function, in which case you can use one of the pull-to-push
converters such as Unqueue. Have a look at all the Unqueue elements over at
http://read.cs.ucla.edu/click/elements

Example:

FromDevice(eth2)  -> classifier
                        -> Print(ok)
                        -> SimpleQueue(10)
                        -> Unqueue
                        -> ToHost;

Beyers
On Tue, Jul 22, 2008 at 3:40 AM, Jelena Mirkovic <mirkovic at isi.edu> wrote:

> I think I don't quite understand push and pull concepts :) but when I
> try the code
>
> FromDevice(eth2)        -> classifier
>                         -> Print(ok)
>                         -> SimpleQueue(10)
>                         -> ToHost;
>
> I get an error 'SimpleQueue at 4 :: SimpleQueue' pull output 0 connected
> to 'ToHost at 5 :: ToHost' push input 0
>
> What am I missing? Shouldn't pull outputs always be connected to push
> inputs?
> All I want is to pass packets through a queue and send them along
> their way as they were going before the queue. This is a piece of
> kernel code.
> Thanks!
> -------------------------------------
> Jelena Mirkovic
> Computer Scientist
> USC Information Sciences Institute
> 4676 Admiralty Way, Suite 1001
> Marina del Rey, CA 90292
> 310-448-9170
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list