pub fn is_internal(ip: IpAddr) -> boolExpand description
Addresses inside an organisation or the host itself: loopback, private (RFC 1918), shared (100.64/10), link-local (incl. 169.254.169.254), “this network” (0/8), benchmarking (198.18/15), IPv6 unique-local (fc00::/7), link-local (fe80::/10) and site-local (fec0::/10), and NAT64 and 6to4 addresses of such IPv4 addresses.