[Click] Interacting with handlers with userspace Click
Adam M
click at irotas.net
Wed Aug 8 11:22:57 EDT 2007
Hi Beyers,
Ah, I saw the ControlSocket in the Elements list but didn't completely
understand what it did. Thanks for the explanation!
-Adam
On Wed, 8 Aug 2007 16:35:02 +0200, "Beyers Cronje" <bcronje at gmail.com>
said:
> Through ControlSocket element. This is build into click.
>
> Just start userlevel click with the -p flag i.e. 'click -p 777
> config.click'.
> Then you can telnet to port 777.
>
> man click for more info on the -p flag
> and
> http://read.cs.ucla.edu/click/elements/controlsocket for info on the
> commands supported in controlsocket.
>
> For example:
>
> FromDevice(eth0) -> cc::Counter -> Discard;
>
> click -p 777 click.config
>
> telnet 127.0.0.1 777
> > read cc.rate
>
> Beyers
More information about the click
mailing list