Home
last modified time | relevance | path

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

/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.c35 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, false); in serial_test_tc_links_chain_classic()
[all …]
/tools/bpf/bpftool/
Dnet.c80 [BPF_TCX_INGRESS] = "tcx/ingress",
507 __show_dev_tc_bpf(dev, BPF_TCX_INGRESS); in show_dev_tc_bpf()
/tools/include/uapi/linux/
Dbpf.h1057 BPF_TCX_INGRESS, enumerator
/tools/lib/bpf/
Dbpf.c797 case BPF_TCX_INGRESS: in bpf_link_create()
Dlibbpf.c122 [BPF_TCX_INGRESS] = "tcx_ingress",
8794 SEC_DEF("tc/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE), /* alias for tcx */
8796 SEC_DEF("tcx/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE),