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

update_checksum_32

Function update_checksum_32 

Source
pub fn update_checksum_32(
    old_checksum: u16,
    old_addr: u32,
    new_addr: u32,
) -> u16
Expand description

Update checksum for a 32-bit (IP address) change, processing two 16-bit halves