Symbol: BPF_TCX_INGRESS
kernel/bpf/syscall.c
4403
case BPF_TCX_INGRESS:
kernel/bpf/syscall.c
4470
if (attach_type != BPF_TCX_INGRESS &&
kernel/bpf/syscall.c
4570
if (attr->attach_type == BPF_TCX_INGRESS ||
kernel/bpf/syscall.c
4640
if (attr->attach_type == BPF_TCX_INGRESS ||
kernel/bpf/syscall.c
4708
case BPF_TCX_INGRESS:
kernel/bpf/syscall.c
5772
if (attr->link_create.attach_type == BPF_TCX_INGRESS ||
kernel/bpf/tcx.c
12
bool created, ingress = attr->attach_type == BPF_TCX_INGRESS;
kernel/bpf/tcx.c
124
bool ingress = attr->query.attach_type == BPF_TCX_INGRESS;
kernel/bpf/tcx.c
145
bool created, ingress = link->attach_type == BPF_TCX_INGRESS;
kernel/bpf/tcx.c
172
bool ingress = link->attach_type == BPF_TCX_INGRESS;
kernel/bpf/tcx.c
207
bool ingress = link->attach_type == BPF_TCX_INGRESS;
kernel/bpf/tcx.c
264
link->attach_type == BPF_TCX_INGRESS ? "ingress" : "egress");
kernel/bpf/tcx.c
61
bool ingress = attr->attach_type == BPF_TCX_INGRESS;
tools/bpf/bpftool/net.c
519
__show_dev_tc_bpf(dev, BPF_TCX_INGRESS);
tools/bpf/bpftool/net.c
664
return BPF_TCX_INGRESS;
tools/bpf/bpftool/net.c
84
[BPF_TCX_INGRESS] = "tcx/ingress",
tools/lib/bpf/bpf.c
811
case BPF_TCX_INGRESS:
tools/lib/bpf/libbpf.c
132
[BPF_TCX_INGRESS] = "tcx_ingress",
tools/lib/bpf/libbpf.c
9850
SEC_DEF("tc/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE), /* alias for tcx */
tools/lib/bpf/libbpf.c
9852
SEC_DEF("tcx/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE),
tools/testing/selftests/bpf/prog_tests/netns_cookie.c
46
err = bpf_prog_attach_opts(tc_fd, loopback, BPF_TCX_INGRESS, &opta);
tools/testing/selftests/bpf/prog_tests/netns_cookie.c
91
err = bpf_prog_detach_opts(tc_fd, loopback, BPF_TCX_INGRESS, &optd);
tools/testing/selftests/bpf/prog_tests/tc_links.c
111
assert_mprog_count(BPF_TCX_INGRESS, 0);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1163
test_tc_links_invalid_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1319
test_tc_links_prepend_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1475
test_tc_links_append_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1573
test_tc_links_dev_cleanup_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1611
tc_hook.attach_point = target == BPF_TCX_INGRESS ?
tools/testing/selftests/bpf/prog_tests/tc_links.c
1677
test_tc_chain_mixed(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1787
test_tc_links_ingress(BPF_TCX_INGRESS, true, true);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1788
test_tc_links_ingress(BPF_TCX_INGRESS, true, false);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1789
test_tc_links_ingress(BPF_TCX_INGRESS, false, false);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1926
tc_hook.attach_point = target == BPF_TCX_INGRESS ?
tools/testing/selftests/bpf/prog_tests/tc_links.c
1960
test_tc_links_dev_mixed(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_links.c
265
test_tc_links_before_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_links.c
35
assert_mprog_count(BPF_TCX_INGRESS, 0);
tools/testing/selftests/bpf/prog_tests/tc_links.c
419
test_tc_links_after_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_links.c
49
assert_mprog_count(BPF_TCX_INGRESS, 1);
tools/testing/selftests/bpf/prog_tests/tc_links.c
519
test_tc_links_revision_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_links.c
557
tc_hook.attach_point = target == BPF_TCX_INGRESS ?
tools/testing/selftests/bpf/prog_tests/tc_links.c
59
err = bpf_prog_query_opts(loopback, BPF_TCX_INGRESS, &optq);
tools/testing/selftests/bpf/prog_tests/tc_links.c
623
test_tc_chain_classic(BPF_TCX_INGRESS, false);
tools/testing/selftests/bpf/prog_tests/tc_links.c
625
test_tc_chain_classic(BPF_TCX_INGRESS, true);
tools/testing/selftests/bpf/prog_tests/tc_links.c
85
assert_mprog_count(BPF_TCX_INGRESS, 1);
tools/testing/selftests/bpf/prog_tests/tc_links.c
851
test_tc_links_replace_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_netkit.c
761
BPF_TCX_INGRESS), 0, "tc7_attach_type");
tools/testing/selftests/bpf/prog_tests/tc_netkit.c
768
assert_mprog_count_ifindex(ifindex2, BPF_TCX_INGRESS, 0);
tools/testing/selftests/bpf/prog_tests/tc_netkit.c
777
assert_mprog_count_ifindex(ifindex2, BPF_TCX_INGRESS, 0);
tools/testing/selftests/bpf/prog_tests/tc_netkit.c
786
assert_mprog_count_ifindex(ifindex2, BPF_TCX_INGRESS, 1);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
101
err = bpf_prog_detach_opts(fd1, loopback, BPF_TCX_INGRESS, &optd);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
1022
test_tc_opts_invalid_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
104
assert_mprog_count(BPF_TCX_INGRESS, 0);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
1162
test_tc_opts_prepend_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
1302
test_tc_opts_append_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
1390
test_tc_opts_dev_cleanup_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
1566
test_tc_opts_mixed_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
1645
test_tc_opts_demixed_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
1816
test_tc_opts_detach_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2023
test_tc_opts_detach_before_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2239
test_tc_opts_detach_after_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2251
tc_hook.attach_point = target == BPF_TCX_INGRESS ?
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2268
test_tc_opts_delete_empty(BPF_TCX_INGRESS, false);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2270
test_tc_opts_delete_empty(BPF_TCX_INGRESS, true);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2301
tc_hook.attach_point = target == BPF_TCX_INGRESS ?
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2375
test_tc_chain_mixed(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2449
test_tc_opts_max_target(BPF_TCX_INGRESS, 0, false);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2452
test_tc_opts_max_target(BPF_TCX_INGRESS, BPF_F_BEFORE, false);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2455
test_tc_opts_max_target(BPF_TCX_INGRESS, BPF_F_AFTER, true);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
259
test_tc_opts_before_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2751
test_tc_opts_query_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2810
test_tc_opts_query_attach_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
35
assert_mprog_count(BPF_TCX_INGRESS, 0);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
41
err = bpf_prog_attach_opts(fd1, loopback, BPF_TCX_INGRESS, &opta);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
45
assert_mprog_count(BPF_TCX_INGRESS, 1);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
450
test_tc_opts_after_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
53
err = bpf_prog_query_opts(loopback, BPF_TCX_INGRESS, &optq);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
559
test_tc_opts_revision_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
592
tc_hook.attach_point = target == BPF_TCX_INGRESS ?
tools/testing/selftests/bpf/prog_tests/tc_opts.c
660
test_tc_chain_classic(BPF_TCX_INGRESS, false);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
662
test_tc_chain_classic(BPF_TCX_INGRESS, true);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
72
assert_mprog_count(BPF_TCX_INGRESS, 1);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
869
test_tc_opts_replace_target(BPF_TCX_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
97
assert_mprog_count(BPF_TCX_INGRESS, 1);