Function pnet_datalink::linux::channel
[−]
[src]
pub fn channel(
network_interface: &NetworkInterface,
config: Config
) -> Result<Channel>
Create a data link channel using the Linux's AF_PACKET socket type