pub fn on_arp_packet<CC, BC>(
core_ctx: &mut CC,
bindings_ctx: &mut BC,
device_id: &CC::DeviceId,
sender_addr: Ipv4Addr,
target_addr: Ipv4Addr,
) -> IpAddressStatewhere
CC: IpDeviceHandler<Ipv4, BC>,
Expand description
Dispatches a received ARP packet (Request or Reply) to the IP layer.
Returns the IpAddressState
of target_addr
on device
.