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

parse_frame

Function parse_frame 

Source
pub fn parse_frame(data: &[u8]) -> Result<EthernetFrame<'_>, KernelError>
Expand description

Parse an Ethernet frame from raw bytes.

Returns an EthernetFrame with references into the original buffer for zero-copy payload access.