Searched refs:BPF_TCX_EGRESS (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_opts.c | 36 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() 68 err = bpf_prog_attach_opts(fd2, loopback, BPF_TCX_EGRESS, &opta); in test_ns_tc_opts_basic() 73 assert_mprog_count(BPF_TCX_EGRESS, 1); in test_ns_tc_opts_basic() 78 err = bpf_prog_query_opts(loopback, BPF_TCX_EGRESS, &optq); in test_ns_tc_opts_basic() 94 err = bpf_prog_detach_opts(fd2, loopback, BPF_TCX_EGRESS, &optd); 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() [all …]
|
| H A 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, tru in serial_test_tc_links_chain_classic() [all...] |
| /linux/tools/bpf/bpftool/ |
| H A D | net.c | 85 [BPF_TCX_EGRESS] = "tcx/egress", 520 __show_dev_tc_bpf(dev, BPF_TCX_EGRESS); in show_dev_tc_bpf() 666 return BPF_TCX_EGRESS; in get_tcx_type()
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 4465 case BPF_TCX_EGRESS: in attach_type_to_prog_type() 4532 attach_type != BPF_TCX_EGRESS && in bpf_prog_attach_check_attach_type() 4632 attr->attach_type == BPF_TCX_EGRESS) in bpf_prog_attach() 4702 attr->attach_type == BPF_TCX_EGRESS) in bpf_prog_detach() 4770 case BPF_TCX_EGRESS: in bpf_prog_query() 5866 attr->link_create.attach_type == BPF_TCX_EGRESS) in link_create()
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1147 BPF_TCX_EGRESS, enumerator
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1147 BPF_TCX_EGRESS, enumerator
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 133 [BPF_TCX_EGRESS] = "tcx_egress", 10144 SEC_DEF("tc/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE), /* alias for tcx */ 10146 SEC_DEF("tcx/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE),
|