Searched refs:attach_point (Results 1 – 17 of 17) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | tc_bpf.c | 72 DECLARE_LIBBPF_OPTS(bpf_tc_hook, inv_hook, .attach_point = BPF_TC_INGRESS); in test_tc_bpf_api() 129 inv_hook.attach_point = 0xabcd; in test_tc_bpf_api() 150 inv_hook.attach_point = BPF_TC_INGRESS; in test_tc_bpf_api() 174 inv_hook.attach_point = BPF_TC_CUSTOM; in test_tc_bpf_api() 199 inv_hook.attach_point = BPF_TC_INGRESS; in test_tc_bpf_api() 334 .attach_point = BPF_TC_INGRESS); in tc_bpf_root() 353 hook.attach_point = BPF_TC_CUSTOM; in tc_bpf_root() 367 hook.attach_point = BPF_TC_INGRESS; in tc_bpf_root() 377 hook.attach_point = BPF_TC_EGRESS; in tc_bpf_root() 392 hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in tc_bpf_root()
|
| A D | test_tunnel.c | 380 hook->attach_point = BPF_TC_INGRESS; in attach_tc_prog() 389 hook->attach_point = BPF_TC_EGRESS; in attach_tc_prog() 411 .attach_point = BPF_TC_INGRESS); in test_vxlan_tunnel() 495 .attach_point = BPF_TC_INGRESS); in test_ip6vxlan_tunnel() 565 .attach_point = BPF_TC_INGRESS); in test_ipip_tunnel() 632 .attach_point = BPF_TC_INGRESS); in test_xfrm_tunnel()
|
| A D | xfrm_info.c | 85 hook->attach_point = BPF_TC_INGRESS; in attach_tc_prog() 94 hook->attach_point = BPF_TC_EGRESS; in attach_tc_prog() 294 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .attach_point = BPF_TC_INGRESS); in _test_xfrm_info()
|
| A D | assign_reuse.c | 86 .attach_point = BPF_TC_INGRESS, in run_assign_reuse() 167 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in run_assign_reuse()
|
| A D | decap_sanity.c | 18 LIBBPF_OPTS(bpf_tc_hook, qdisc_hook, .attach_point = BPF_TC_EGRESS); in test_decap_sanity()
|
| A D | tcp_custom_syncookie.c | 52 LIBBPF_OPTS(bpf_tc_hook, qdisc_lo, .attach_point = BPF_TC_INGRESS); in setup_tc()
|
| A D | cgroup_ancestor.c | 60 t->qdisc.attach_point = BPF_TC_EGRESS; in setup_network()
|
| A D | btf_skc_cls_ingress.c | 26 LIBBPF_OPTS(bpf_tc_hook, qdisc_lo, .attach_point = BPF_TC_INGRESS); in prepare_netns()
|
| A D | crypto_sanity.c | 82 LIBBPF_OPTS(bpf_tc_hook, qdisc_hook, .attach_point = BPF_TC_EGRESS); in test_crypto_sanity()
|
| A D | xdp_do_redirect.c | 107 .attach_point = BPF_TC_INGRESS); in test_xdp_do_redirect()
|
| A D | vrf_socket_lookup.c | 107 LIBBPF_OPTS(bpf_tc_hook, hook, .attach_point = BPF_TC_INGRESS); in attach_progs()
|
| A D | tc_links.c | 557 tc_hook.attach_point = target == BPF_TCX_INGRESS ? in test_tc_chain_classic() 613 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in test_tc_chain_classic() 1611 tc_hook.attach_point = target == BPF_TCX_INGRESS ? in test_tc_chain_mixed() 1669 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in test_tc_chain_mixed() 1690 .attach_point = BPF_TC_CUSTOM, in test_tc_links_ingress() 1926 tc_hook.attach_point = target == BPF_TCX_INGRESS ? in test_tc_links_dev_mixed()
|
| A D | tc_opts.c | 592 tc_hook.attach_point = target == BPF_TCX_INGRESS ? in test_tc_chain_classic() 651 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in test_tc_chain_classic() 2253 tc_hook.attach_point = target == BPF_TCX_INGRESS ? in test_tc_opts_delete_empty() 2262 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in test_tc_opts_delete_empty() 2303 tc_hook.attach_point = target == BPF_TCX_INGRESS ? in test_tc_chain_mixed() 2368 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in test_tc_chain_mixed()
|
| A D | tc_redirect.c | 335 qdisc_hook->attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in qdisc_clsact_create() 354 qdisc_hook->attach_point = xgress; in xgress_filter_add()
|
| /linux/tools/lib/bpf/ |
| A D | netlink.c | 545 switch (OPTS_GET(hook, attach_point, 0)) { in attach_point_to_config() 563 switch (attach_point) { in tc_get_tcm_parent() 569 attach_point == BPF_TC_INGRESS ? in tc_get_tcm_parent() 638 switch (OPTS_GET(hook, attach_point, 0)) { in bpf_tc_hook_destroy() 721 int ret, ifindex, attach_point, prog_fd; in bpf_tc_attach() local 733 attach_point = OPTS_GET(hook, attach_point, 0); in bpf_tc_attach() 761 ret = tc_get_tcm_parent(attach_point, &parent); in bpf_tc_attach() 797 int ret, ifindex, attach_point, prog_fd; in __bpf_tc_detach() local 807 attach_point = OPTS_GET(hook, attach_point, 0); in __bpf_tc_detach() 868 int ret, ifindex, attach_point, prog_fd; in bpf_tc_query() local [all …]
|
| A D | libbpf.h | 1281 enum bpf_tc_attach_point attach_point; member
|
| /linux/tools/testing/selftests/bpf/ |
| A D | xdp_synproxy.c | 35 .attach_point = BPF_TC_INGRESS); in cleanup() 233 .attach_point = BPF_TC_INGRESS); in syncookie_attach()
|
Completed in 32 milliseconds