pub fn send_gratuitous_arp(&mut self) -> io::Result<()> {
        // ARP
        let arp = Arp::gratuitous_arp(self.local_hardware_addr, self.local_ip_addr);

        // Send
        self.send_ethernet(pcap::HARDWARE_ADDR_BROADCAST, Layers::Arp(arp), None, None)
    }
/// Sends an gratuitous ARP packet.
Sends an gratuitous ARP packet.
Sends an gratuitous ARP packet .
pub fn send_gratuitous_arp(&mut self) -> io::Result<()> {
        // ARP
        let arp = Arp::gratuitous_arp(self.local_hardware_addr, self.local_ip_addr);
        // Send
        self.send_ethernet(pcap::HARDWARE_ADDR_BROADCAST, Layers::Arp(arp), None, None)
    }
pub fn send_gratuitous_arp ( & mut self ) -> io :: Result < ( ) > { // ARP let arp = Arp :: gratuitous_arp ( self . local_hardware_addr , self . local_ip_addr ) ; // Send self . send_ethernet ( pcap :: HARDWARE_ADDR_BROADCAST , Layers :: Arp ( arp ) , None , None ) }
Sends an gratuitous ARP packet.
Sends an gratuitous ARP packet .
&mut self
&mut self