Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsProxyListener.cpp159 void addIpAddrWithinLimit(std::vector<std::string>* ip_addrs, const sockaddr* addr,
163 std::vector<std::string>* ip_addrs) { in extractResNsendAnswers() argument
179 addIpAddrWithinLimit(ip_addrs, (sockaddr*)&sin, sizeof(sin)); in extractResNsendAnswers()
184 addIpAddrWithinLimit(ip_addrs, (sockaddr*)&sin6, sizeof(sin6)); in extractResNsendAnswers()
192 int extractGetAddrInfoAnswers(const addrinfo* result, std::vector<std::string>* ip_addrs) { in extractGetAddrInfoAnswers() argument
200 addIpAddrWithinLimit(ip_addrs, ai_addr, ai->ai_addrlen); in extractGetAddrInfoAnswers()
207 int extractGetHostByNameAnswers(const hostent* hp, std::vector<std::string>* ip_addrs) { in extractGetHostByNameAnswers() argument
216 addIpAddrWithinLimit(ip_addrs, (sockaddr*)&sin, sizeof(sin)); in extractGetHostByNameAnswers()
223 addIpAddrWithinLimit(ip_addrs, (sockaddr*)&sin6, sizeof(sin6)); in extractGetHostByNameAnswers()
307 const std::vector<std::string>& ip_addrs) { in maybeLogQuery() argument
[all …]