Searched refs:prot_listener (Results 1 – 4 of 4) sorted by relevance
/external/iperf3/src/ |
D | iperf_udp.c | 377 s = test->prot_listener; in iperf_udp_accept() 385 …if ((sz = recvfrom(test->prot_listener, &buf, sizeof(buf), 0, (struct sockaddr *) &sa_peer, &len))… in iperf_udp_accept() 443 …test->prot_listener = netannounce(test->settings->domain, Pudp, test->bind_address, test->server_p… in iperf_udp_accept() 444 if (test->prot_listener < 0) { in iperf_udp_accept() 449 FD_SET(test->prot_listener, &test->read_set); in iperf_udp_accept() 450 test->max_fd = (test->max_fd < test->prot_listener) ? test->prot_listener : test->max_fd; in iperf_udp_accept()
|
D | iperf_server_api.c | 499 if (FD_ISSET(test->prot_listener, &read_set)) { in iperf_run_server() 592 FD_CLR(test->prot_listener, &read_set); in iperf_run_server() 598 FD_CLR(test->prot_listener, &test->read_set); in iperf_run_server() 599 close(test->prot_listener); in iperf_run_server() 615 test->prot_listener = -1; in iperf_run_server()
|
D | iperf.h | 282 int prot_listener; member
|
D | iperf_api.c | 1795 test->prot_listener = s; in iperf_exchange_parameters() 2489 testp->prot_listener = -1; in iperf_defaults() 2765 test->prot_listener = -1; in iperf_reset_test()
|