1 2 3 4 5 6 7
filtermap within_range(range: AddrRange, ip: IpAddr) { if range.contains(ip) && ip.is_ipv4() { accept ip } else { reject } }