/external/toybox/toys/pending/ |
netstat.c | 188 static void addr2str(int af, void *addr, unsigned port, char *buf, char *label) function 261 addr2str(AF_INET, &laddr, lport, lip, label); 262 addr2str(AF_INET, &raddr, rport, rip, label); 294 addr2str(AF_INET6, &laddr6, lport, lip, label); 295 addr2str(AF_INET6, &raddr6, rport, rip, label);
|
/system/netd/tests/ |
dns_responder.cpp | 58 std::string addr2str(const sockaddr* sa, socklen_t sa_len) { function in namespace:test 596 std::string host_str = addr2str(ai->ai_addr, ai->ai_addrlen); 704 addr2str(reinterpret_cast<const sockaddr*>(&sa), sa_len);
|