Lines Matching refs:timeout_ms
71 int settimeo(int fd, int timeout_ms) in settimeo() argument
75 if (timeout_ms > 0) { in settimeo()
76 timeout.tv_sec = timeout_ms / 1000; in settimeo()
77 timeout.tv_usec = (timeout_ms % 1000) * 1000; in settimeo()
111 if (settimeo(fd, opts->timeout_ms)) in start_server_addr()
155 int timeout_ms) in start_server() argument
158 .timeout_ms = timeout_ms, in start_server()
172 __u16 port, int timeout_ms, unsigned int nr_listens) in start_reuseport_server() argument
175 .timeout_ms = timeout_ms, in start_reuseport_server()
224 int timeout_ms) in fastopen_connect() argument
243 if (settimeo(fd, timeout_ms)) in fastopen_connect()
274 if (settimeo(fd, opts->timeout_ms)) in client_socket()
350 int connect_to_fd(int server_fd, int timeout_ms) in connect_to_fd() argument
353 .timeout_ms = timeout_ms, in connect_to_fd()
368 int connect_fd_to_fd(int client_fd, int server_fd, int timeout_ms) in connect_fd_to_fd() argument
373 if (settimeo(client_fd, timeout_ms)) in connect_fd_to_fd()