/// Scan a given device and return list of all active hosts.
Scan a given device and return list of all active hosts.
Scan a given device and return list of all active hosts .
pub fn scan_device(
            tc: ThreadingContext, 
            device: &EthernetDevice) -> pcap::Result<Vec<(MacAddr, Ipv4Addr)>> {
            Ipv4ArpScanner::new(tc, device).scan()
        }
pub fn scan_device ( tc : ThreadingContext , device : & EthernetDevice ) -> pcap :: Result < Vec < ( MacAddr , Ipv4Addr ) > > { Ipv4ArpScanner :: new ( tc , device ) . scan ( ) }
Scan a given device and return list of all active hosts.
Scan a given device and return list of all active hosts .
tc
ThreadingContext
device
&EthernetDevice