Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter_setsockopt.c119 iter_skel->bss->listen_hport = get_local_port(listen_fd); in do_bpf_iter_setsockopt()
120 if (!ASSERT_NEQ(iter_skel->bss->listen_hport, 0, in do_bpf_iter_setsockopt()
139 if (!ASSERT_NEQ(iter_skel->bss->reuse_listen_hport, 0, in do_bpf_iter_setsockopt()
144 iter_skel->bss->random_retry = random_retry; in do_bpf_iter_setsockopt()
184 struct bpf_iter_setsockopt *iter_skel = NULL; in serial_test_bpf_iter_setsockopt() local
194 iter_skel = bpf_iter_setsockopt__open_and_load(); in serial_test_bpf_iter_setsockopt()
195 if (!ASSERT_OK_PTR(iter_skel, "iter_skel")) in serial_test_bpf_iter_setsockopt()
197 iter_skel->links.change_tcp_cc = bpf_program__attach_iter(iter_skel->progs.change_tcp_cc, NULL); in serial_test_bpf_iter_setsockopt()
217 do_bpf_iter_setsockopt(iter_skel, true); in serial_test_bpf_iter_setsockopt()
218 do_bpf_iter_setsockopt(iter_skel, false); in serial_test_bpf_iter_setsockopt()
[all …]