Home
last modified time | relevance | path

Searched refs:prot_listener (Results 1 – 4 of 4) sorted by relevance

/external/iperf3/src/
Diperf_udp.c354 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()
Diperf_server_api.c475 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()
Diperf.h277 int prot_listener; member
Diperf_api.c1575 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()