Function validate_routes
pub fn validate_routes(routes: &[IpRoute]) -> Result<(), ConnectIpProtocolError>Available on crate feature
masque only.Expand description
Validate the wire ordering, disjointness and all-protocol overlap rules.
Different specific protocols may overlap; protocol zero overlaps are rejected. The latter check is optional in RFC 9484 and deliberately enforced here.