karyon_p2p::routing_table

Function subnet_match

Source
fn subnet_match(addr: &Addr, other_addr: &Addr) -> bool
Expand description

Check if two addresses belong to the same subnet.