Searched refs:host_str (Results 1 – 1 of 1) sorted by relevance
/system/netd/tests/ |
D | dns_responder.cpp | 59 char host_str[NI_MAXHOST] = { 0 }; in addr2str() local 60 int rv = getnameinfo(sa, sa_len, host_str, sizeof(host_str), nullptr, 0, in addr2str() 62 if (rv == 0) return std::string(host_str); in addr2str() 596 std::string host_str = addr2str(ai->ai_addr, ai->ai_addrlen); in startServer() local 597 ALOGI("bound to UDP %s:%s", host_str.c_str(), listen_service_.c_str()); in startServer() 703 std::string host_str = in requestHandler() local 706 ALOGI("sent %zu bytes to %s", len, host_str.c_str()); in requestHandler() 708 APLOGI("sendto() failed for %s", host_str.c_str()); in requestHandler()
|