Searched refs:BPF_TCX_EGRESS (Results 1 – 6 of 6) sorted by relevance
/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 | 36 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_links_basic() 50 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_links_basic() 86 assert_mprog_count(BPF_TCX_EGRESS, 1); in serial_test_tc_links_basic() 92 err = bpf_prog_query_opts(loopback, BPF_TCX_EGRESS, &optq); in serial_test_tc_links_basic() 112 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_links_basic() 266 test_tc_links_before_target(BPF_TCX_EGRESS); in serial_test_tc_links_before() 420 test_tc_links_after_target(BPF_TCX_EGRESS); in serial_test_tc_links_after() 520 test_tc_links_revision_target(BPF_TCX_EGRESS); in serial_test_tc_links_revision() 624 test_tc_chain_classic(BPF_TCX_EGRESS, false); in serial_test_tc_links_chain_classic() 626 test_tc_chain_classic(BPF_TCX_EGRESS, true); in serial_test_tc_links_chain_classic() [all …]
|
/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()
|
/tools/include/uapi/linux/ |
D | bpf.h | 1058 BPF_TCX_EGRESS, enumerator
|
/tools/lib/bpf/ |
D | bpf.c | 798 case BPF_TCX_EGRESS: in bpf_link_create()
|
D | libbpf.c | 123 [BPF_TCX_EGRESS] = "tcx_egress", 8795 SEC_DEF("tc/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE), /* alias for tcx */ 8797 SEC_DEF("tcx/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE),
|