Searched refs:server_fds (Results 1 – 1 of 1) sorted by relevance
540 int server_fds[] = { [0 ... MAX_SERVERS - 1] = -1 }; in run_lookup_prog() local549 for (i = 0; i < ARRAY_SIZE(server_fds); i++) { in run_lookup_prog()550 server_fds[i] = make_server(t->sotype, t->listen_at.ip, in run_lookup_prog()553 if (server_fds[i] < 0) in run_lookup_prog()556 err = update_lookup_map(t->sock_map, i, server_fds[i]); in run_lookup_prog()591 tcp_echo_test(client_fd, server_fds[t->accept_on]); in run_lookup_prog()593 udp_echo_test(client_fd, server_fds[t->accept_on]); in run_lookup_prog()599 for (i = 0; i < ARRAY_SIZE(server_fds); i++) { in run_lookup_prog()600 if (server_fds[i] != -1) in run_lookup_prog()601 close(server_fds[i]); in run_lookup_prog()[all …]