[][src]Function pnet::datalink::linux::channel

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

Create a data link channel using the Linux's AF_PACKET socket type.