[Click] Solution to "Trace Analysis" problem in tutorial

Eddie Kohler kohler at cs.ucla.edu
Thu Sep 6 17:57:17 EDT 2007


Hi Ludovico,

It turns out our solution lacked two very important characters: { and } 
(around the "input -> output").  Don't know where they went.  This is fixed!

You are right that input and output are only meaningful in the context 
of a compound element.

Eddie


Ludovico Cavedon wrote:
> Hi everyone,
> I was reading Click Tutorial problem set 1, and I could not understand
> one line in the solution to problem 9 (Trace Analysis).
> 
> In particular:
> ...
>    -> ct :: Counter
>    -> shunt :: input -> output
>    -> sa :: AggregateIP(ip src/8)
> ...
> 
> What is the use of "input" and "output" outside an "elementclass" context?
> 
> Moreover, if I run the code I get:
> <expr>:6: unknown element class 'input'
> <expr>:7: undeclared element 'output' (first use this block)
> 
> Thank you,
> Regards,
> Ludovico Cavedon
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list