Searched refs:prot_listener (Results 1 – 4 of 4) sorted by relevance
/external/iperf3/src/ |
D | iperf_udp.c | 354 s = test->prot_listener; in iperf_udp_accept() 362 …if ((sz = recvfrom(test->prot_listener, &buf, sizeof(buf), 0, (struct sockaddr *) &sa_peer, &len))… in iperf_udp_accept() 420 …test->prot_listener = netannounce(test->settings->domain, Pudp, test->bind_address, test->server_p… in iperf_udp_accept() 421 if (test->prot_listener < 0) { in iperf_udp_accept() 426 FD_SET(test->prot_listener, &test->read_set); in iperf_udp_accept() 427 test->max_fd = (test->max_fd < test->prot_listener) ? test->prot_listener : test->max_fd; in iperf_udp_accept()
|
D | iperf_server_api.c | 475 if (FD_ISSET(test->prot_listener, &read_set)) { in iperf_run_server() 568 FD_CLR(test->prot_listener, &read_set); in iperf_run_server() 574 FD_CLR(test->prot_listener, &test->read_set); in iperf_run_server() 575 close(test->prot_listener); in iperf_run_server() 591 test->prot_listener = -1; in iperf_run_server()
|
D | iperf.h | 277 int prot_listener; member
|
D | iperf_api.c | 1575 test->prot_listener = s; in iperf_exchange_parameters() 2240 testp->prot_listener = -1; in iperf_defaults() 2475 test->prot_listener = -1; in iperf_reset_test()
|