Searched refs:ip_prefix (Results 1 – 3 of 3) sorted by relevance
92 const IPAddressNumber& ip_prefix, in IPNumberMatchesPrefix() argument99 if (ip_number.size() != ip_prefix.size()) { in IPNumberMatchesPrefix()102 ip_prefix, prefix_length_in_bits); in IPNumberMatchesPrefix()105 ConvertIPv4NumberToIPv6Number(ip_prefix), in IPNumberMatchesPrefix()113 if (ip_number[i] != ip_prefix[i]) in IPNumberMatchesPrefix()123 if ((ip_number[i] & mask) != (ip_prefix[i] & mask)) in IPNumberMatchesPrefix()
63 const IPAddressNumber& ip_prefix,
322 bool IsInNetEx(const std::string& ip_address, const std::string& ip_prefix) { in IsInNetEx() argument332 if (!ParseCIDRBlock(ip_prefix, &prefix, &prefix_length_in_bits)) in IsInNetEx()695 std::string ip_prefix = V8StringToUTF8(args[1]->ToString()); in IsInNetExCallback() local696 args.GetReturnValue().Set(IsInNetEx(ip_address, ip_prefix)); in IsInNetExCallback()