PollDevice & ToDevice pairing.

Eddie Kohler kohler at icir.org
Mon Mar 4 13:41:51 EST 2002


> Is the ToLinuxSniffers a substitue for ToDevice? What is the correct
> syntax for what I am trying to do?

No, unfortunately, it's not.
Currently, ToDevice is responsible for recycling the device's receive
buffer, and for sending all packets to the device. (When polling is on,
Linux never touches the device.)

So say

FromLinux(joe0, 10.0.0.1/8) -> Idle -> ToDevice(eth1);
PollDevice(eth1, 1) -> ToLinuxSniffers(joe0);

or some such.

Eddie




More information about the click mailing list