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

/linux-master/kernel/bpf/
H A Dtcx.c12 bool created, ingress = attr->attach_type == BPF_TCX_INGRESS;
61 bool ingress = attr->attach_type == BPF_TCX_INGRESS;
124 bool ingress = attr->query.attach_type == BPF_TCX_INGRESS;
145 bool created, ingress = tcx->location == BPF_TCX_INGRESS;
172 bool ingress = tcx->location == BPF_TCX_INGRESS;
207 bool ingress = tcx->location == BPF_TCX_INGRESS;
264 tcx->location == BPF_TCX_INGRESS ? "ingress" : "egress");
H A Dsyscall.c3961 case BPF_TCX_INGRESS:
4015 if (attach_type != BPF_TCX_INGRESS &&
4101 if (attr->attach_type == BPF_TCX_INGRESS ||
4166 if (attr->attach_type == BPF_TCX_INGRESS ||
4234 case BPF_TCX_INGRESS:
5250 if (attr->link_create.attach_type == BPF_TCX_INGRESS ||
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtc_links.c33 assert_mprog_count(BPF_TCX_INGRESS, 0);
47 assert_mprog_count(BPF_TCX_INGRESS, 1);
57 err = bpf_prog_query_opts(loopback, BPF_TCX_INGRESS, &optq);
83 assert_mprog_count(BPF_TCX_INGRESS, 1);
109 assert_mprog_count(BPF_TCX_INGRESS, 0);
263 test_tc_links_before_target(BPF_TCX_INGRESS);
417 test_tc_links_after_target(BPF_TCX_INGRESS);
517 test_tc_links_revision_target(BPF_TCX_INGRESS);
555 tc_hook.attach_point = target == BPF_TCX_INGRESS ?
621 test_tc_chain_classic(BPF_TCX_INGRESS, fals
[all...]
H A Dtc_opts.c35 assert_mprog_count(BPF_TCX_INGRESS, 0);
41 err = bpf_prog_attach_opts(fd1, loopback, BPF_TCX_INGRESS, &opta);
45 assert_mprog_count(BPF_TCX_INGRESS, 1);
53 err = bpf_prog_query_opts(loopback, BPF_TCX_INGRESS, &optq);
72 assert_mprog_count(BPF_TCX_INGRESS, 1);
97 assert_mprog_count(BPF_TCX_INGRESS, 1);
101 err = bpf_prog_detach_opts(fd1, loopback, BPF_TCX_INGRESS, &optd);
104 assert_mprog_count(BPF_TCX_INGRESS, 0);
259 test_tc_opts_before_target(BPF_TCX_INGRESS);
450 test_tc_opts_after_target(BPF_TCX_INGRESS);
[all...]
/linux-master/tools/bpf/bpftool/
H A Dnet.c80 [BPF_TCX_INGRESS] = "tcx/ingress",
509 __show_dev_tc_bpf(dev, BPF_TCX_INGRESS);
/linux-master/include/uapi/linux/
H A Dbpf.h1108 BPF_TCX_INGRESS, enumerator in enum:bpf_attach_type
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1108 BPF_TCX_INGRESS, enumerator in enum:bpf_attach_type
/linux-master/tools/lib/bpf/
H A Dbpf.c804 case BPF_TCX_INGRESS:
H A Dlibbpf.c130 [BPF_TCX_INGRESS] = "tcx_ingress",
9258 SEC_DEF("tc/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE), /* alias for tcx */
9260 SEC_DEF("tcx/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE),

Completed in 309 milliseconds