Searched refs:BPF_TCX_EGRESS (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | tc_opts.c | 36 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_opts_basic() 46 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_opts_basic() 68 err = bpf_prog_attach_opts(fd2, loopback, BPF_TCX_EGRESS, &opta); in serial_test_tc_opts_basic() 73 assert_mprog_count(BPF_TCX_EGRESS, 1); in serial_test_tc_opts_basic() 78 err = bpf_prog_query_opts(loopback, BPF_TCX_EGRESS, &optq); in serial_test_tc_opts_basic() 94 err = bpf_prog_detach_opts(fd2, loopback, BPF_TCX_EGRESS, &optd); in serial_test_tc_opts_basic() 98 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_opts_basic() 105 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_opts_basic() 260 test_tc_opts_before_target(BPF_TCX_EGRESS); in serial_test_tc_opts_before() 451 test_tc_opts_after_target(BPF_TCX_EGRESS); in serial_test_tc_opts_after() [all …]
|
D | tc_links.c | 34 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_links_basic() 48 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_links_basic() 84 assert_mprog_count(BPF_TCX_EGRESS, 1); in serial_test_tc_links_basic() 90 err = bpf_prog_query_opts(loopback, BPF_TCX_EGRESS, &optq); in serial_test_tc_links_basic() 110 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_links_basic() 264 test_tc_links_before_target(BPF_TCX_EGRESS); in serial_test_tc_links_before() 418 test_tc_links_after_target(BPF_TCX_EGRESS); in serial_test_tc_links_after() 518 test_tc_links_revision_target(BPF_TCX_EGRESS); in serial_test_tc_links_revision() 622 test_tc_chain_classic(BPF_TCX_EGRESS, false); in serial_test_tc_links_chain_classic() 624 test_tc_chain_classic(BPF_TCX_EGRESS, true); in serial_test_tc_links_chain_classic() [all …]
|
/Linux-v6.6/tools/bpf/bpftool/ |
D | net.c | 81 [BPF_TCX_EGRESS] = "tcx/egress", 508 __show_dev_tc_bpf(dev, BPF_TCX_EGRESS); in show_dev_tc_bpf()
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | bpf.h | 1041 BPF_TCX_EGRESS, enumerator
|
/Linux-v6.6/include/uapi/linux/ |
D | bpf.h | 1041 BPF_TCX_EGRESS, enumerator
|
/Linux-v6.6/tools/lib/bpf/ |
D | bpf.c | 798 case BPF_TCX_EGRESS: in bpf_link_create()
|
D | libbpf.c | 122 [BPF_TCX_EGRESS] = "tcx_egress", 8789 SEC_DEF("tc/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE), /* alias for tcx */ 8791 SEC_DEF("tcx/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE),
|
/Linux-v6.6/kernel/bpf/ |
D | syscall.c | 3718 case BPF_TCX_EGRESS: in attach_type_to_prog_type() 3770 attach_type != BPF_TCX_EGRESS) in bpf_prog_attach_check_attach_type() 3974 case BPF_TCX_EGRESS: in bpf_prog_query()
|