Function send_arp_request

Source
pub fn send_arp_request<D: ArpDevice, BC: ArpBindingsContext<D, CC::DeviceId>, CC: ArpContext<D, BC> + CounterContext<ArpCounters>>(
    core_ctx: &mut CC,
    bindings_ctx: &mut BC,
    device_id: &CC::DeviceId,
    sender_addr: Ipv4Addr,
    lookup_addr: Ipv4Addr,
    remote_link_addr: Option<D::Address>,
)
Expand description

Sends an Arp Request for the provided lookup_addr.

If remote_link_addr is provided, it will be the destination of the request. If unset, the request will be broadcast.