rust/library/core/src/net
Jakub Stasiak 4621357d14 Make is_global/is_unicast_global special address handling complete
IANA explicitly documents 192.0.0.9/32, 192.0.0.9/32 and 2001:30::/28 as
globally reachable[1][2] and the is_global implementations declare
following IANA so let's make this happen.

In case of 2002::/16 IANA says N/A so I think it's safe to say we
shouldn't return true there either.

[1] https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
[2] https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml
2024-01-11 01:03:34 +01:00
..
display_buffer.rs Move IpAddr and SocketAddr to core 2023-02-26 13:50:08 +01:00
ip_addr.rs Make is_global/is_unicast_global special address handling complete 2024-01-11 01:03:34 +01:00
mod.rs Stabilize ip_in_core feature 2023-12-24 12:23:50 +01:00
parser.rs remove some unneeded imports 2023-04-12 19:27:18 +02:00
socket_addr.rs Derive Ord, PartialOrd and Hash for SocketAddr* 2023-10-14 00:48:22 +00:00