Function pnet_datalink::dummy::channel [] [src]

pub fn channel(_: &NetworkInterface, config: Config) -> Result<Channel>

Create a data link channel backed by FIFO queues. Useful for debugging and testing. See Config for how to inject and read packets on this fake network.