Searched refs:s_listen (Results 1 – 6 of 6) sorted by relevance
/external/netperf/ |
D | nettest_sdp.c | 1572 SOCKET s_listen,s_data; in recv_sdp_stream() local 1672 s_listen = create_data_socket(local_res); in recv_sdp_stream() 1674 if (s_listen == INVALID_SOCKET) { in recv_sdp_stream() 1684 win_kludge_socket2 = s_listen; in recv_sdp_stream() 1723 if (listen(s_listen, 5) == SOCKET_ERROR) { in recv_sdp_stream() 1725 close(s_listen); in recv_sdp_stream() 1734 if (getsockname(s_listen, in recv_sdp_stream() 1738 close(s_listen); in recv_sdp_stream() 1780 if ((s_data=accept(s_listen, in recv_sdp_stream() 1784 close(s_listen); in recv_sdp_stream() [all …]
|
D | nettest_bsd.c | 4232 SOCKET s_listen,s_data; in recv_tcp_stream() local 4329 s_listen = create_data_socket(local_res); in recv_tcp_stream() 4331 if (s_listen == INVALID_SOCKET) { in recv_tcp_stream() 4341 win_kludge_socket2 = s_listen; in recv_tcp_stream() 4380 if (listen(s_listen, 5) == SOCKET_ERROR) { in recv_tcp_stream() 4382 close(s_listen); in recv_tcp_stream() 4391 if (getsockname(s_listen, in recv_tcp_stream() 4395 close(s_listen); in recv_tcp_stream() 4438 if ((s_data=accept(s_listen, in recv_tcp_stream() 4442 close(s_listen); in recv_tcp_stream() [all …]
|
D | nettest_unix.c | 709 SOCKET s_listen,s_data; in recv_stream_stream() local 799 s_listen = create_unix_socket(AF_UNIX, in recv_stream_stream() 802 if (s_listen == INVALID_SOCKET) { in recv_stream_stream() 819 if (bind(s_listen, in recv_stream_stream() 824 close(s_listen); in recv_stream_stream() 868 if (listen(s_listen, 5) == SOCKET_ERROR) { in recv_stream_stream() 870 close(s_listen); in recv_stream_stream() 878 if (getsockname(s_listen, in recv_stream_stream() 882 close(s_listen); in recv_stream_stream() 917 if ((s_data=accept(s_listen, in recv_stream_stream() [all …]
|
D | nettest_xti.c | 1249 SOCKET s_listen,s_data; in recv_xti_tcp_stream() local 1365 s_listen = create_xti_endpoint(xti_tcp_stream_request->xti_device); in recv_xti_tcp_stream() 1367 if (s_listen == INVALID_SOCKET) { in recv_xti_tcp_stream() 1389 if (t_bind(s_listen, in recv_xti_tcp_stream() 1393 close(s_listen); in recv_xti_tcp_stream() 1490 if (t_listen(s_listen, &call_req) == -1) { in recv_xti_tcp_stream() 1497 close(s_listen); in recv_xti_tcp_stream() 1505 t_look(s_listen)); in recv_xti_tcp_stream() 1512 s_data = s_listen; in recv_xti_tcp_stream() 1513 if (t_accept(s_listen, in recv_xti_tcp_stream() [all …]
|
D | nettest_sctp.c | 1066 int s_listen,s_data; in recv_sctp_stream() local 1172 s_listen = create_data_socket(local_res); in recv_sctp_stream() 1174 if (s_listen < 0) { in recv_sctp_stream() 1219 if (getsockname(s_listen, in recv_sctp_stream() 1223 close(s_listen); in recv_sctp_stream() 1262 if (listen(s_listen, 5) == -1) { in recv_sctp_stream() 1264 close(s_listen); in recv_sctp_stream() 1274 if ((s_data = accept(s_listen, in recv_sctp_stream() 1278 close(s_listen); in recv_sctp_stream() 1449 close(s_listen); in recv_sctp_stream() [all …]
|
D | nettest_dlpi.c | 3331 SOCKET s_listen,data_descriptor; in recv_dlpi_co_rr() local
|