Home
last modified time | relevance | path

Searched refs:BPF_TCX_EGRESS (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dtc_opts.c36 assert_mprog_count(BPF_TCX_EGRESS, 0); in test_ns_tc_opts_basic()
46 assert_mprog_count(BPF_TCX_EGRESS, 0); in test_ns_tc_opts_basic()
73 assert_mprog_count(BPF_TCX_EGRESS, 1); in test_ns_tc_opts_basic()
98 assert_mprog_count(BPF_TCX_EGRESS, 0); in test_ns_tc_opts_basic()
105 assert_mprog_count(BPF_TCX_EGRESS, 0); in test_ns_tc_opts_basic()
260 test_tc_opts_before_target(BPF_TCX_EGRESS); in test_ns_tc_opts_before()
451 test_tc_opts_after_target(BPF_TCX_EGRESS); in test_ns_tc_opts_after()
663 test_tc_chain_classic(BPF_TCX_EGRESS, true); in test_ns_tc_opts_chain_classic()
1303 test_tc_opts_append_target(BPF_TCX_EGRESS); in test_ns_tc_opts_append()
1569 test_tc_opts_mixed_target(BPF_TCX_EGRESS); in test_ns_tc_opts_mixed()
[all …]
H A Dtc_links.c36 assert_mprog_count(BPF_TCX_EGRESS, 0); in test_ns_tc_links_basic()
50 assert_mprog_count(BPF_TCX_EGRESS, 0); in test_ns_tc_links_basic()
86 assert_mprog_count(BPF_TCX_EGRESS, 1); in test_ns_tc_links_basic()
112 assert_mprog_count(BPF_TCX_EGRESS, 0); in test_ns_tc_links_basic()
266 test_tc_links_before_target(BPF_TCX_EGRESS); in test_ns_tc_links_before()
420 test_tc_links_after_target(BPF_TCX_EGRESS); in test_ns_tc_links_after()
624 test_tc_chain_classic(BPF_TCX_EGRESS, false); in test_ns_tc_links_chain_classic()
626 test_tc_chain_classic(BPF_TCX_EGRESS, true); in test_ns_tc_links_chain_classic()
1476 test_tc_links_append_target(BPF_TCX_EGRESS); in test_ns_tc_links_append()
1678 test_tc_chain_mixed(BPF_TCX_EGRESS); in test_ns_tc_links_chain_mixed()
[all …]
/linux-6.15/Documentation/bpf/libbpf/
H A Dprogram_types.rst148 | | ``BPF_TCX_EGRESS`` | ``tc/egress`…
152 | | ``BPF_TCX_EGRESS`` | ``tcx/egress…
/linux-6.15/tools/bpf/bpftool/
H A Dnet.c85 [BPF_TCX_EGRESS] = "tcx/egress",
514 __show_dev_tc_bpf(dev, BPF_TCX_EGRESS); in show_dev_tc_bpf()
660 return BPF_TCX_EGRESS; in get_tcx_type()
/linux-6.15/kernel/bpf/
H A Dsyscall.c4106 case BPF_TCX_EGRESS: in attach_type_to_prog_type()
4173 attach_type != BPF_TCX_EGRESS && in bpf_prog_attach_check_attach_type()
4260 attr->attach_type == BPF_TCX_EGRESS) in bpf_prog_attach()
4325 attr->attach_type == BPF_TCX_EGRESS) in bpf_prog_detach()
4393 case BPF_TCX_EGRESS: in bpf_prog_query()
5422 attr->link_create.attach_type == BPF_TCX_EGRESS) in link_create()
/linux-6.15/tools/include/uapi/linux/
H A Dbpf.h1112 BPF_TCX_EGRESS, enumerator
/linux-6.15/include/uapi/linux/
H A Dbpf.h1112 BPF_TCX_EGRESS, enumerator
/linux-6.15/tools/lib/bpf/
H A Dbpf.c809 case BPF_TCX_EGRESS: in bpf_link_create()
H A Dlibbpf.c131 [BPF_TCX_EGRESS] = "tcx_egress",
9504 SEC_DEF("tc/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE), /* alias for tcx */
9506 SEC_DEF("tcx/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE),