Searched refs:ip_number (Results 1 – 3 of 3) sorted by relevance
28 IPAddressNumber* ip_number) { in ParseIPLiteralToNumber() argument39 ip_number->resize(size); in ParseIPLiteralToNumber()41 (*ip_number)[i] = buf[i]; in ParseIPLiteralToNumber()60 IPAddressNumber* ip_number, in ParseCIDRBlock() argument76 if (!ParseIPLiteralToNumber(parts[0], ip_number)) in ParseCIDRBlock()84 number_of_bits > static_cast<int>(ip_number->size() * 8)) in ParseCIDRBlock()91 bool IPNumberMatchesPrefix(const IPAddressNumber& ip_number, in IPNumberMatchesPrefix() argument99 if (ip_number.size() != ip_prefix.size()) { in IPNumberMatchesPrefix()100 if (ip_number.size() == 4) { in IPNumberMatchesPrefix()101 return IPNumberMatchesPrefix(ConvertIPv4NumberToIPv6Number(ip_number), in IPNumberMatchesPrefix()[all …]
36 IPAddressNumber* ip_number);49 IPAddressNumber* ip_number,62 bool IPNumberMatchesPrefix(const IPAddressNumber& ip_number,
227 IPAddress(const std::string& ip_string, const IPAddressNumber& ip_number) in IPAddress()229 ip_address_number(ip_number) { in IPAddress()