Searched refs:s_listen (Results 1 – 7 of 7) sorted by relevance
/external/netperf/src/ |
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 | 4888 SOCKET s_listen,s_data; in recv_tcp_stream() local 4985 s_listen = create_data_socket(local_res); in recv_tcp_stream() 4987 if (s_listen == INVALID_SOCKET) { in recv_tcp_stream() 4997 win_kludge_socket2 = s_listen; in recv_tcp_stream() 5036 if (listen(s_listen, 5) == SOCKET_ERROR) { in recv_tcp_stream() 5038 close(s_listen); in recv_tcp_stream() 5047 if (getsockname(s_listen, in recv_tcp_stream() 5051 close(s_listen); in recv_tcp_stream() 5094 if ((s_data=accept(s_listen, in recv_tcp_stream() 5098 close(s_listen); in recv_tcp_stream() [all …]
|
D | nettest_unix.c | 708 SOCKET s_listen,s_data; in recv_stream_stream() local 798 s_listen = create_unix_socket(AF_UNIX, in recv_stream_stream() 801 if (s_listen == INVALID_SOCKET) { in recv_stream_stream() 818 if (bind(s_listen, in recv_stream_stream() 823 close(s_listen); in recv_stream_stream() 867 if (listen(s_listen, 5) == SOCKET_ERROR) { in recv_stream_stream() 869 close(s_listen); in recv_stream_stream() 877 if (getsockname(s_listen, in recv_stream_stream() 881 close(s_listen); in recv_stream_stream() 916 if ((s_data=accept(s_listen, in recv_stream_stream() [all …]
|
D | nettest_xti.c | 1248 SOCKET s_listen,s_data; in recv_xti_tcp_stream() local 1364 s_listen = create_xti_endpoint(xti_tcp_stream_request->xti_device); in recv_xti_tcp_stream() 1366 if (s_listen == INVALID_SOCKET) { in recv_xti_tcp_stream() 1388 if (t_bind(s_listen, in recv_xti_tcp_stream() 1392 close(s_listen); in recv_xti_tcp_stream() 1489 if (t_listen(s_listen, &call_req) == -1) { in recv_xti_tcp_stream() 1496 close(s_listen); in recv_xti_tcp_stream() 1504 t_look(s_listen)); in recv_xti_tcp_stream() 1511 s_data = s_listen; in recv_xti_tcp_stream() 1512 if (t_accept(s_listen, in recv_xti_tcp_stream() [all …]
|
D | nettest_sctp.c | 1054 int s_listen,s_data; in recv_sctp_stream() local 1160 s_listen = create_data_socket(local_res); in recv_sctp_stream() 1162 if (s_listen < 0) { in recv_sctp_stream() 1207 if (getsockname(s_listen, in recv_sctp_stream() 1211 close(s_listen); in recv_sctp_stream() 1250 if (listen(s_listen, 5) == -1) { in recv_sctp_stream() 1252 close(s_listen); in recv_sctp_stream() 1262 if ((s_data = accept(s_listen, in recv_sctp_stream() 1266 close(s_listen); in recv_sctp_stream() 1437 close(s_listen); in recv_sctp_stream() [all …]
|
D | nettest_omni.c | 4982 SOCKET s_listen, data_socket; in recv_omni() local 5113 s_listen = omni_create_data_socket(local_res); in recv_omni() 5115 if (s_listen == INVALID_SOCKET) { in recv_omni() 5150 set_multicast_ttl(s_listen); in recv_omni() 5190 join_multicast_addr(s_listen, local_res); in recv_omni() 5228 win_kludge_socket2 = s_listen; in recv_omni() 5244 (setsockopt(s_listen,IPPROTO_TCP, TCP_FASTOPEN, &backlog, sizeof(backlog)) == in recv_omni() 5247 close(s_listen); in recv_omni() 5258 (setsockopt(s_listen, IPPROTO_TCP, TCP_DEFER_ACCEPT, &backlog, sizeof(backlog)) == SOCKET_ERROR)) { in recv_omni() 5260 close(s_listen); in recv_omni() [all …]
|
D | nettest_dlpi.c | 3571 SOCKET s_listen,data_descriptor; in recv_dlpi_co_rr() local
|