Searched refs:ip_literal (Results 1 – 2 of 2) sorted by relevance
27 bool ParseIPLiteralToNumber(const std::string& ip_literal, in ParseIPLiteralToNumber() argument32 if (ip_literal.find(':') != std::string::npos) { in ParseIPLiteralToNumber()36 if (inet_pton(mode, ip_literal.c_str(), buf) != 1) { in ParseIPLiteralToNumber()
35 bool ParseIPLiteralToNumber(const std::string& ip_literal,