/external/libnetfilter_conntrack/ |
configure.ac | 32 dnl Check for inet_ntop 33 AC_CHECK_FUNCS(inet_ntop) 38 AC_MSG_CHECKING(if inet_ntop supports IPv6) 57 if (inet_ntop(AF_INET6, &addr6, buf, 128) == 0 && errno == EAFNOSUPPORT) 63 AC_DEFINE_UNQUOTED(HAVE_INET_NTOP_IPV6, 1, [Define to 1 if inet_ntop supports IPv6.])
|
config.h.in | 9 /* Define to 1 if you have the `inet_ntop' function. */ 12 /* Define to 1 if inet_ntop supports IPv6. */
|
/external/fio/os/windows/posix/include/arpa/ |
inet.h | 15 const char *inet_ntop(int af, const void *restrict src,
|
/bionic/tests/ |
arpa_inet_test.cpp | 139 ASSERT_STREQ("127.0.0.1", inet_ntop(AF_INET, &ss, s, INET_ADDRSTRLEN)); 143 // OpenBSD's inet_ntop had a bug where passing a 'size' larger than INET_ADDRSTRLEN 144 // for AF_INET or INET6_ADDRSTRLEN for AF_INET6 would cause inet_ntop to overflow an 155 ASSERT_STREQ("127.0.0.1", inet_ntop(AF_INET, &ss4, s4, INET_ADDRSTRLEN)); 156 ASSERT_STREQ("127.0.0.1", inet_ntop(AF_INET, &ss4, s4, 2*INET_ADDRSTRLEN)); 157 ASSERT_STREQ("::1", inet_ntop(AF_INET6, &ss6, s6, INET_ADDRSTRLEN)); 158 ASSERT_STREQ("::1", inet_ntop(AF_INET6, &ss6, s6, INET6_ADDRSTRLEN)); 159 ASSERT_STREQ("::1", inet_ntop(AF_INET6, &ss6, s6, 2*INET6_ADDRSTRLEN));
|
/system/netd/libnetdutils/ |
Socket.cpp | 27 auto* rv = inet_ntop(AF_INET6, &addr, out.data(), out.size()); 29 return statusFromErrno(errno, "inet_ntop() failed");
|
/device/generic/goldfish/dhcp/common/ |
utils.cpp | 21 if (::inet_ntop(AF_INET, &address, buffer, sizeof(buffer)) == nullptr) {
|
/external/libpcap/tests/ |
findalldevstest.c | 115 inet_ntop(AF_INET6, 120 inet_ntop(AF_INET6, 125 inet_ntop(AF_INET6, 130 inet_ntop(AF_INET6,
|
/external/webrtc/webrtc/base/ |
nethelpers.h | 57 // rtc namespaced wrappers for inet_ntop and inet_pton so we can avoid 59 const char* inet_ntop(int af, const void *src, char* dst, socklen_t size);
|
nethelpers.cc | 102 const char* inet_ntop(int af, const void *src, char* dst, socklen_t size) { function in namespace:rtc 106 return ::inet_ntop(af, src, dst, size);
|
/cts/tests/tests/net/jni/ |
NativeDnsJni.c | 47 inet_ntop(current->ai_family, &((struct sockaddr_in *)current->ai_addr)->sin_addr, 52 inet_ntop(current->ai_family, &((struct sockaddr_in6 *)current->ai_addr)->sin6_addr, 80 inet_ntop(current->ai_family, &((struct sockaddr_in *)current->ai_addr)->sin_addr, 85 inet_ntop(current->ai_family, &((struct sockaddr_in6 *)current->ai_addr)->sin6_addr, 155 inet_ntop(my_hostent->h_addrtype, *current, buf, sizeof(buf));
|
/external/iproute2/lib/ |
ll_addr.c | 38 return inet_ntop(AF_INET, addr, buf, blen); 41 return inet_ntop(AF_INET6, addr, buf, blen);
|
/external/ltp/testcases/network/multicast/mc_gethost/ |
mc_gethost.c | 72 printf("[%s]\n", inet_ntop(af, b_addr, p, sizeof p)); 101 printf(" %s", inet_ntop(host->h_addrtype,
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
inet_ntop.c | 1 /* $OpenBSD: inet_ntop.c,v 1.13 2016/09/21 04:38:56 guenther Exp $ */ 37 * inet_ntop(af, src, dst, size) 45 inet_ntop(int af, const void *src, char *dst, socklen_t size) function 58 DEF_WEAK(inet_ntop); variable
|
/device/linaro/bootloader/edk2/StdLib/LibC/NetUtil/ |
NetUtil.inf | 36 inet_ntop.c #
|
inet_ntop.c | 28 NetBSD: inet_ntop.c,v 1.3.4.2 2007/05/17 21:25:14 jdc Exp
29 inet_ntop.c,v 1.3.18.2 2005/11/03 23:02:22 marka Exp
53 __weak_alias(inet_ntop,_inet_ntop)
65 * inet_ntop(af, src, dst, size)
73 inet_ntop(int af, const void *src, char *dst, socklen_t size)
function
|
/external/curl/lib/ |
inet_ntop.h | 34 inet_ntop(af, addr, buf, (curl_socklen_t)size)
|
/external/libxml2/os400/ |
wrappers.h | 61 #define inet_ntop _lx_inet_ntop macro
|
/external/wpa_supplicant_8/src/utils/ |
ip_addr.c | 27 if (inet_ntop(AF_INET6, &addr->u.v6, buf, buflen) == NULL)
|
/external/ipsec-tools/src/racoon/ |
isakmp_unity.c | 293 inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40); 294 inet_ntop(AF_INET, &netentry->network.mask4, tmp2, 40); 372 inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40); 373 inet_ntop(AF_INET, &netentry->network.mask4, tmp2, 40); 391 inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40); 392 inet_ntop(AF_INET, &netentry->network.mask4, tmp2, 40);
|
/kernel/tests/net/test/ |
tcp_metrics.py | 70 data = inet_ntop(AF_INET, nla_data) 72 data = inet_ntop(AF_INET6, nla_data)
|
/bionic/libc/include/arpa/ |
inet.h | 46 const char* inet_ntop(int __af, const void* __src, char* __dst, socklen_t __size);
|
/external/android-clat/ |
dump.c | 66 inet_ntop(AF_INET, &header->saddr, addrstr, sizeof(addrstr)); 68 inet_ntop(AF_INET, &header->daddr, addrstr, sizeof(addrstr)); 84 inet_ntop(AF_INET6, &header->ip6_src, addrstr, sizeof(addrstr)); 87 inet_ntop(AF_INET6, &header->ip6_dst, addrstr, sizeof(addrstr));
|
/system/netd/server/ |
WakeupController.cpp | 87 inet_ntop(AF_INET, &header.saddr, addr, sizeof(addr)); 89 inet_ntop(AF_INET, &header.daddr, addr, sizeof(addr)); 101 inet_ntop(AF_INET6, &header.ip6_src, addr, sizeof(addr)); 103 inet_ntop(AF_INET6, &header.ip6_dst, addr, sizeof(addr));
|
/external/scapy/scapy/ |
pton_ntop.py | 126 def inet_ntop(af, addr): function 128 # Use inet_ntop if available 131 return socket.inet_ntop(af, addr)
|
utils6.py | 166 paddr = inet_ntop(socket.AF_INET6, naddr) # normalize 241 ifaceid = inet_ntop(socket.AF_INET6, x)[2:] 318 return inet_ntop(socket.AF_INET6, a) 328 addr = inet_ntop(socket.AF_INET6, b'\x20\x02'+addr+b'\x00'*10) 344 return inet_ntop(socket.AF_INET, addr[2:6]) 373 return inet_ntop(socket.AF_INET6, b'\xfd' + globalid + b'\x00'*10) 405 s1 = inet_ntop(socket.AF_INET6, b"\xff"*8 + s1)[20:] 406 s2 = inet_ntop(socket.AF_INET6, b"\xff"*8 + s2)[20:] 435 return inet_ntop(socket.AF_INET6, b"".join(res)) 490 server = inet_ntop(socket.AF_INET, addr[4:8] [all...] |