Searched refs:BPF_TC_INGRESS (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/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); 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 D | tc_redirect.c | 270 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 D | test_tunnel.c | 288 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 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()
|
H A D | xfrm_info.c | 85 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 D | btf_skc_cls_ingress.c | 26 LIBBPF_OPTS(bpf_tc_hook, qdisc_lo, .attach_point = BPF_TC_INGRESS); in prepare_netns()
|
H A D | xdp_do_redirect.c | 107 .attach_point = BPF_TC_INGRESS); in test_xdp_do_redirect()
|
H A D | vrf_socket_lookup.c | 107 LIBBPF_OPTS(bpf_tc_hook, hook, .attach_point = BPF_TC_INGRESS); in attach_progs()
|
H A D | tc_links.c | 558 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 D | tc_opts.c | 593 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 D | netlink.c | 546 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 D | libbpf.h | 1189 BPF_TC_INGRESS = 1 << 0, enumerator
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xdp_synproxy.c | 35 .attach_point = BPF_TC_INGRESS); in cleanup() 233 .attach_point = BPF_TC_INGRESS); in syncookie_attach()
|