Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_tcp_check_syncookie_user.c119 static int run_test(int server_fd, int results_fd, bool xdp) in run_test() argument
130 if (bpf_map_update_elem(results_fd, &key, &value, 0) < 0) { in run_test()
135 if (bpf_map_update_elem(results_fd, &key_gen, &value_gen, 0) < 0) { in run_test()
140 if (bpf_map_update_elem(results_fd, &key_mss, &value_mss, 0) < 0) { in run_test()
155 if (bpf_map_lookup_elem(results_fd, &key, &value) < 0) { in run_test()
165 if (bpf_map_lookup_elem(results_fd, &key_gen, &value_gen) < 0) { in run_test()
177 if (bpf_map_lookup_elem(results_fd, &key_mss, &value_mss) < 0) { in run_test()
/external/linux-kselftest/tools/testing/selftests/net/
Dipsec.c71 static int results_fd[2]; variable
542 ret = write(results_fd[1], &tr, sizeof(tr)); in write_test_result()
2249 ssize_t received = read(results_fd[0], &tr, sizeof(tr)); in check_results()
2316 if (pipe2(results_fd, O_DIRECT) < 0) in main()
2341 if (close(route_sock) || close(test_desc_fd[0]) || close(results_fd[1])) in main()