Home
last modified time | relevance | path

Searched refs:BPF_TC_INGRESS (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_bpf.c72 DECLARE_LIBBPF_OPTS(bpf_tc_hook, inv_hook, .attach_point = BPF_TC_INGRESS); in test_tc_bpf_api()
150 inv_hook.attach_point = BPF_TC_INGRESS; 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()
367 hook.attach_point = BPF_TC_INGRESS; in tc_bpf_root()
392 hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in tc_bpf_root()
H A Dtc_redirect.c270 qdisc_hook->attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in qdisc_clsact_create()
296 xgress == BPF_TC_INGRESS ? "ingress" : "egress", in xgress_filter_add()
326 XGRESS_FILTER_ADD(&qdisc_src_fwd, BPF_TC_INGRESS, src_prog, 0); in netns_load_bpf()
333 XGRESS_FILTER_ADD(&qdisc_dst_fwd, BPF_TC_INGRESS, dst_prog, 0); in netns_load_bpf()
639 XGRESS_FILTER_ADD(&qdisc_src, BPF_TC_INGRESS, skel->progs.ingress_host, 0); in netns_load_dtime_bpf()
651 XGRESS_FILTER_ADD(&qdisc_dst, BPF_TC_INGRESS, skel->progs.ingress_host, 0); in netns_load_dtime_bpf()
663 XGRESS_FILTER_ADD(&qdisc_dst_fwd, BPF_TC_INGRESS, in netns_load_dtime_bpf()
666 XGRESS_FILTER_ADD(&qdisc_dst_fwd, BPF_TC_INGRESS, in netns_load_dtime_bpf()
678 XGRESS_FILTER_ADD(&qdisc_src_fwd, BPF_TC_INGRESS, in netns_load_dtime_bpf()
681 XGRESS_FILTER_ADD(&qdisc_src_fwd, BPF_TC_INGRESS, in netns_load_dtime_bpf()
[all …]
H A Dtest_tunnel.c288 hook->attach_point = BPF_TC_INGRESS; in attach_tc_prog()
319 .attach_point = BPF_TC_INGRESS); in test_vxlan_tunnel()
403 .attach_point = BPF_TC_INGRESS); in test_ip6vxlan_tunnel()
473 .attach_point = BPF_TC_INGRESS); in test_ipip_tunnel()
H A Dassign_reuse.c86 .attach_point = BPF_TC_INGRESS, in run_assign_reuse()
167 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in run_assign_reuse()
H A Dxfrm_info.c85 hook->attach_point = BPF_TC_INGRESS; in attach_tc_prog()
294 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .attach_point = BPF_TC_INGRESS); in _test_xfrm_info()
H A Dbtf_skc_cls_ingress.c26 LIBBPF_OPTS(bpf_tc_hook, qdisc_lo, .attach_point = BPF_TC_INGRESS); in prepare_netns()
H A Dxdp_do_redirect.c107 .attach_point = BPF_TC_INGRESS); in test_xdp_do_redirect()
H A Dvrf_socket_lookup.c107 LIBBPF_OPTS(bpf_tc_hook, hook, .attach_point = BPF_TC_INGRESS); in attach_progs()
H A Dtc_links.c558 BPF_TC_INGRESS : BPF_TC_EGRESS; in test_tc_chain_classic()
613 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in test_tc_chain_classic()
1612 BPF_TC_INGRESS : BPF_TC_EGRESS; in test_tc_chain_mixed()
1669 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in test_tc_chain_mixed()
1927 BPF_TC_INGRESS : BPF_TC_EGRESS; in test_tc_links_dev_mixed()
H A Dtc_opts.c593 BPF_TC_INGRESS : BPF_TC_EGRESS; in test_tc_chain_classic()
651 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in test_tc_chain_classic()
2254 BPF_TC_INGRESS : BPF_TC_EGRESS; in test_tc_opts_delete_empty()
2262 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in test_tc_opts_delete_empty()
2304 BPF_TC_INGRESS : BPF_TC_EGRESS; in test_tc_chain_mixed()
2368 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in test_tc_chain_mixed()
/openbmc/linux/tools/lib/bpf/
H A Dnetlink.c546 case BPF_TC_INGRESS: in attach_point_to_config()
548 case BPF_TC_INGRESS | BPF_TC_EGRESS: in attach_point_to_config()
564 case BPF_TC_INGRESS: in tc_get_tcm_parent()
569 attach_point == BPF_TC_INGRESS ? in tc_get_tcm_parent()
639 case BPF_TC_INGRESS: in bpf_tc_hook_destroy()
642 case BPF_TC_INGRESS | BPF_TC_EGRESS: in bpf_tc_hook_destroy()
H A Dlibbpf.h1189 BPF_TC_INGRESS = 1 << 0, enumerator
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c35 .attach_point = BPF_TC_INGRESS); in cleanup()
233 .attach_point = BPF_TC_INGRESS); in syncookie_attach()