pnet::datalink::linux
pub fn channel( network_interface: &NetworkInterface, config: Config) -> Result<Channel, Error>
Create a data link channel using the Linux's AF_PACKET socket type.
AF_PACKET