Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter_setsockopt.c54 int *est_fds, *accepted_fds; in make_established() local
57 est_fds = malloc(sizeof(*est_fds) * nr_est); in make_established()
58 if (!est_fds) in make_established()
63 free(est_fds); in make_established()
68 est_fds[i] = connect_to_fd(listen_fd, 0); in make_established()
69 if (est_fds[i] == -1) in make_established()
72 close(est_fds[i]); in make_established()
78 close(est_fds[i]); in make_established()
85 free_fds(est_fds, i); in make_established()
90 return est_fds; in make_established()
[all …]