pub fn process_arp_packet(
data: &[u8],
our_mac: &MacAddress,
) -> Result<(), KernelError>Expand description
Process an incoming ARP packet.
Handles both ARP requests (sends reply if the target is us) and ARP replies (updates cache).
pub fn process_arp_packet(
data: &[u8],
our_mac: &MacAddress,
) -> Result<(), KernelError>Process an incoming ARP packet.
Handles both ARP requests (sends reply if the target is us) and ARP replies (updates cache).