Searched refs:ansBuf (Results 1 – 1 of 1) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsProxyListener.cpp | 934 std::vector<uint8_t> ansBuf(MAXPACKET, 0); in run() local 941 nsendAns = resolv_res_nsend(&mNetContext, msg.data(), msgLen, ansBuf.data(), MAXPACKET, 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()
|