Home
last modified time | relevance | path

Searched refs:BPF_TC_EGRESS (Results 1 – 12 of 12) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c335 qdisc_hook->attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in qdisc_clsact_create()
393 XGRESS_FILTER_ADD(&qdisc_src_fwd, BPF_TC_EGRESS, chk_prog, 0); in netns_load_bpf()
400 XGRESS_FILTER_ADD(&qdisc_dst_fwd, BPF_TC_EGRESS, chk_prog, 0); in netns_load_bpf()
706 XGRESS_FILTER_ADD(&qdisc_src, BPF_TC_EGRESS, skel->progs.egress_host, 0); in netns_load_dtime_bpf()
718 XGRESS_FILTER_ADD(&qdisc_dst, BPF_TC_EGRESS, skel->progs.egress_host, 0); in netns_load_dtime_bpf()
734 XGRESS_FILTER_ADD(&qdisc_dst_fwd, BPF_TC_EGRESS, in netns_load_dtime_bpf()
737 XGRESS_FILTER_ADD(&qdisc_dst_fwd, BPF_TC_EGRESS, in netns_load_dtime_bpf()
749 XGRESS_FILTER_ADD(&qdisc_src_fwd, BPF_TC_EGRESS, in netns_load_dtime_bpf()
752 XGRESS_FILTER_ADD(&qdisc_src_fwd, BPF_TC_EGRESS, in netns_load_dtime_bpf()
1223 XGRESS_FILTER_ADD(&qdisc_dst_fwd, BPF_TC_EGRESS, skel->progs.tc_chk, 0); in test_tc_redirect_peer_l3()
H A Ddecap_sanity.c18 LIBBPF_OPTS(bpf_tc_hook, qdisc_hook, .attach_point = BPF_TC_EGRESS); in test_decap_sanity()
H A Dcgroup_ancestor.c60 t->qdisc.attach_point = BPF_TC_EGRESS; in setup_network()
H A Dtc_bpf.c377 hook.attach_point = BPF_TC_EGRESS; in tc_bpf_root()
392 hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in tc_bpf_root()
H A Dassign_reuse.c167 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in run_assign_reuse()
H A Dcrypto_sanity.c82 LIBBPF_OPTS(bpf_tc_hook, qdisc_hook, .attach_point = BPF_TC_EGRESS); in test_crypto_sanity()
H A Dxfrm_info.c94 hook->attach_point = BPF_TC_EGRESS; in attach_tc_prog()
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()
H A Dtest_tunnel.c389 hook->attach_point = BPF_TC_EGRESS; in attach_tc_prog()
/linux/tools/lib/bpf/
H A Dnetlink.c547 case BPF_TC_EGRESS: in attach_point_to_config()
548 case BPF_TC_INGRESS | BPF_TC_EGRESS: in attach_point_to_config()
565 case BPF_TC_EGRESS: in tc_get_tcm_parent()
640 case BPF_TC_EGRESS: in bpf_tc_hook_destroy()
642 case BPF_TC_INGRESS | BPF_TC_EGRESS: in bpf_tc_hook_destroy()
H A Dlibbpf.h1269 BPF_TC_EGRESS = 1 << 1, enumerator