Function pnet::datalink::dummy::channel

source ยท
pub fn channel(_: &NetworkInterface, config: Config) -> Result<Channel, Error>
Expand description

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.