[Click] A question about how to use to click to realize packetforwarding

Bart Braem bart.braem at ua.ac.be
Fri Nov 26 03:07:36 EST 2010


On 25 Nov 2010, at 21:36, Kai Chen wrote:

> I am trying to be familiar with using handler, I have the following test
> 
> p::Print(ok);
> FromDevice(eth1) -> p -> Discard;
> read p.active;
> 
> then it gives me:
> 
> testdevice.click:22: undeclared element ‘read’, assuming element class
> testdevice.click:22: syntax error near ‘.’
> testdevice.click:22: undeclared element ‘active’, assuming element class
> 
> Can someone tell me how to correctly use a handler?

Please take a look at the tutorials our research group provides. They are linked both at the Click website and on our website (under Software - Click Modular Router lessons).

regards,
Bart
-- 
Bart Braem
PATS research group - IBBT
Dept. of Mathematics and Computer Sciences
University of Antwerp
Campus Middelheim, G3.27
Middelheimlaan 1
B-2020 Antwerpen, Belgium
Phone: +32 (0)3 265.38.82
Fax: +32 (0)3 265.37.77
Web: www.pats.ua.ac.be




More information about the click mailing list