[Click] SimpleQueue and ToHost
Jelena Mirkovic
mirkovic at ISI.EDU
Mon Jul 21 22:48:08 EDT 2008
Well actually I have written an element similar to SimpleQueue that I
want to use, but it was easier to pose the question about SimpleQueue
since I got the same error for both. Thanks Beyers and yay! it works
with your modification!
-------------------------------------
Jelena Mirkovic
Computer Scientist
USC Information Sciences Institute
4676 Admiralty Way, Suite 1001
Marina del Rey, CA 90292
310-448-9170
On Jul 21, 2008, at 7:28 PM, Beyers Cronje wrote:
> 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