Searched refs:BPF_RETVAL_HOOK (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/bpf/ |
H A D | cgroup_getset_retval_hooks.h | 3 BPF_RETVAL_HOOK(ingress, "cgroup_skb/ingress", __sk_buff, -EINVAL) 4 BPF_RETVAL_HOOK(egress, "cgroup_skb/egress", __sk_buff, -EINVAL) 5 BPF_RETVAL_HOOK(sock_create, "cgroup/sock_create", bpf_sock, 0) 6 BPF_RETVAL_HOOK(sock_ops, "sockops", bpf_sock_ops, -EINVAL) 7 BPF_RETVAL_HOOK(dev, "cgroup/dev", bpf_cgroup_dev_ctx, 0) 8 BPF_RETVAL_HOOK(bind4, "cgroup/bind4", bpf_sock_addr, 0) 9 BPF_RETVAL_HOOK(bind6, "cgroup/bind6", bpf_sock_addr, 0) 10 BPF_RETVAL_HOOK(connect4, "cgroup/connect4", bpf_sock_addr, 0) 11 BPF_RETVAL_HOOK(connect6, "cgroup/connect6", bpf_sock_addr, 0) 12 BPF_RETVAL_HOOK(post_bind4, "cgroup/post_bind4", bpf_sock_addr, 0) [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | cgroup_getset_retval_hooks.c | 6 #define BPF_RETVAL_HOOK(name, section, ctx, expected_err) \ macro 16 #undef BPF_RETVAL_HOOK
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_getset_retval.c | 462 #define BPF_RETVAL_HOOK(NAME, SECTION, CTX, EXPECTED_ERR) \ macro 470 #undef BPF_RETVAL_HOOK
|