Lines Matching full:loopback
8 #define loopback 1 macro
41 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in serial_test_tc_links_basic()
59 err = bpf_prog_query_opts(loopback, BPF_TCX_INGRESS, &optq); in serial_test_tc_links_basic()
76 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in serial_test_tc_links_basic()
92 err = bpf_prog_query_opts(loopback, BPF_TCX_EGRESS, &optq); in serial_test_tc_links_basic()
154 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_before_target()
164 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_before_target()
181 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_before_target()
207 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_before_target()
220 link = bpf_program__attach_tcx(skel->progs.tc4, loopback, &optl); in test_tc_links_before_target()
234 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_before_target()
308 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_after_target()
318 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_after_target()
335 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_after_target()
361 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_after_target()
374 link = bpf_program__attach_tcx(skel->progs.tc4, loopback, &optl); in test_tc_links_after_target()
388 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_after_target()
455 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_revision_target()
467 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_revision_target()
477 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_revision_target()
494 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_revision_target()
526 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback); in test_tc_chain_classic()
573 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_chain_classic()
579 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_chain_classic()
665 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_replace_target()
681 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_replace_target()
698 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_replace_target()
724 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_replace_target()
738 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_replace_target()
751 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_replace_target()
769 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_replace_target()
799 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_replace_target()
827 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_replace_target()
886 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
898 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
910 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
922 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
935 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
947 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
959 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
972 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
985 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
998 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1011 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1024 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1037 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1050 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1073 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1083 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1098 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_invalid_target()
1111 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_invalid_target()
1124 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1137 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1149 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_invalid_target()
1206 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_prepend_target()
1220 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_prepend_target()
1237 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_prepend_target()
1262 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_prepend_target()
1274 link = bpf_program__attach_tcx(skel->progs.tc4, loopback, &optl); in test_tc_links_prepend_target()
1288 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_prepend_target()
1362 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_append_target()
1376 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_append_target()
1393 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_append_target()
1418 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_append_target()
1430 link = bpf_program__attach_tcx(skel->progs.tc4, loopback, &optl); in test_tc_links_append_target()
1444 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_append_target()
1580 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback); in test_tc_chain_mixed()
1623 link = bpf_program__attach_tcx(skel->progs.tc6, loopback, &optl); in test_tc_chain_mixed()
1689 .ifindex = loopback, in test_tc_links_ingress()
1733 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_ingress()
1739 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_ingress()