Home
last modified time | relevance | path

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

/bionic/tests/
Darpa_inet_test.cpp139 ASSERT_STREQ("127.0.0.1", inet_ntop(AF_INET, &ss, s, INET_ADDRSTRLEN)); in TEST()
155 ASSERT_STREQ("127.0.0.1", inet_ntop(AF_INET, &ss4, s4, INET_ADDRSTRLEN)); in TEST()
156 ASSERT_STREQ("127.0.0.1", inet_ntop(AF_INET, &ss4, s4, 2*INET_ADDRSTRLEN)); in TEST()
157 ASSERT_STREQ("::1", inet_ntop(AF_INET6, &ss6, s6, INET_ADDRSTRLEN)); in TEST()
158 ASSERT_STREQ("::1", inet_ntop(AF_INET6, &ss6, s6, INET6_ADDRSTRLEN)); in TEST()
159 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/
Dlibc.mips64.map446 inet_ntop;
Dlibc.x86_64.map446 inet_ntop;
Dlibc.arm64.map446 inet_ntop;
Dlibc.x86.brillo.map515 inet_ntop;
Dlibc.mips.brillo.map517 inet_ntop;
Dlibc.arm.brillo.map519 inet_ntop;
Dlibc.mips.map517 inet_ntop;
Dlibc.x86.map515 inet_ntop;
Dlibc.arm.map519 inet_ntop;
Dlibc.map.txt521 inet_ntop;
DAndroid.mk439 upstream-openbsd/lib/libc/net/inet_ntop.c \
DAndroid.bp459 "upstream-openbsd/lib/libc/net/inet_ntop.c",
/bionic/libc/tools/
Dposix-2013.txt412 inet_ntop