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

format_ipv6_compressed

Function format_ipv6_compressed 

Source
pub fn format_ipv6_compressed(addr: &Ipv6Address) -> String
Expand description

Format an IPv6 address with zero-compression (::).

Finds the longest run of consecutive zero groups and replaces it with “::”.