Home
last modified time | relevance | path

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

12345678910>>...12

/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_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_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_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()
Dtest_1_to_1_initmsg_connect.c79 conn_addr.sin_family = AF_INET; in main()
83 lstn_addr.sin_family = AF_INET; in main()
Dtest_1_to_1_sendmsg.c106 conn_addr.sin_family = AF_INET; in main()
110 lstn_addr.sin_family = AF_INET; in main()
263 conn_addr.sin_family = AF_INET; in main()
267 lstn_addr.sin_family = AF_INET; in main()
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_impl.cc1066 if(_filterIPAddress._sockaddr_storage.sin_family == 0) in FilterIP()
1089 _filterIPAddress._sockaddr_storage.sin_family = AF_INET6; in SetFilterIP()
1104 _filterIPAddress._sockaddr_storage.sin_family = AF_INET; in SetFilterIP()
1174 _remoteRTPAddr.sin_family = PF_INET6; in BuildRemoteRTPAddr()
1176 _remoteRTPAddr._sockaddr_storage.sin_family = PF_INET6; in BuildRemoteRTPAddr()
1188 _remoteRTPAddr.sin_family = PF_INET; in BuildRemoteRTPAddr()
1190 _remoteRTPAddr._sockaddr_storage.sin_family = PF_INET; in BuildRemoteRTPAddr()
1203 _remoteRTCPAddr.sin_family = PF_INET6; in BuildRemoteRTCPAddr()
1205 _remoteRTCPAddr._sockaddr_storage.sin_family = PF_INET6; in BuildRemoteRTCPAddr()
1218 _remoteRTCPAddr.sin_family = PF_INET; in BuildRemoteRTCPAddr()
[all …]
Dudp_transport.h39 int8_t sin_family; member
41 int16_t sin_family;
60 int8_t sin_family; member
62 int16_t sin_family;
78 int8_t sin_family; member
80 int16_t sin_family;
/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()
DltpServer.c116 multiServerAddr.sin_family = AF_INET; in main()
173 udpServerAddr.sin_family = AF_INET; in main()
190 tcpServerAddr.sin_family = AF_INET; in main()
/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/recvmsg/
Drecvmsg03.c68 server_addr.sin_family = AF_INET; in client()
76 to_addr.sin_family = AF_INET; in client()
111 server_addr.sin_family = AF_INET; in server()
/external/ltp/testcases/kernel/syscalls/bind/
Dbind01.c153 sin1.sin_family = AF_INET; in setup()
158 sin2.sin_family = AF_INET; in setup()
162 sin3.sin_family = AF_INET; in setup()
/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/wpa_supplicant_8/src/ap/
Diapp.c198 addr.sin_family = AF_INET; in iapp_send_add()
421 if (paddr->sin_family != AF_INET) { in iapp_init()
423 paddr->sin_family); in iapp_init()
436 if (paddr->sin_family != AF_INET) { in iapp_init()
438 paddr->sin_family); in iapp_init()
445 uaddr.sin_family = AF_INET; in iapp_init()
/external/ltp/testcases/cve/
Dcve-2017-2671.c65 iaddr.sin_family = AF_INET; in setup()
66 uaddr.sin_family = AF_UNSPEC; in setup()
/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/linux-kselftest/tools/testing/selftests/net/
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()
Dpsock_lib.h101 saddr.sin_family = AF_INET; in pair_udp_open()
106 daddr.sin_family = AF_INET; in pair_udp_open()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/
Dserver.cpp64 servAddr.sin_family = PF_INET; in main()
65 servAddr.sin_family = INADDR_ANY; in main()
/external/toybox/toys/net/
Difconfig.c176 xprintf("%10c%s", ' ', (si->sin_family == AF_INET) ? "inet" : in display_ifconfig()
177 (si->sin_family == AF_INET6) ? "inet6" : "unspec"); in display_ifconfig()
182 si->sin_family = 0; in display_ifconfig()
184 (si->sin_family == 0xFFFF || !si->sin_family) in display_ifconfig()
518 si->sin_family = AF_INET; in ifconfig_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()

12345678910>>...12