Searched refs:sendLenAndData (Results 1 – 1 of 1) sorted by relevance
/system/netd/ |
D | DnsProxyListener.cpp | 86 static bool sendLenAndData(SocketClient *c, const int len, const void* data) { in sendLenAndData() function 97 success &= sendLenAndData(c, strlen(hp->h_name)+1, hp->h_name); in sendhostent() 99 success &= sendLenAndData(c, 0, "") == 0; in sendhostent() 103 success &= sendLenAndData(c, strlen(hp->h_aliases[i])+1, hp->h_aliases[i]); in sendhostent() 105 success &= sendLenAndData(c, 0, ""); // null to indicate we're done in sendhostent() 114 success &= sendLenAndData(c, 16, hp->h_addr_list[i]); in sendhostent() 116 success &= sendLenAndData(c, 0, ""); // null to indicate we're done in sendhostent() 140 success = sendLenAndData(mClient, sizeof(struct addrinfo), ai) in run() 141 && sendLenAndData(mClient, ai->ai_addrlen, ai->ai_addr) in run() 142 && sendLenAndData(mClient, in run() [all …]
|