[−][src]Function pnet::datalink::dummy::channel
pub fn channel(&NetworkInterface, config: Config) -> Result<Channel, Error>
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.