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

dispatch_frame

Function dispatch_frame 

Source
pub fn dispatch_frame(
    data: &[u8],
    our_mac: &MacAddress,
) -> Result<(), KernelError>
Expand description

Dispatch a received Ethernet frame to the appropriate protocol handler.

Routes frames to ARP or IP based on the EtherType field.