Searched refs:BPF_TC_EGRESS (Results 1 – 12 of 12) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_redirect.c | 335 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 D | decap_sanity.c | 18 LIBBPF_OPTS(bpf_tc_hook, qdisc_hook, .attach_point = BPF_TC_EGRESS); in test_decap_sanity()
|
H A D | cgroup_ancestor.c | 60 t->qdisc.attach_point = BPF_TC_EGRESS; in setup_network()
|
H A D | tc_bpf.c | 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()
|
H A D | assign_reuse.c | 167 tc_hook.attach_point = BPF_TC_INGRESS | BPF_TC_EGRESS; in run_assign_reuse()
|
H A D | crypto_sanity.c | 82 LIBBPF_OPTS(bpf_tc_hook, qdisc_hook, .attach_point = BPF_TC_EGRESS); in test_crypto_sanity()
|
H A D | xfrm_info.c | 94 hook->attach_point = BPF_TC_EGRESS; in attach_tc_prog()
|
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()
|
H A D | test_tunnel.c | 389 hook->attach_point = BPF_TC_EGRESS; in attach_tc_prog()
|
/linux/tools/lib/bpf/ |
H A D | netlink.c | 547 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 D | libbpf.h | 1269 BPF_TC_EGRESS = 1 << 1, enumerator
|