Searched refs:ansLen (Results 1 – 1 of 1) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsProxyListener.cpp | 1129 int ansLen = -1; in run() local 1135 ansLen = -ECONNREFUSED; in run() 1138 ansLen = resolv_res_nsend(&mNetContext, std::span(msg.data(), msgLen), ansBuf, &rcode, in run() 1142 ansLen = -EAI_SYSTEM; in run() 1148 ansLen = -EBUSY; in run() 1157 if (ansLen < 0) { in run() 1158 if (!sendBE32(mClient, ansLen)) { in run() 1164 resNSendToAiError(ansLen, rcode), event, rr_name, isUidBlocked); in run() 1177 if (!setQueryId(std::span(ansBuf.data(), ansLen), original_query_id)) { in run() 1183 if (!sendLenAndData(mClient, ansLen, ansBuf.data())) { in run() [all …]
|