Home
last modified time | relevance | path

Searched refs:ip_addrs (Results 1 – 1 of 1) sorted by relevance

/system/netd/resolv/
DDnsProxyListener.cpp172 void addIpAddrWithinLimit(std::vector<std::string>* ip_addrs, const sockaddr* addr,
176 std::vector<std::string>* ip_addrs) { in extractResNsendAnswers() argument
192 addIpAddrWithinLimit(ip_addrs, (sockaddr*) &sin, sizeof(sin)); in extractResNsendAnswers()
197 addIpAddrWithinLimit(ip_addrs, (sockaddr*) &sin6, sizeof(sin6)); in extractResNsendAnswers()
205 int extractGetAddrInfoAnswers(const addrinfo* result, std::vector<std::string>* ip_addrs) { in extractGetAddrInfoAnswers() argument
213 addIpAddrWithinLimit(ip_addrs, ai_addr, ai->ai_addrlen); in extractGetAddrInfoAnswers()
220 int extractGetHostByNameAnswers(const hostent* hp, std::vector<std::string>* ip_addrs) { in extractGetHostByNameAnswers() argument
229 addIpAddrWithinLimit(ip_addrs, (sockaddr*) &sin, sizeof(sin)); in extractGetHostByNameAnswers()
236 addIpAddrWithinLimit(ip_addrs, (sockaddr*) &sin6, sizeof(sin6)); in extractGetHostByNameAnswers()
304 const std::string& query_name, const std::vector<std::string>& ip_addrs = {}, in reportDnsEvent() argument
[all …]