Expand description
Zebra’s canonical node address format.
Zebra canonicalises all received addresses into Rust PeerSocketAddr
s.
If the address is an IPv4-mapped IPv6 address, it becomes a SocketAddr::V4
Functions§
- Transform a
PeerSocketAddr
into a canonical ZebraPeerSocketAddr
, converting IPv6-mapped IPv4 addresses, and removing IPv6 scope IDs and flow information. - Transform a
SocketAddr
into a canonical ZebraSocketAddr
, converting IPv6-mapped IPv4 addresses, and removing IPv6 scope IDs and flow information.