[Click] readout the ip address of eth0?

Bart Braem bart.braem at ua.ac.be
Thu Jun 18 02:22:37 EDT 2009


On 17 Jun 2009, at 16:41, Stephan Zacharias wrote:

> I am working with nsclick and I am trying to readout
> the IP address of the simulated device eth0 in my click
> script.  I am just able to readout the source or destination
> IP address of a package with the GetIPAddress element.
>
> Does someone know a way to readout the IP address of eth0?
> I hope someone can help me.


I think it's currently not possible to read the IP address of an  
interface in nsclick, but adding a handler for it can not be that  
hard...

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