Home
last modified time | relevance | path

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

/Linux-v4.19/samples/bpf/
Dtest_cgrp2_attach2.c86 if (bpf_prog_attach(drop_prog, foo, BPF_CGROUP_INET_EGRESS, in test_foo_bar()
106 if (bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in test_foo_bar()
115 if (bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS)) { in test_foo_bar()
124 if (bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in test_foo_bar()
130 if (bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS)) { in test_foo_bar()
139 if (bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in test_foo_bar()
145 if (!bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, 0)) { in test_foo_bar()
151 if (bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS)) { in test_foo_bar()
156 if (!bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS)) { in test_foo_bar()
162 if (bpf_prog_attach(allow_prog, foo, BPF_CGROUP_INET_EGRESS, 0)) { in test_foo_bar()
[all …]
Dtest_cgrp2_attach.c154 type = BPF_CGROUP_INET_EGRESS; in main()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_cgroup_storage.c69 if (bpf_prog_attach(prog_fd, cgroup_fd, BPF_CGROUP_INET_EGRESS, 0)) { in main()
/Linux-v4.19/tools/bpf/bpftool/
Dcgroup.c32 [BPF_CGROUP_INET_EGRESS] = "egress",
/Linux-v4.19/include/linux/
Dbpf-cgroup.h142 BPF_CGROUP_INET_EGRESS); \
/Linux-v4.19/tools/include/uapi/linux/
Dbpf.h159 BPF_CGROUP_INET_EGRESS, enumerator
/Linux-v4.19/include/uapi/linux/
Dbpf.h159 BPF_CGROUP_INET_EGRESS, enumerator
/Linux-v4.19/kernel/bpf/
Dsyscall.c1587 case BPF_CGROUP_INET_EGRESS: in bpf_prog_attach()
1663 case BPF_CGROUP_INET_EGRESS: in bpf_prog_detach()
1713 case BPF_CGROUP_INET_EGRESS: in bpf_prog_query()