Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dip_check_defrag.c173 int client_rx_fd = -1; in test_bpf_ip_check_defrag_ok() local
211 client_rx_fd = connect_to_fd_opts(srv_fd, &rx_opts); in test_bpf_ip_check_defrag_ok()
213 if (!ASSERT_GE(client_rx_fd, 0, "connect_to_fd_opts")) in test_bpf_ip_check_defrag_ok()
227 err = bind(client_rx_fd, (struct sockaddr *)c, sizeof(*c)); in test_bpf_ip_check_defrag_ok()
234 err = bind(client_rx_fd, (struct sockaddr *)c, sizeof(*c)); in test_bpf_ip_check_defrag_ok()
262 len = recvfrom(client_rx_fd, buf, sizeof(buf), 0, NULL, NULL); in test_bpf_ip_check_defrag_ok()
267 if (client_rx_fd != -1) in test_bpf_ip_check_defrag_ok()
268 close(client_rx_fd); in test_bpf_ip_check_defrag_ok()