ip_in_net

Function ip_in_net 

Source
pub fn ip_in_net(ip: IpAddr, net: IpAddr, prefix: u8) -> bool
Expand description

Whether ip falls inside net/prefix (same-family only). Public so authorization (DW-020) matches IP ACL entries with the exact DW-009 trusted-proxy semantics.