Searched refs:results_fd (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_tcp_check_syncookie_user.c | 120 static int run_test(int server_fd, int results_fd, bool xdp, in run_test() argument 132 if (bpf_map_update_elem(results_fd, &key, &value, 0) < 0) { in run_test() 137 if (bpf_map_update_elem(results_fd, &key_gen, &value_gen, 0) < 0) { in run_test() 142 if (bpf_map_update_elem(results_fd, &key_mss, &value_mss, 0) < 0) { in run_test() 157 if (bpf_map_lookup_elem(results_fd, &key, &value) < 0) { in run_test() 167 if (bpf_map_lookup_elem(results_fd, &key_gen, &value_gen) < 0) { in run_test() 179 if (bpf_map_lookup_elem(results_fd, &key_mss, &value_mss) < 0) { in run_test()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ipsec.c | 73 static int results_fd[2]; variable 581 ret = write(results_fd[1], &tr, sizeof(tr)); in write_test_result() 2235 ssize_t received = read(results_fd[0], &tr, sizeof(tr)); in check_results() 2302 if (pipe2(results_fd, O_DIRECT) < 0) in main() 2327 if (close(route_sock) || close(test_desc_fd[0]) || close(results_fd[1])) in main()
|