Searched refs:sendLenAndData (Results 1 - 1 of 1) sorted by relevance
/system/netd/server/ |
H A D | DnsProxyListener.cpp | 88 static bool sendLenAndData(SocketClient *c, const int len, const void* data) { function 99 success &= sendLenAndData(c, strlen(hp->h_name)+1, hp->h_name); 101 success &= sendLenAndData(c, 0, "") == 0; 105 success &= sendLenAndData(c, strlen(hp->h_aliases[i])+1, hp->h_aliases[i]); 107 success &= sendLenAndData(c, 0, ""); // null to indicate we're done 116 success &= sendLenAndData(c, 16, hp->h_addr_list[i]); 118 success &= sendLenAndData(c, 0, ""); // null to indicate we're done 136 success = sendLenAndData(mClient, sizeof(struct addrinfo), ai) 137 && sendLenAndData(mClient, ai->ai_addrlen, ai->ai_addr) 138 && sendLenAndData(mClien [all...] |
Completed in 1491 milliseconds