Home
last modified time | relevance | path

Searched refs:sin_family (Results 1 – 25 of 279) 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()
/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()
/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.c67 server_addr.sin_family = AF_INET; in client()
75 to_addr.sin_family = AF_INET; in client()
110 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.c167 sin2.sin_family = AF_INET; in setup()
172 sin3.sin_family = AF_INET; in setup()
177 sin4.sin_family = 47; /* bogus address family */ in setup()
227 sin0->sin_family = AF_INET; in start_server()
/external/syslinux/gpxe/src/arch/i386/interface/pxe/
Dpxe_udp.c87 assert ( sin_src->sin_family == AF_INET ); in pxe_udp_deliver_iob()
92 assert ( sin_dest->sin_family == AF_INET ); in pxe_udp_deliver_iob()
118 .sin_family = AF_INET,
272 dest.sin_family = AF_INET; in pxenv_udp_write()
/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/syslinux/gpxe/src/include/gpxe/
Din.h61 sa_family_t sin_family; member
85 sa_family_t sin_family; member
/external/xmlrpcpp/src/
DXmlRpcSocket.cpp115 saddr.sin_family = AF_INET; in bind()
152 saddr.sin_family = AF_INET; in connect()
157 saddr.sin_family = hp->h_addrtype; in connect()
/external/valgrind/none/tests/
Dfdleak_ipv4.c25 addr.sin_family = AF_INET; in server()
45 addr.sin_family = AF_INET; in client()
/external/ltp/testcases/cve/
Dcve-2017-2671.c66 iaddr.sin_family = AF_INET; in setup()
67 uaddr.sin_family = AF_UNSPEC; in setup()
/external/toybox/toys/net/
Difconfig.c153 xprintf("%10c%s", ' ', (si->sin_family == AF_INET) ? "inet" : in display_ifconfig()
154 (si->sin_family == AF_INET6) ? "inet6" : "unspec"); in display_ifconfig()
159 si->sin_family = 0; in display_ifconfig()
161 (si->sin_family == 0xFFFF || !si->sin_family) in display_ifconfig()
489 si->sin_family = AF_INET; in ifconfig_main()
/external/ltp/testcases/kernel/sched/clisrv/
Dpthcli.c112 serv_addr.sin_family = AF_INET; in main()
118 "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()

12345678910>>...12