Lines Matching defs:expected_attach_type
29 enum bpf_attach_type expected_attach_type;
59 .expected_attach_type = BPF_CGROUP_INET4_POST_BIND,
72 .expected_attach_type = BPF_CGROUP_INET4_POST_BIND,
85 .expected_attach_type = BPF_CGROUP_INET6_POST_BIND,
98 .expected_attach_type = BPF_CGROUP_INET_SOCK_CREATE,
103 .descr = "sock_create load w/o expected_attach_type (compat mode)",
108 .expected_attach_type = 0,
117 .descr = "sock_create load w/ expected_attach_type",
122 .expected_attach_type = BPF_CGROUP_INET_SOCK_CREATE,
136 .expected_attach_type = BPF_CGROUP_INET4_POST_BIND,
146 .expected_attach_type = BPF_CGROUP_INET6_POST_BIND,
156 .expected_attach_type = 0,
166 .expected_attach_type = BPF_CGROUP_INET6_POST_BIND,
176 .expected_attach_type = BPF_CGROUP_INET4_POST_BIND,
189 .expected_attach_type = BPF_CGROUP_INET6_POST_BIND,
218 .expected_attach_type = BPF_CGROUP_INET6_POST_BIND,
248 .expected_attach_type = BPF_CGROUP_INET4_POST_BIND,
278 .expected_attach_type = BPF_CGROUP_INET4_POST_BIND,
309 .expected_attach_type = BPF_CGROUP_INET4_POST_BIND,
340 .expected_attach_type = BPF_CGROUP_INET6_POST_BIND,
355 .expected_attach_type = BPF_CGROUP_INET4_POST_BIND,
368 .expected_attach_type = BPF_CGROUP_INET6_POST_BIND,
395 opts.expected_attach_type = attach_type;
487 progfd = load_sock_prog(test->insns, test->expected_attach_type);