Searched refs:temp_socket (Results 1 – 5 of 5) sorted by relevance
/external/netperf/src/ |
D | netserver.c | 427 SOCKET temp_socket; in create_listens() local 489 temp_socket = socket(local_res_temp->ai_family,SOCK_STREAM,0); in create_listens() 491 if (temp_socket == INVALID_SOCKET) { in create_listens() 505 if (setsockopt(temp_socket, in create_listens() 521 if ((bind(temp_socket, in create_listens() 524 (listen(temp_socket,1024) != SOCKET_ERROR)) { in create_listens() 529 temp_elt->fd = temp_socket; in create_listens() 557 close(temp_socket); in create_listens()
|
D | nettest_unix.c | 148 SOCKET temp_socket; in create_unix_socket() local 151 temp_socket = socket(family, in create_unix_socket() 155 if (temp_socket == INVALID_SOCKET){ in create_unix_socket() 164 fprintf(where,"create_unix_socket: socket %d obtained...\n",temp_socket); in create_unix_socket() 182 set_sock_buffer(temp_socket, SEND_BUFFER, lss_size_req, &lss_size); in create_unix_socket() 183 set_sock_buffer(temp_socket, RECV_BUFFER, lsr_size_req, &lsr_size); in create_unix_socket() 185 return(temp_socket); in create_unix_socket()
|
D | nettest_bsd.c | 1195 SOCKET temp_socket; in create_data_socket() local 1201 temp_socket = socket(res->ai_family, in create_data_socket() 1205 if (temp_socket == INVALID_SOCKET){ in create_data_socket() 1218 fprintf(where,"create_data_socket: socket %d obtained...\n",temp_socket); in create_data_socket() 1239 set_sock_buffer (temp_socket, SEND_BUFFER, lss_size_req, &lss_size); in create_data_socket() 1240 set_sock_buffer (temp_socket, RECV_BUFFER, lsr_size_req, &lsr_size); in create_data_socket() 1249 if (setsockopt(temp_socket, in create_data_socket() 1264 if (setsockopt(temp_socket, in create_data_socket() 1323 if(setsockopt(temp_socket, in create_data_socket() 1347 set_tcp_mss(temp_socket,transport_mss_req); in create_data_socket() [all …]
|
D | nettest_xti.c | 169 SOCKET temp_socket; in create_xti_endpoint() local 188 temp_socket = t_open(name,O_RDWR,NULL); in create_xti_endpoint() 190 if (temp_socket == INVALID_SOCKET){ in create_xti_endpoint() 201 fprintf(where,"create_xti_endpoint: socket %d obtained...\n",temp_socket); in create_xti_endpoint() 206 if ((opt_req = (struct t_optmgmt *)t_alloc(temp_socket,T_OPTMGMT,T_ALL)) == in create_xti_endpoint() 225 if ((opt_ret = (struct t_optmgmt *) t_alloc(temp_socket,T_OPTMGMT,T_ALL)) == in create_xti_endpoint() 290 if (t_optmgmt(temp_socket,opt_req,opt_ret) == -1) { in create_xti_endpoint() 343 if (t_optmgmt(temp_socket,opt_req,opt_ret) == -1) { in create_xti_endpoint() 428 if (t_optmgmt(temp_socket,opt_req,opt_ret) == -1) { in create_xti_endpoint() 444 return(temp_socket); in create_xti_endpoint()
|
D | nettest_omni.c | 3552 SOCKET temp_socket; in omni_create_data_socket() local 3554 temp_socket = create_data_socket(res); in omni_create_data_socket() 3556 if (temp_socket != SOCKET_ERROR) { in omni_create_data_socket() 3558 set_transport_cong_control(temp_socket, in omni_create_data_socket() 3566 set_receive_timeout(temp_socket, receive_timeout); in omni_create_data_socket() 3571 setsockopt(temp_socket, in omni_create_data_socket() 3578 return temp_socket; in omni_create_data_socket()
|