Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/bpf/
Dtcx.c12 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 = tcx->location == BPF_TCX_INGRESS; in tcx_link_prog_attach()
172 bool ingress = tcx->location == BPF_TCX_INGRESS; in tcx_link_release()
207 bool ingress = tcx->location == BPF_TCX_INGRESS; in tcx_link_update()
264 tcx->location == BPF_TCX_INGRESS ? "ingress" : "egress"); in tcx_link_fdinfo()
Dsyscall.c3717 case BPF_TCX_INGRESS: in attach_type_to_prog_type()
3769 if (attach_type != BPF_TCX_INGRESS && in bpf_prog_attach_check_attach_type()
3973 case BPF_TCX_INGRESS: in bpf_prog_query()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dtc_opts.c35 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_opts_basic()
41 err = bpf_prog_attach_opts(fd1, loopback, BPF_TCX_INGRESS, &opta); in serial_test_tc_opts_basic()
45 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_opts_basic()
53 err = bpf_prog_query_opts(loopback, BPF_TCX_INGRESS, &optq); in serial_test_tc_opts_basic()
72 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_opts_basic()
97 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_opts_basic()
101 err = bpf_prog_detach_opts(fd1, loopback, BPF_TCX_INGRESS, &optd); in serial_test_tc_opts_basic()
104 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_opts_basic()
259 test_tc_opts_before_target(BPF_TCX_INGRESS); in serial_test_tc_opts_before()
450 test_tc_opts_after_target(BPF_TCX_INGRESS); in serial_test_tc_opts_after()
[all …]
Dtc_links.c33 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_links_basic()
47 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_links_basic()
57 err = bpf_prog_query_opts(loopback, BPF_TCX_INGRESS, &optq); in serial_test_tc_links_basic()
83 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_links_basic()
109 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_links_basic()
263 test_tc_links_before_target(BPF_TCX_INGRESS); in serial_test_tc_links_before()
417 test_tc_links_after_target(BPF_TCX_INGRESS); in serial_test_tc_links_after()
517 test_tc_links_revision_target(BPF_TCX_INGRESS); in serial_test_tc_links_revision()
555 tc_hook.attach_point = target == BPF_TCX_INGRESS ? in test_tc_chain_classic()
621 test_tc_chain_classic(BPF_TCX_INGRESS, false); in serial_test_tc_links_chain_classic()
[all …]
/Linux-v6.6/tools/bpf/bpftool/
Dnet.c80 [BPF_TCX_INGRESS] = "tcx/ingress",
507 __show_dev_tc_bpf(dev, BPF_TCX_INGRESS); in show_dev_tc_bpf()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h1040 BPF_TCX_INGRESS, enumerator
/Linux-v6.6/include/uapi/linux/
Dbpf.h1040 BPF_TCX_INGRESS, enumerator
/Linux-v6.6/tools/lib/bpf/
Dbpf.c797 case BPF_TCX_INGRESS: in bpf_link_create()
Dlibbpf.c121 [BPF_TCX_INGRESS] = "tcx_ingress",
8788 SEC_DEF("tc/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE), /* alias for tcx */
8790 SEC_DEF("tcx/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE),