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

build_ipv6

Function build_ipv6 

Source
pub fn build_ipv6(
    src: &Ipv6Address,
    dst: &Ipv6Address,
    next_header: u8,
    payload: &[u8],
) -> Vec<u8>
Expand description

Build an IPv6 packet with the given parameters.

Returns a complete IPv6 packet (header + payload) as a Vec<u8>.