Searched refs:attach_point (Results 1 - 15 of 15) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_bpf.c | 72 DECLARE_LIBBPF_OPTS(bpf_tc_hook, inv_hook, .attach_point = BPF_TC_INGRESS); 128 /* hook.attach_point invalid */ 129 inv_hook.attach_point = 0xabcd; 131 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_hook_create invalid hook.attach_point")) 135 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_hook_destroy invalid hook.attach_point")) 139 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_attach invalid hook.attach_point")) 143 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_detach invalid hook.attach_point")) 147 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_query invalid hook.attach_point")) 150 inv_hook.attach_point = BPF_TC_INGRESS; 152 /* hook.attach_point vali [all...] |
H A D | decap_sanity.c | 19 LIBBPF_OPTS(bpf_tc_hook, qdisc_hook, .attach_point = BPF_TC_EGRESS);
|
H A D | xfrm_info.c | 85 hook->attach_point = BPF_TC_INGRESS; 94 hook->attach_point = BPF_TC_EGRESS; 294 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .attach_point = BPF_TC_INGRESS);
|
H A D | test_tunnel.c | 380 hook->attach_point = BPF_TC_INGRESS; 389 hook->attach_point = BPF_TC_EGRESS; 411 .attach_point = BPF_TC_INGRESS); 495 .attach_point = BPF_TC_INGRESS); 565 .attach_point = BPF_TC_INGRESS); 630 .attach_point = BPF_TC_INGRESS);
|
H A D | tcp_custom_syncookie.c | 52 LIBBPF_OPTS(bpf_tc_hook, qdisc_lo, .attach_point = BPF_TC_INGRESS);
|
H A D | assign_reuse.c | 86 .attach_point = BPF_TC_INGRESS, 167 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS;
|
H A D | btf_skc_cls_ingress.c | 26 LIBBPF_OPTS(bpf_tc_hook, qdisc_lo, .attach_point = BPF_TC_INGRESS);
|
H A D | xdp_do_redirect.c | 107 .attach_point = BPF_TC_INGRESS);
|
H A D | vrf_socket_lookup.c | 107 LIBBPF_OPTS(bpf_tc_hook, hook, .attach_point = BPF_TC_INGRESS);
|
H A D | tc_links.c | 555 tc_hook.attach_point = target == BPF_TCX_INGRESS ? 611 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; 1609 tc_hook.attach_point = target == BPF_TCX_INGRESS ? 1667 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; 1688 .attach_point = BPF_TC_CUSTOM, 1865 tc_hook.attach_point = target == BPF_TCX_INGRESS ?
|
H A D | tc_redirect.c | 320 qdisc_hook->attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; 339 qdisc_hook->attach_point = xgress;
|
H A D | tc_opts.c | 592 tc_hook.attach_point = target == BPF_TCX_INGRESS ? 651 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; 2253 tc_hook.attach_point = target == BPF_TCX_INGRESS ? 2262 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; 2303 tc_hook.attach_point = target == BPF_TCX_INGRESS ? 2368 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS;
|
/linux-master/tools/lib/bpf/ |
H A D | netlink.c | 545 switch (OPTS_GET(hook, attach_point, 0)) { 560 static int tc_get_tcm_parent(enum bpf_tc_attach_point attach_point, argument 563 switch (attach_point) { 569 attach_point == BPF_TC_INGRESS ? 638 switch (OPTS_GET(hook, attach_point, 0)) { 721 int ret, ifindex, attach_point, prog_fd; local 733 attach_point = OPTS_GET(hook, attach_point, 0); 761 ret = tc_get_tcm_parent(attach_point, &parent); 797 int ret, ifindex, attach_point, prog_f local 868 int ret, ifindex, attach_point, prog_fd; local [all...] |
H A D | libbpf.h | 1238 enum bpf_tc_attach_point attach_point; member in struct:bpf_tc_hook
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xdp_synproxy.c | 35 .attach_point = BPF_TC_INGRESS); 233 .attach_point = BPF_TC_INGRESS);
|
Completed in 181 milliseconds