Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dassign_reuse.c35 static int echo_test_udp(int fd_sv) in echo_test_udp() argument
42 fd_cl = connect_to_fd(fd_sv, 100); in echo_test_udp()
48 ret = recv(fd_sv, buff, sizeof(buff), 0); in echo_test_udp()
61 static int echo_test_tcp(int fd_sv) in echo_test_tcp() argument
66 fd_cl = connect_to_fd(fd_sv, 100); in echo_test_tcp()
70 fd_sv_cl = accept(fd_sv, NULL, NULL); in echo_test_tcp()
94 int *fd_sv = NULL; in run_assign_reuse() local
120 ret = attach_reuseport(*fd_sv, fd_drop); in run_assign_reuse()
124 fd_val = *fd_sv; in run_assign_reuse()
153 ASSERT_EQ(echo_test_tcp(*fd_sv), 0, "echo_tcp"); in run_assign_reuse()
[all …]