Polling Linux

Eddie Kohler kohler at aciri.org
Sat Aug 18 10:40:17 EDT 2001


> My question: why is it Idle->ToDevice()? Doesn't that mean nothing will
> go out the interface? Wouldn't I rather use this:
> 
> FromLinux(fake0, addr/mask)->ToDevice(eth0)
> 
> (Also, according to the doc page for FromLinux, I would also have to add
> an ARP responder).

Actually, ToDevice will automatically look for packets Linux sends to the
device and send them. (It does this when there aren't many Click packets to
send -- which, with Idle, there aren't.) No need for the FromLinux.

love,
ed



More information about the click mailing list