Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockopt_multi.c10 struct bpf_link *link_parent = NULL; in run_getsockopt_test() local
69 link_parent = bpf_program__attach_cgroup(obj->progs._getsockopt_parent, in run_getsockopt_test()
71 if (!ASSERT_OK_PTR(link_parent, "cg-attach-getsockopt_parent")) in run_getsockopt_test()
153 bpf_link__destroy(link_parent); in run_getsockopt_test()
161 struct bpf_link *link_parent = NULL; in run_setsockopt_test() local
220 link_parent = bpf_program__attach_cgroup(obj->progs._setsockopt, in run_setsockopt_test()
222 if (!ASSERT_OK_PTR(link_parent, "cg-attach-setsockopt_parent")) in run_setsockopt_test()
248 bpf_link__destroy(link_parent); in run_setsockopt_test()