/kernel/liteos_a/testsuites/unittest/net/netdb/full/ |
D | net_netdb_test_019.cpp | 61 …ICUNIT_ASSERT_STRING_EQUAL("127.0.0.1", inet_ntop(AF_INET, se1->h_addr_list[0], addr, INET_ADDRSTR… in GetHostEntTest() 83 …ICUNIT_ASSERT_STRING_EQUAL("::1", inet_ntop(AF_INET6, se3->h_addr_list[0], addr, INET6_ADDRSTRLEN)… in GetHostEntTest() 89 …ICUNIT_ASSERT_STRING_EQUAL("10.0.0.0", inet_ntop(AF_INET, se3->h_addr_list[0], addr, INET_ADDRSTRL… in GetHostEntTest()
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
D | sockaddr.c | 18 inet_ntop(sin->sin_family, &sin->sin_addr, tmp, sizeof(tmp))); in af_inet__scnprintf() 27 inet_ntop(sin6->sin6_family, &sin6->sin6_addr, tmp, sizeof(tmp))); in af_inet6__scnprintf()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | sock_fields.c | 65 inet_ntop(AF_INET, &sk->src_ip4, src_ip4, sizeof(src_ip4)); in print_sk() 66 inet_ntop(AF_INET6, &sk->src_ip6, src_ip6, sizeof(src_ip6)); in print_sk() 67 inet_ntop(AF_INET, &sk->dst_ip4, dst_ip4, sizeof(dst_ip4)); in print_sk() 68 inet_ntop(AF_INET6, &sk->dst_ip6, dst_ip6, sizeof(dst_ip6)); in print_sk()
|
/kernel/liteos_m/testsuites/unittest/xts/net/ |
D | acts_net_test.c | 347 ret = inet_ntop(AF_INET, &inputAddr, rstBuff, sizeof(rstBuff)); 371 ret = inet_ntop(AF_INET, &inputAddr, rstBuff, sizeof(rstBuff)); 393 ret = inet_ntop(AF_IPX, &inputAddr, rstBuff, sizeof(rstBuff)); 395 …ret = inet_ntop(-1, &inputAddr, rstBuff, sizeof(rstBuff)); /* -1, common data for test, no special…
|
/kernel/liteos_m/components/net/test/ |
D | net_socket_test_006.c | 57 p = inet_ntop(AF_INET, &in, buf, sizeof(buf)); in InetTest()
|
D | net_socket_test_011.c | 208 (void)inet_ntop(AF_INET, &ip4_addr_scr.addr, buf, sizeof(buf)); in ParsePackageIpUdp() 210 (void)inet_ntop(AF_INET, &ip4_addr_dest.addr, buf, sizeof(buf)); in ParsePackageIpUdp()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/arpa/ |
D | inet.h | 45 const char *inet_ntop(int af, const void *__restrict src, char *__restrict dst, socklen_t size);
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
D | net_socket_test_006.cpp | 77 p = inet_ntop(AF_INET, &in, buf, sizeof(buf)); in InetTest()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | nettest.c | 191 inet_ntop(AF_INET, &s->sin_addr, addrstr, in log_address() 200 inet_ntop(AF_INET6, &s6->sin6_addr, addrstr, in log_address() 538 inet_ntop(AF_INET, exp_in, in expected_addr_match() 549 inet_ntop(AF_INET6, exp_in, in expected_addr_match() 617 inet_ntop(AF_INET, &pi->ipi_addr, buf, sizeof(buf)); in get_index_from_cmsg() 624 inet_ntop(AF_INET6, &pi6->ipi6_addr, buf, sizeof(buf)); in get_index_from_cmsg()
|
D | txtimestamp.c | 281 saddr ? inet_ntop(family, saddr, sa, sizeof(sa)) : "unknown", in print_pktinfo() 282 daddr ? inet_ntop(family, daddr, da, sizeof(da)) : "unknown"); in print_pktinfo()
|
/kernel/liteos_a/compat/posix/src/ |
D | socket.c | 156 const char *inet_ntop(int af, const void *src, char *dst, socklen_t size) in inet_ntop() function
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | xdping.c | 57 inet_ntop(AF_INET, &inaddr, inaddrbuf, in get_stats()
|
D | test_flow_dissector.c | 136 if (!inet_ntop(addr->sa_family, ((void *) addr) + off, nbuf, in util_printaddr()
|
/kernel/liteos_m/components/net/lwip-2.1/porting/src/ |
D | api_shell.c | 458 … PRINTK("\n[%u]Reply from %s: ", i, inet_ntop(AF_INET, &to.sin_addr, buf, sizeof(buf))); in OsPingFunc() 504 PRINTK("\n--- %s ping statistics ---\n", inet_ntop(AF_INET, &to.sin_addr, buf, sizeof(buf))); in OsPingFunc()
|
D | sockets_porting.c | 157 const char *inet_ntop(int af, const void *src, char *dst, socklen_t size) in inet_ntop() function
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 337 inet_ntop(AF_INET, RTA_DATA(attrs), str, sizeof(str)); in print_addr() 344 inet_ntop(AF_INET6, RTA_DATA(attrs), str, sizeof(str)); in print_addr()
|
/kernel/linux/linux-5.10/tools/hv/ |
D | hv_kvp_daemon.c | 776 str = inet_ntop(family, &addr->sin_addr, tmp, 50); in kvp_process_ip_address() 780 str = inet_ntop(family, &addr6->sin6_addr.s6_addr, tmp, 50); in kvp_process_ip_address()
|
/kernel/uniproton/src/net/lwip-2.1/src/ |
D | sockets.c | 153 const char *inet_ntop(int af, const void *src, char *dst, socklen_t size) in inet_ntop() function
|
/kernel/liteos_a/net/lwip-2.1/enhancement/src/ |
D | api_shell.c | 1760 … PRINTK("\n[%u]Reply from %s: ", i, inet_ntop(AF_INET, &to.sin_addr, buf, sizeof(buf))); 1805 PRINTK("\n--- %s ping statistics ---\n", inet_ntop(AF_INET, &to.sin_addr, buf, sizeof(buf))); 2201 …if (lwip_strnicmp(inet_ntop(AF_INET6, &to.sin6_addr, buf, sizeof(buf)), argv[ping6_params.host_ind… 2210 …PRINTK("PING %s with %d bytes of data\n", inet_ntop(AF_INET6, &to.sin6_addr, buf, sizeof(buf)), LW… 2318 inet_ntop(AF_INET6, &to.sin6_addr, buf, sizeof(buf)),
|