[Click] I thought this would be illegal

Cliff Frey cliff at meraki.com
Sun Mar 10 20:22:03 EDT 2013


Yeah, I believe that you understand this correctly.  Even if the flow code
is "x/x", this could theoretically make some sense on an element that had a
chance of dropping the packet (i.e. a DecIPTTL or RandomSample element).

On Sun, Mar 10, 2013 at 3:28 PM, Lars Bro <larsbro at gmail.com> wrote:

> Hi,
>
> I thought that Click would deny the following construct
>
> m::MyElement()
> m[0] -> [0]m;
>
> in the case where flow_code() would be "x/x"
>
> but allow it if flow_code() were "x/y"
>
>
> But it seems to me that flow_code is only used for Router::downstream and
> upstream methods. Is that correctly understood?
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list