Trait smoltcp::iface::ArpCache [] [src]

pub trait ArpCache {
    fn fill(
        &mut self,
        protocol_addr: &IpAddress,
        hardware_addr: &EthernetAddress
    );
fn lookup(&mut self, protocol_addr: &IpAddress) -> Option<EthernetAddress>; }

An Address Resolution Protocol cache.

This interface maps protocol addresses to hardware addresses.

Required Methods

Update the cache to map given protocol address to given hardware address.

Look up the hardware address corresponding for the given protocol address.

Implementors