Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbind_perm.c70 skel->links.bind_v4_prog = bpf_program__attach_cgroup(skel->progs.bind_v4_prog, cgroup_fd); in test_bind_perm()
H A Dfexit_bpf2bpf.c474 skel->links.bind_v4_prog = bpf_program__attach_cgroup(skel->progs.bind_v4_prog, cgroup_fd); in test_fentry_to_cgroup_bpf()
475 if (!ASSERT_OK_PTR(skel->links.bind_v4_prog, "bpf_program__attach_cgroup")) in test_fentry_to_cgroup_bpf()
478 btf_id = find_prog_btf_id("bind_v4_prog", bpf_program__fd(skel->progs.bind_v4_prog)); in test_fentry_to_cgroup_bpf()
482 fentry_fd = load_fentry(bpf_program__fd(skel->progs.bind_v4_prog), btf_id); in test_fentry_to_cgroup_bpf()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbind_perm.c34 int bind_v4_prog(struct bpf_sock_addr *ctx) in bind_v4_prog() function
H A Dbind4_prog.c99 int bind_v4_prog(struct bpf_sock_addr *ctx) in bind_v4_prog() function