DnsIpInCidr
function DnsIpInCidr(const aAddress, aNetwork: tBytes; aBits: Integer): Boolean;
Is aAddress inside the aBits-long prefix of aNetwork? False unless the two are the same family, so no comparison ever straddles v4 and v6. aBits < 0, or longer than the family allows, is False rather than clamped: a bad prefix in a policy must not silently widen or narrow it.