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

parse_ipv6

Function parse_ipv6 

Source
pub fn parse_ipv6(data: &[u8]) -> Result<(Ipv6Header, &[u8]), KernelError>
Expand description

Parse an IPv6 packet from raw bytes.

Returns the parsed header and a slice of the payload data.