Searched refs:BPF_TCX_INGRESS (Results 1 – 8 of 8) sorted by relevance
| /linux/kernel/bpf/ |
| H A D | tcx.c | 12 bool created, ingress = attr->attach_type == BPF_TCX_INGRESS; in tcx_prog_attach() 61 bool ingress = attr->attach_type == BPF_TCX_INGRESS; in tcx_prog_detach() 124 bool ingress = attr->query.attach_type == BPF_TCX_INGRESS; in tcx_prog_query() 145 bool created, ingress = link->attach_type == BPF_TCX_INGRESS; in tcx_link_prog_attach() 172 bool ingress = link->attach_type == BPF_TCX_INGRESS; in tcx_link_release() 207 bool ingress = link->attach_type == BPF_TCX_INGRESS; in tcx_link_update() 264 link->attach_type == BPF_TCX_INGRESS ? "ingress" : "egress"); in tcx_link_fdinfo()
|
| H A D | syscall.c | 4464 case BPF_TCX_INGRESS: in attach_type_to_prog_type() 4531 if (attach_type != BPF_TCX_INGRESS && in bpf_prog_attach_check_attach_type() 4631 if (attr->attach_type == BPF_TCX_INGRESS || in bpf_prog_attach() 4701 if (attr->attach_type == BPF_TCX_INGRESS || in bpf_prog_detach() 4769 case BPF_TCX_INGRESS: in bpf_prog_query() 5865 if (attr->link_create.attach_type == BPF_TCX_INGRESS || in link_create()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_opts.c | 35 assert_mprog_count(BPF_TCX_INGRESS, 0); in test_ns_tc_opts_basic() 41 err = bpf_prog_attach_opts(fd1, loopback, BPF_TCX_INGRESS, &opta); in test_ns_tc_opts_basic() 45 assert_mprog_count(BPF_TCX_INGRESS, 1); in test_ns_tc_opts_basic() 53 err = bpf_prog_query_opts(loopback, BPF_TCX_INGRESS, &optq); in test_ns_tc_opts_basic() 72 assert_mprog_count(BPF_TCX_INGRESS, 1); in test_ns_tc_opts_basic() 97 assert_mprog_count(BPF_TCX_INGRESS, 1); in test_ns_tc_opts_basic() 101 err = bpf_prog_detach_opts(fd1, loopback, BPF_TCX_INGRESS, &optd); in test_ns_tc_opts_basic() 104 assert_mprog_count(BPF_TCX_INGRESS, 0); in test_ns_tc_opts_basic() 259 test_tc_opts_before_target(BPF_TCX_INGRESS); in test_ns_tc_opts_before() 450 test_tc_opts_after_target(BPF_TCX_INGRESS); in test_ns_tc_opts_after() [all …]
|
| H A D | tc_links.c | 35 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_links_basic() 49 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_links_basic() 59 err = bpf_prog_query_opts(loopback, BPF_TCX_INGRESS, &optq); in serial_test_tc_links_basic() 85 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_links_basic() 111 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_links_basic() 265 test_tc_links_before_target(BPF_TCX_INGRESS); in serial_test_tc_links_before() 419 test_tc_links_after_target(BPF_TCX_INGRESS); in serial_test_tc_links_after() 519 test_tc_links_revision_target(BPF_TCX_INGRESS); in serial_test_tc_links_revision() 557 tc_hook.attach_point = target == BPF_TCX_INGRESS ? in test_tc_chain_classic() 623 test_tc_chain_classic(BPF_TCX_INGRESS, fals in serial_test_tc_links_chain_classic() [all...] |
| /linux/tools/bpf/bpftool/ |
| H A D | net.c | 84 [BPF_TCX_INGRESS] = "tcx/ingress", 519 __show_dev_tc_bpf(dev, BPF_TCX_INGRESS); in show_dev_tc_bpf() 664 return BPF_TCX_INGRESS; in get_tcx_type()
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1146 BPF_TCX_INGRESS, enumerator
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1146 BPF_TCX_INGRESS, enumerator
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 132 [BPF_TCX_INGRESS] = "tcx_ingress", 10143 SEC_DEF("tc/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE), /* alias for tcx */ 10145 SEC_DEF("tcx/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE),
|