/kernel/liteos_a/testsuites/unittest/net/netdb/full/ |
D | net_netdb_test_004.cpp | 50 ia.s_addr = inet_addr("127.0.0.1"); in GetHostByAddrTest() 57 ia.s_addr = inet_addr("100.0.0.0"); in GetHostByAddrTest() 64 ia.s_addr = inet_addr("127.0.0.0"); in GetHostByAddrTest()
|
D | net_netdb_test_005.cpp | 43 ia.s_addr = inet_addr("127.0.0.1"); in GetHostByAddrRTest() 52 ia.s_addr = inet_addr("127.0.0.0"); in GetHostByAddrRTest()
|
D | net_netdb_test_010.cpp | 41 addr.sin_addr.s_addr = inet_addr("127.0.0.1"); in NameInfoTest()
|
/kernel/liteos_m/components/net/test/ |
D | net_socket_test_003.c | 60 srvAddr.sin_addr.s_addr = inet_addr(STACK_IP); in SampleTcpServer() 90 clnAddr.sin_addr.s_addr = inet_addr(PEER_IP); in SampleTcpServer() 149 srvAddr.sin_addr.s_addr = inet_addr(PEER_IP); in SampleTcpClient() 162 inet_addr(PEER_IP), 14); in SampleTcpClient() 171 inet_addr(STACK_IP), 17); in SampleTcpClient() 189 clnAddr.sin_addr.s_addr = inet_addr(PEER_IP); in SampleTcpClient()
|
D | net_socket_test_008.c | 72 srvAddr.sin_addr.s_addr = inet_addr(STACK_IP); in SampleTcpServer() 115 srvAddr.sin_addr.s_addr = inet_addr(PEER_IP); in SampleTcpClient() 128 inet_addr(PEER_IP), 11); in SampleTcpClient() 137 inet_addr(STACK_IP), 14); in SampleTcpClient()
|
D | net_socket_test_002.c | 61 srvAddr.sin_addr.s_addr = inet_addr(STACK_IP); in UdpTestTask() 68 clnAddr.sin_addr.s_addr = inet_addr(PEER_IP); in UdpTestTask() 88 clnAddr.sin_addr.s_addr = inet_addr(PEER_IP); in UdpTestTask()
|
D | net_socket_test_007.c | 65 srvAddr.sin_addr.s_addr = inet_addr(STACK_IP); in UdpTestMoreTask() 72 clnAddr.sin_addr.s_addr = inet_addr(PEER_IP); in UdpTestMoreTask()
|
D | net_socket_test_013.c | 55 srvAddr.sin_addr.s_addr = inet_addr(STACK_IP); in SampleTcpServer() 91 srvAddr.sin_addr.s_addr = inet_addr(PEER_IP); in SampleTcpClient()
|
D | net_socket_test_012.c | 62 srvAddr.sin_addr.s_addr = inet_addr(STACK_IP); in SampleTcpServer() 99 srvAddr.sin_addr.s_addr = inet_addr(PEER_IP); in SampleTcpClient()
|
D | net_socket_test_010.c | 63 srvAddr.sin_addr.s_addr = inet_addr(STACK_IP); in SampleTcpServer() 117 srvAddr.sin_addr.s_addr = inet_addr(PEER_IP); in SampleTcpClient()
|
D | net_socket_test_009.c | 64 srvAddr.sin_addr.s_addr = inet_addr(STACK_IP); in SampleTcpServer() 122 srvAddr.sin_addr.s_addr = inet_addr(PEER_IP); in SampleTcpClient()
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
D | net_socket_test_003.cpp | 69 srvAddr.sin_addr.s_addr = inet_addr(STACK_IP); in SampleTcpServer() 108 clnAddr.sin_addr.s_addr = inet_addr(PEER_IP); in SampleTcpServer() 176 srvAddr.sin_addr.s_addr = inet_addr(PEER_IP); in SampleTcpClient() 189 inet_addr(PEER_IP), (static_cast<struct sockaddr_in *>(&addr))->sin_addr.s_addr); in SampleTcpClient() 198 inet_addr(STACK_IP), (static_cast<struct sockaddr_in *>(&addr))->sin_addr.s_addr); in SampleTcpClient() 223 clnAddr.sin_addr.s_addr = inet_addr(PEER_IP); in SampleTcpClient()
|
D | net_socket_test_002.cpp | 65 srvAddr.sin_addr.s_addr = inet_addr(STACK_IP); in UdpTest() 72 clnAddr.sin_addr.s_addr = inet_addr(PEER_IP); in UdpTest() 91 clnAddr.sin_addr.s_addr = inet_addr(PEER_IP); in UdpTest()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_net_container_005.cpp | 63 server_addr.sin_addr.s_addr = inet_addr(SERVER_IP); in UdpClient() 68 peer_addr.sin_addr.s_addr = inet_addr(PEER_IP); in UdpClient() 134 server_addr.sin_addr.s_addr = inet_addr(SERVER_IP); in UdpServer()
|
D | It_net_container_009.cpp | 62 server_addr.sin_addr.s_addr = inet_addr(SERVER_IP); in TcpClient() 114 server_addr.sin_addr.s_addr = inet_addr(SERVER_IP); in TcpServer()
|
D | It_net_container_007.cpp | 53 addr.sin_addr.s_addr = inet_addr(LOCALHOST); in ChildFunc()
|
D | It_net_container_008.cpp | 52 sa.sin_addr.s_addr = inet_addr(LOCALHOST); in UdpTcpBind()
|
/kernel/linux/linux-5.10/include/linux/ |
D | netpoll.h | 17 union inet_addr { union 30 union inet_addr local_ip, remote_ip;
|
/kernel/liteos_m/testsuites/unittest/fuzz/src/socket/ |
D | net_fuzz.c | 82 srvAddr.sin_addr.s_addr = inet_addr(g_udpIp); in SampleUdpServer() 121 clnAddr.sin_addr.s_addr = inet_addr(g_udpIp); in SampleUdpClient() 213 srvAddr.sin_addr.s_addr = inet_addr(STACK_IP); in SampleTcpServer() 250 srvAddr.sin_addr.s_addr = inet_addr(PEER_IP); in SampleTcpClient()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/arpa/ |
D | inet.h | 41 in_addr_t inet_addr(const char *cp);
|
/kernel/liteos_a/apps/tftp/src/ |
D | main.c | 125 ulRemoteAddr = inet_addr(argv[i]); in osShellTftp()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | reuseaddr_conflict.c | 39 .sin_addr.s_addr = any ? htonl(INADDR_ANY) : inet_addr("127.0.0.1"), in open_port()
|
D | reuseaddr_ports_exhausted.c | 70 local_addr.sin_addr.s_addr = inet_addr("127.0.0.1"); in bind_port()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | probe_user.c | 45 in->sin_addr.s_addr = inet_addr("255.255.255.255"); in test_probe_user()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | test_probe_write_user_user.c | 78 mapped_addr_in->sin_addr.s_addr = inet_addr("255.255.255.255"); in main()
|