⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

process_arp_packet

Function process_arp_packet 

Source
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).