Searched refs:timeout (Results 1 – 10 of 10) sorted by relevance
| /iperf/src/ |
| H A D | iperf_server_api.c | 441 struct timeval* timeout; in iperf_run_server() local 495 timeout = tmr_timeout(&now); in iperf_run_server() 499 if (timeout == NULL && test->settings->idle_timeout > 0) { in iperf_run_server() 502 timeout = &used_timeout; in iperf_run_server() 506 if (timeout != NULL) { in iperf_run_server() 507 used_timeout.tv_sec = timeout->tv_sec; in iperf_run_server() 508 used_timeout.tv_usec = timeout->tv_usec; in iperf_run_server() 509 timeout_us = (timeout->tv_sec * SEC_TO_US) + timeout->tv_usec; in iperf_run_server() 515 timeout = &used_timeout; in iperf_run_server() 518 result = select(test->max_fd + 1, &read_set, &write_set, NULL, timeout); in iperf_run_server() [all …]
|
| H A D | iperf_client_api.c | 517 struct timeval* timeout = NULL; in iperf_run_client() local 570 timeout = tmr_timeout(&now); in iperf_run_client() 575 if (timeout != NULL) { in iperf_run_client() 576 used_timeout.tv_sec = timeout->tv_sec; in iperf_run_client() 577 used_timeout.tv_usec = timeout->tv_usec; in iperf_run_client() 578 timeout_us = (timeout->tv_sec * SEC_TO_US) + timeout->tv_usec; in iperf_run_client() 584 timeout = &used_timeout; in iperf_run_client() 587 result = select(test->max_fd + 1, &read_set, &write_set, NULL, timeout); in iperf_run_client()
|
| H A D | net.c | 81 int timeout) in timeout_connect() argument 89 if (timeout != -1) { in timeout_connect() 98 if ((ret = poll(&pfd, 1, timeout)) == 1) { in timeout_connect() 112 if (timeout != -1 && fcntl(s, F_SETFL, flags) == -1) in timeout_connect() 233 …const char *local, const char *bind_dev, int local_port, const char *server, int port, int timeout) in netdial() argument 243 …if (timeout_connect(s, (struct sockaddr *) server_res->ai_addr, server_res->ai_addrlen, timeout) <… in netdial()
|
| H A D | timer.c | 159 static struct timeval timeout; in tmr_timeout() local 170 timeout.tv_sec = usecs / 1000000LL; in tmr_timeout() 171 timeout.tv_usec = usecs % 1000000LL; in tmr_timeout() 172 return &timeout; in tmr_timeout()
|
| H A D | net.h | 30 int timeout_connect(int s, const struct sockaddr *name, socklen_t namelen, int timeout); 32 …onst char *local, const char *bind_dev, int local_port, const char *server, int port, int timeout);
|
| /iperf/docs/ |
| H A D | invoking.rst | 192 --rcv-timeout # 193 set idle timeout for receiving data during active tests. The 220 --idle-timeout n 265 --connect-timeout n 266 set timeout for establishing the initial control connection to 268 ating system's timeout for TCP connection establishment. Pro-
|
| H A D | 2017-06-06.txt | 11 authentication and a configurable client connection timeout) and
|
| H A D | news.rst | 31 ``--rcv-timeout``, and ``--dont-fragment``). More information on
|
| H A D | faq.rst | 151 happen that after certain timeout the main CPU will re-send the
|
| /iperf/ |
| H A D | RELNOTES.md | 78 (#1101, #1125), controlled by the new --rcv-timeout option. 176 * API access has been added to the connection timeout parameter 381 * A new --connect-timeout option on the client allows specifying a 671 * Added 30-second timeout for UDP tests if unable to establish UDP
|