Lines Matching refs:ctrl_sck
119 if (test->ctrl_sck == -1) { in iperf_accept()
121 test->ctrl_sck = s; in iperf_accept()
122 if (Nread(test->ctrl_sck, test->cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_accept()
126 FD_SET(test->ctrl_sck, &test->read_set); in iperf_accept()
127 if (test->ctrl_sck > test->max_fd) test->max_fd = test->ctrl_sck; in iperf_accept()
162 if ((rval = Nread(test->ctrl_sck, (char*) &test->state, sizeof(signed char), Ptcp)) <= 0) { in iperf_handle_message_server()
243 close(test->ctrl_sck); in server_timer_proc()
367 if (test->ctrl_sck) { in cleanup_server()
368 close(test->ctrl_sck); in cleanup_server()
490 if (FD_ISSET(test->ctrl_sck, &read_set)) { in iperf_run_server()
495 FD_CLR(test->ctrl_sck, &read_set); in iperf_run_server()