/third_party/ltp/utils/sctp/func_tests/ |
D | test_connectx.c | 91 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()
|
D | test_1_to_1_addrs.c | 115 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()
|
D | test_1_to_1_connect.c | 100 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()
|
D | test_1_to_1_connectx.c | 99 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()
|
D | test_connect.c | 76 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()
|
D | test_1_to_1_send.c | 91 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()
|
/third_party/ltp/testcases/network/sockets/ |
D | ltpClient.c | 128 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()
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind01.c | 64 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()
|
/third_party/libwebsockets/lib/core-net/ |
D | network.c | 53 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() 268 serv_addr4.sin_family = AF_INET; in lws_socket_bind() 730 sa46->sa4.sin_family = AF_INET; in lws_sa46_parse_numeric_address() 810 if (sa46->sa4.sin_family == AF_INET6) in lws_sa46_write_numeric_address() 814 if (sa46->sa4.sin_family == AF_INET) in lws_sa46_write_numeric_address() 824 if (sa46a->sa4.sin_family != sa46b->sa4.sin_family) in lws_sa46_compare_ads() 828 if (sa46a->sa4.sin_family == AF_INET6) in lws_sa46_compare_ads()
|
/third_party/curl/lib/ |
D | socketpair.c | 80 a.inaddr.sin_family = AF_INET; in Curl_socketpair() 122 if(a.inaddr.sin_family != a2.inaddr.sin_family || in Curl_socketpair()
|
/third_party/ltp/testcases/network/lib6/ |
D | getaddrinfo_01.c | 97 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 …]
|
/third_party/libuv/docs/code/interfaces/ |
D | main.c | 19 if (interface.address.address4.sin_family == AF_INET) { in main() 23 else if (interface.address.address4.sin_family == AF_INET6) { in main()
|
/third_party/libuv/test/ |
D | test-platform-output.c | 134 if (interfaces[i].address.address4.sin_family == AF_INET) { in TEST_IMPL() 136 } else if (interfaces[i].address.address4.sin_family == AF_INET6) { in TEST_IMPL() 142 if (interfaces[i].netmask.netmask4.sin_family == AF_INET) { in TEST_IMPL() 145 } else if (interfaces[i].netmask.netmask4.sin_family == AF_INET6) { in TEST_IMPL()
|
/third_party/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg03.c | 58 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()
|
/third_party/ltp/testcases/kernel/syscalls/accept/ |
D | accept02.c | 115 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()
|
D | accept01.c | 70 sin0.sin_family = AF_INET; in test_setup() 79 sin1.sin_family = AF_INET; in test_setup()
|
/third_party/ltp/testcases/kernel/syscalls/connect/ |
D | connect01.c | 185 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()
|
/third_party/ltp/testcases/cve/ |
D | cve-2017-2671.c | 53 iaddr.sin_family = AF_INET; in setup() 54 uaddr.sin_family = AF_UNSPEC; in setup()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | iapp.c | 198 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | iapp.c | 198 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()
|
/third_party/ltp/testcases/kernel/sched/clisrv/ |
D | pthcli.c | 111 serv_addr.sin_family = AF_INET; in main() 117 "serv_addr.sin_port = %d\n", __FILE__, serv_addr.sin_family, in main()
|
D | pthserv.c | 110 serv_addr.sin_family = AF_INET; in main() 116 "serv_addr.sin_port = %d\n", __FILE__, serv_addr.sin_family, in main()
|
/third_party/musl/libc-test/src/functional/ |
D | socket.c | 16 struct sockaddr_in sa = { .sin_family = AF_INET }; in main() 37 sa.sin_family = AF_INET; in main()
|
/third_party/musl/src/network/ |
D | res_msend.c | 60 ns[nns].sin.sin_family = AF_INET; in __res_msend_rc() 71 sa.sin.sin_family = family; in __res_msend_rc() 96 if (ns[i].sin.sin_family != AF_INET) continue; in __res_msend_rc()
|
/third_party/ltp/testcases/network/multicast/mc_commo/ |
D | mc_send.c | 62 mcast_out.sin_family = sin.sin_family = AF_INET; in main()
|