Home
last modified time | relevance | path

Searched refs:sin_family (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/external/ltp/utils/sctp/func_tests/
Dtest_connectx.c91 svr_loop[i].sin_family = AF_INET; in main()
94 svr_test[i].v4.sin_family = AF_INET; in main()
97 svr_try[i].sin_family = AF_INET; in main()
105 clt_loop1[i].sin_family = AF_INET; in main()
108 clt_test1[i].v4.sin_family = AF_INET; in main()
111 clt_loop2[i].sin_family = AF_INET; in main()
114 clt_test2[i].v4.sin_family = AF_INET; in main()
117 clt_loop3[i].sin_family = AF_INET; in main()
Dtest_1_to_1_addrs.c115 conn_addr.sin_family = AF_INET; in main()
119 lstn_addr.sin_family = AF_INET; in main()
216 addr->sin_family != lstn_addr.sin_family || in main()
273 addr->sin_family != acpt_addr.sin_family || in main()
Dtest_1_to_1_connectx.c99 conn_addr.sin_family = AF_INET; in main()
103 lstn_addr.sin_family = AF_INET; in main()
150 conn_addr.sin_family = 9090; /*Assigning invalid address family*/ in main()
158 conn_addr.sin_family = AF_INET; in main()
Dtest_1_to_1_connect.c100 conn_addr.sin_family = AF_INET; in main()
104 lstn_addr.sin_family = AF_INET; in main()
158 conn_addr.sin_family = 9090; /*Assigning invalid address family*/ in main()
166 conn_addr.sin_family = AF_INET; in main()
Dtest_connect.c76 svr_loop.v4.sin_family = AF_INET; in main()
79 clt_loop1.v4.sin_family = AF_INET; in main()
82 clt_loop2.v4.sin_family = AF_INET; in main()
85 clt_loop3.v4.sin_family = AF_INET; in main()
Dtest_1_to_1_send.c91 conn_addr.sin_family = AF_INET; in main()
95 lstn_addr.sin_family = AF_INET; in main()
190 conn_addr.sin_family = AF_INET; in main()
Dtest_basic.c114 loop1.v4.sin_family = AF_INET; in main()
118 loop2.v4.sin_family = AF_INET; in main()
223 if (msgname.v4.sin_family != AF_INET) { in main()
278 if (msgname.v4.sin_family != AF_INET) { in main()
442 if (msgname.v4.sin_family != AF_INET) { in main()
/external/openscreen/platform/impl/
Dsocket_address_posix_unittest.cc18 EXPECT_EQ(v4_address->sin_family, AF_INET); in TEST()
48 address.sin_family = AF_INET; in TEST()
57 EXPECT_EQ(v4_address->sin_family, address.sin_family); in TEST()
/external/ltp/testcases/network/sockets/
DltpClient.c128 udpRemoteServerAddr.sin_family = hostEntry->h_addrtype; in main()
135 tcpRemoteServerAddr.sin_family = hostEntry->h_addrtype; in main()
142 mcastRemoteServerAddr.sin_family = hostEntry->h_addrtype; in main()
160 udpClientAddr.sin_family = AF_INET; in main()
165 tcpClientAddr.sin_family = AF_INET; in main()
215 mcastClientAddr.sin_family = AF_INET; in main()
320 rawTraceAddr.sin_family = hostEntry->h_addrtype; in ltp_run_traceroute_tests()
347 rawAddr.sin_family = hostEntry->h_addrtype; in ltp_run_ping_tests()
632 rawReceiveAddr.sin_family); in ltp_traceroute()
/external/libwebsockets/lib/core-net/
Dnetwork.c53 addr4.sin_family = AF_UNSPEC; in lws_get_addresses()
91 while (addr4.sin_family == AF_UNSPEC && res) { in lws_get_addresses()
96 addr4.sin_family = AF_INET; in lws_get_addresses()
105 if (addr4.sin_family == AF_UNSPEC) in lws_get_addresses()
266 serv_addr4.sin_family = AF_INET; in lws_socket_bind()
728 sa46->sa4.sin_family = AF_INET; in lws_sa46_parse_numeric_address()
808 if (sa46->sa4.sin_family == AF_INET6) in lws_sa46_write_numeric_address()
812 if (sa46->sa4.sin_family == AF_INET) in lws_sa46_write_numeric_address()
822 if (sa46a->sa4.sin_family != sa46b->sa4.sin_family) in lws_sa46_compare_ads()
826 if (sa46a->sa4.sin_family == AF_INET6) in lws_sa46_compare_ads()
/external/ltp/testcases/kernel/syscalls/bind/
Dbind01.c64 sin1.sin_family = AF_INET; in test_setup()
69 sin2.sin_family = AF_INET; in test_setup()
73 sin3.sin_family = AF_INET; in test_setup()
/external/ltp/testcases/network/lib6/
Dgetaddrinfo_01.c97 err |= psin->sin_family != AF_INET; in gaiv4()
108 psin ? psin->sin_family : 0, in gaiv4()
174 err |= psin->sin_family != AF_INET; in gaiv4()
185 psin ? psin->sin_family : 0, in gaiv4()
222 err |= psin->sin_family != AF_INET; in gaiv4()
233 psin ? psin->sin_family : 0, in gaiv4()
289 err |= psin->sin_family != AF_INET; in gaiv4()
300 psin ? psin->sin_family : 0, in gaiv4()
343 err |= psin->sin_family != AF_INET; in gaiv4()
354 psin ? psin->sin_family : 0, in gaiv4()
[all …]
/external/ltp/testcases/kernel/syscalls/accept/
Daccept02.c115 mc_group_addr->sin_family = AF_INET; in setup()
118 server_addr->sin_family = AF_INET; in setup()
121 client_addr->sin_family = AF_INET; in setup()
Daccept01.c70 sin0.sin_family = AF_INET; in test_setup()
79 sin1.sin_family = AF_INET; in test_setup()
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg03.c58 server_addr.sin_family = AF_INET; in client()
66 to_addr.sin_family = AF_INET; in client()
101 server_addr.sin_family = AF_INET; in server()
/external/ltp/testcases/kernel/syscalls/connect/
Dconnect01.c185 sin2.sin_family = AF_INET; in setup()
190 sin3.sin_family = AF_INET; in setup()
195 sin4.sin_family = 47; /* bogus address family */ in setup()
245 sin0->sin_family = AF_INET; in start_server()
/external/ltp/testcases/cve/
Dcve-2017-2671.c53 iaddr.sin_family = AF_INET; in setup()
54 uaddr.sin_family = AF_UNSPEC; in setup()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
Dpaccept.cpp23 server.sin_family = AF_INET; in main()
42 server.sin_family = AF_INET; in main()
/external/ltp/testcases/kernel/sched/clisrv/
Dpthcli.c111 serv_addr.sin_family = AF_INET; in main()
117 "serv_addr.sin_port = %d\n", __FILE__, serv_addr.sin_family, in main()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/
Dserver.cpp63 servAddr.sin_family = PF_INET; in main()
64 servAddr.sin_family = INADDR_ANY; in main()
/external/pigweed/pw_stream/
Dsocket_stream.cc32 addr.sin_family = AF_INET; in Serve()
61 addr.sin_family = AF_INET; in Connect()
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_lib.h87 saddr.sin_family = AF_INET; in pair_udp_open()
92 daddr.sin_family = AF_INET; in pair_udp_open()
Dreuseport_dualstack.c41 addr4->sin_family = AF_INET; in build_rcv_fd()
78 saddr.sin_family = AF_INET; in send_from_v4()
82 daddr.sin_family = AF_INET; in send_from_v4()
/external/llvm-project/llvm/tools/llvm-jitlink/llvm-jitlink-executor/
Dllvm-jitlink-executor.cpp57 ServerAddr.sin_family = PF_INET; in openListener()
58 ServerAddr.sin_family = INADDR_ANY; in openListener()
/external/ltp/testcases/network/multicast/mc_commo/
Dmc_send.c62 mcast_out.sin_family = sin.sin_family = AF_INET; in main()

12345678910>>...16