Home
last modified time | relevance | path

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

/system/netd/server/
DDnsProxyListener.cpp83 res_sendhookact qhook(sockaddr* const * nsap, const u_char** buf, int* buflen, in qhook() argument
95 if ((*nsap)->sa_family == AF_INET) { in qhook()
96 std::memcpy(&insecureResolver, *nsap, sizeof(sockaddr_in)); in qhook()
97 } else if ((*nsap)->sa_family == AF_INET6) { in qhook()
98 std::memcpy(&insecureResolver, *nsap, sizeof(sockaddr_in6)); in qhook()