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

link_local_from_mac

Function link_local_from_mac 

Source
pub fn link_local_from_mac(mac: &MacAddress) -> Ipv6Address
Expand description

Generate a link-local address from a MAC address using EUI-64.

Converts a 48-bit MAC to a 64-bit interface ID by inserting FF:FE and flipping the universal/local bit, then prepending fe80::/10.