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

compute_icmpv6_checksum

Function compute_icmpv6_checksum 

Source
pub fn compute_icmpv6_checksum(
    src: &[u8; 16],
    dst: &[u8; 16],
    data: &[u8],
) -> u16
Expand description

Compute ICMPv6 checksum (delegates to ipv6 module).

This is a convenience wrapper for building ICMPv6 messages.