Lines Matching full:loopback
8 #define loopback 1 macro
39 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in serial_test_tc_links_basic()
57 err = bpf_prog_query_opts(loopback, BPF_TCX_INGRESS, &optq); in serial_test_tc_links_basic()
74 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in serial_test_tc_links_basic()
90 err = bpf_prog_query_opts(loopback, BPF_TCX_EGRESS, &optq); in serial_test_tc_links_basic()
152 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_before_target()
162 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_before_target()
179 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_before_target()
205 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_before_target()
218 link = bpf_program__attach_tcx(skel->progs.tc4, loopback, &optl); in test_tc_links_before_target()
232 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_before_target()
306 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_after_target()
316 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_after_target()
333 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_after_target()
359 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_after_target()
372 link = bpf_program__attach_tcx(skel->progs.tc4, loopback, &optl); in test_tc_links_after_target()
386 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_after_target()
453 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_revision_target()
465 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_revision_target()
475 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_revision_target()
492 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_revision_target()
524 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback); in test_tc_chain_classic()
571 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_chain_classic()
577 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_chain_classic()
663 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_replace_target()
679 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_replace_target()
696 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_replace_target()
722 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_replace_target()
736 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_replace_target()
749 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_replace_target()
767 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_replace_target()
797 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_replace_target()
825 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_replace_target()
884 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
896 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
908 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
920 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
933 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
945 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
957 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
970 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
983 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
996 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1009 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1022 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1035 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1048 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1071 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1081 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1096 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_invalid_target()
1109 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_invalid_target()
1122 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1135 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_invalid_target()
1147 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_invalid_target()
1204 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_prepend_target()
1218 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_prepend_target()
1235 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_prepend_target()
1260 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_prepend_target()
1272 link = bpf_program__attach_tcx(skel->progs.tc4, loopback, &optl); in test_tc_links_prepend_target()
1286 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_prepend_target()
1360 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_append_target()
1374 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_append_target()
1391 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_append_target()
1416 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_append_target()
1428 link = bpf_program__attach_tcx(skel->progs.tc4, loopback, &optl); in test_tc_links_append_target()
1442 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_append_target()
1578 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback); in test_tc_chain_mixed()
1621 link = bpf_program__attach_tcx(skel->progs.tc6, loopback, &optl); in test_tc_chain_mixed()
1687 .ifindex = loopback, in test_tc_links_ingress()
1731 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_ingress()
1737 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_ingress()