Lines Matching refs:parsed
82 bool parseServer(const char* server, in_port_t port, sockaddr_storage* parsed) { in parseServer() argument
83 sockaddr_in* sin = reinterpret_cast<sockaddr_in*>(parsed); in parseServer()
90 sockaddr_in6* sin6 = reinterpret_cast<sockaddr_in6*>(parsed); in parseServer()
117 sockaddr_storage parsed; in parseServers() local
118 if (parseServer(servers[i], port, &parsed)) { in parseServers()
119 set.insert(parsed); in parseServers()
456 sockaddr_storage parsed; in addPrivateDnsServer() local
457 if (!parseServer(server.c_str(), port, &parsed)) { in addPrivateDnsServer()
460 PrivateDnsServer privateServer(parsed); in addPrivateDnsServer()
472 sockaddr_storage parsed; in removePrivateDnsServer() local
473 if (!parseServer(server.c_str(), 0, &parsed)) { in removePrivateDnsServer()
477 privateDnsServers.erase(parsed); in removePrivateDnsServer()
479 pair.second.erase(parsed); in removePrivateDnsServer()