Skip to main content

is_link_local

Function is_link_local 

Source
pub fn is_link_local(address: IpAddr) -> bool
Expand description

Whether an address is an IPv6 link-local unicast address (fe80::/10).

ยง6.1.2.2 makes pairing one with anything but another link-local address a MUST NOT: with IPv6 a host commonly has several addresses per interface, and a link-local paired with a global one is a check that cannot work and a packet that was sent anyway.