Home
last modified time | relevance | path

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

/bionic/tests/
Darpa_inet_test.cpp60 ASSERT_STREQ("127.0.0.1", inet_ntop(AF_INET, &ss, s, INET_ADDRSTRLEN)); in TEST()
76 ASSERT_STREQ("127.0.0.1", inet_ntop(AF_INET, &ss4, s4, INET_ADDRSTRLEN)); in TEST()
77 ASSERT_STREQ("127.0.0.1", inet_ntop(AF_INET, &ss4, s4, 2*INET_ADDRSTRLEN)); in TEST()
78 ASSERT_STREQ("::1", inet_ntop(AF_INET6, &ss6, s6, INET_ADDRSTRLEN)); in TEST()
79 ASSERT_STREQ("::1", inet_ntop(AF_INET6, &ss6, s6, INET6_ADDRSTRLEN)); in TEST()
80 ASSERT_STREQ("::1", inet_ntop(AF_INET6, &ss6, s6, 2*INET6_ADDRSTRLEN)); in TEST()
/bionic/libc/include/arpa/
Dinet.h45 const char* inet_ntop(int, const void*, char*, socklen_t);
/bionic/libc/dns/net/
Dgetnameinfo.c296 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)) in getnameinfo_inet()
342 if (inet_ntop(afd->a_af, addr, host, in getnameinfo_inet()
364 if (inet_ntop(AF_INET6, addr, numaddr, sizeof(numaddr)) == NULL) in ip6_parsenumeric()
Dgethnamaddr.c935 const char * addrStr = inet_ntop(af, addr, buf, sizeof(buf)); in android_gethostbyaddrfornet_proxy_internal()
1494 if (inet_ntop(af, uaddr, name, (socklen_t)sizeof(name)) == NULL) in _yp_gethtbyaddr()
/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_ntop.c46 inet_ntop(int af, const void *src, char *dst, socklen_t size) in inet_ntop() function
/bionic/libc/dns/nameser/
Dns_print.c163 (void) inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen); in ns_sprintrrf()
333 (void) inet_ntop(AF_INET6, rdata, buf, (socklen_t)buflen); in ns_sprintrrf()
424 (void) inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen); in ns_sprintrrf()
691 (void) inet_ntop(AF_INET6, &a, buf, (socklen_t)buflen); in ns_sprintrrf()
963 (void) inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen); in ns_sprintrrf()
968 (void) inet_ntop(AF_INET6, rdata, buf, (socklen_t)buflen); in ns_sprintrrf()
/bionic/libc/dns/resolv/
Dres_debug.c732 inet_ntop(AF_INET, &u.sin.sin_addr, ret, (socklen_t)sizeof ret); in p_sockun()
736 inet_ntop(AF_INET6, &u.sin6.sin6_addr, ret, sizeof ret); in p_sockun()
/bionic/libc/tools/
Dposix-2013.txt412 inet_ntop
/bionic/libc/
Dlibc.map611 inet_ntop;
DAndroid.mk399 upstream-openbsd/lib/libc/net/inet_ntop.c \