Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsProxyListener.cpp936 int nsendAns = -1; in run() local
941 nsendAns = resolv_res_nsend(&mNetContext, msg.data(), msgLen, ansBuf.data(), MAXPACKET, in run()
944 nsendAns = -EAI_SYSTEM; in run()
950 nsendAns = -EBUSY; in run()
959 if (nsendAns < 0) { in run()
960 if (!sendBE32(mClient, nsendAns)) { in run()
966 resNSendToAiError(nsendAns, rcode), event, rr_name); in run()
979 if (!setQueryId(ansBuf.data(), nsendAns, original_query_id) || in run()
980 !sendLenAndData(mClient, nsendAns, ansBuf.data())) { in run()
989 extractResNsendAnswers((uint8_t*)ansBuf.data(), nsendAns, rr_type, &ip_addrs); in run()
[all …]