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,
is_arp_probe: bool,
) -> boolwhere
CC: IpDeviceHandler<Ipv4, BC> + IpDeviceStateContext<Ipv4, BC>,
BC: IpDeviceStateBindingsTypes,
Expand description
Dispatches a received ARP packet (Request or Reply) to the IP layer.
Returns whether the target_addr
is assigned on the device.