pub fn classify_multiaddr(m: &str) -> UnderlayKindExpand description
Classify a multiaddr as Public / Private / Unknown by parsing the
/ip4/x.x.x.x or /ip6/... segment. RFC 1918, link-local, and
loopback ranges count as Private; DNS/hostname multiaddrs we leave
as Unknown because we can’t tell without resolving.