Lines Matching defs:bar
8 #define BAR "/foo/bar/"
28 int drop_prog = -1, allow_prog = -1, foo = -1, bar = -1;
55 bar = test__join_cgroup(BAR);
56 if (CHECK(bar < 0, "cgroup_join_bar", "cgroup setup failed\n"))
63 if (CHECK(bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS,
72 if (CHECK(bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS),
81 if (CHECK(bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS,
95 if (CHECK(bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS,
101 if (CHECK(!bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, 0),
106 if (CHECK(bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS),
121 if (CHECK(!bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, 0),
126 if (CHECK(!bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS,
145 close(bar);