Home
last modified time | relevance | path

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

/system/netd/server/
DDnsProxyListener.cpp155 static bool sendhostent(SocketClient *c, struct hostent *hp) { in sendhostent() argument
158 if (hp->h_name != NULL) { in sendhostent()
159 success &= sendLenAndData(c, strlen(hp->h_name)+1, hp->h_name); in sendhostent()
164 for (i=0; hp->h_aliases[i] != NULL; i++) { in sendhostent()
165 success &= sendLenAndData(c, strlen(hp->h_aliases[i])+1, hp->h_aliases[i]); in sendhostent()
169 uint32_t buf = htonl(hp->h_addrtype); in sendhostent()
172 buf = htonl(hp->h_length); in sendhostent()
175 for (i=0; hp->h_addr_list[i] != NULL; i++) { in sendhostent()
176 success &= sendLenAndData(c, 16, hp->h_addr_list[i]); in sendhostent()
439 struct hostent* hp = android_gethostbynamefornet(mName, mAf, mNetId, mMark); in run() local
[all …]