Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsProxyListener.cpp164 void addIpAddrWithinLimit(std::vector<std::string>* ip_addrs, const sockaddr* addr,
168 std::vector<std::string>* ip_addrs) { in extractResNsendAnswers() argument
184 addIpAddrWithinLimit(ip_addrs, (sockaddr*) &sin, sizeof(sin)); in extractResNsendAnswers()
189 addIpAddrWithinLimit(ip_addrs, (sockaddr*) &sin6, sizeof(sin6)); in extractResNsendAnswers()
197 int extractGetAddrInfoAnswers(const addrinfo* result, std::vector<std::string>* ip_addrs) { in extractGetAddrInfoAnswers() argument
205 addIpAddrWithinLimit(ip_addrs, ai_addr, ai->ai_addrlen); in extractGetAddrInfoAnswers()
212 int extractGetHostByNameAnswers(const hostent* hp, std::vector<std::string>* ip_addrs) { in extractGetHostByNameAnswers() argument
221 addIpAddrWithinLimit(ip_addrs, (sockaddr*) &sin, sizeof(sin)); in extractGetHostByNameAnswers()
228 addIpAddrWithinLimit(ip_addrs, (sockaddr*) &sin6, sizeof(sin6)); in extractGetHostByNameAnswers()
335 const std::vector<std::string>& ip_addrs) { in maybeLogQuery() argument
[all …]