[Click] ARPQuerier sintax
Eddie Kohler
kohler at cs.ucla.edu
Tue May 17 10:57:37 EDT 2011
Romano,
Don't write
c[0] -> a[1];
Write
c[0] -> [1]a;
Input ports are written to the LEFT. This is so you can write chains like
x[1] -> [1]y[1] -> [1]z;
Eddie
On 5/17/11 2:51 AM, Romano Battiti wrote:
>
> Hi,
> I’m quite a newbie with Click and I have a problem with the ARPQuerier
> element.
> According to the example in the documentation I have to write the code like
> this: c :: Classifier(12/0806 20/0002, 12/0800, ...);
> a :: ARPQuerier(18.26.4.24, 00:00:C0:AE:67:EF);
> c[0] -> a[1];
> c[1] –> etcetera -> a[0];
> a[0] –> etcetera -> ToDevice(eth0);
> But when I launch a configuration in the shell I receive always an error
> message like “Output ports are ignored at line X” where X are the lines where
> I’m pointing to the inputs ports (in the example above lines 3 and 4).
> Could anybody help me?
> Thanks from Italy
> Romano Battiti
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list