Home
last modified time | relevance | path

Searched refs:ifaces (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/
Dxdp_redirect_multi.c26 static int ifaces[MAX_IFACE_NUM] = {}; variable
33 for (i = 0; ifaces[i] > 0; i++) { in int_exit()
34 if (bpf_xdp_query_id(ifaces[i], xdp_flags, &prog_id)) { in int_exit()
39 bpf_xdp_detach(ifaces[i], xdp_flags, NULL); in int_exit()
130 ifaces[i] = if_nametoindex(argv[optind + i]); in main()
131 if (!ifaces[i]) in main()
132 ifaces[i] = strtoul(argv[optind + i], NULL, 0); in main()
133 if (!if_indextoname(ifaces[i], ifname)) { in main()
137 if (ifaces[i] > MAX_INDEX_NUM) { in main()
141 printf(" %d", ifaces[i]); in main()
[all …]
/Linux-v6.1/samples/bpf/
Dxdp_redirect_map_multi_user.c30 static int ifaces[MAX_IFACE_NUM] = {}; variable
56 for (i = 0; ifaces[i] > 0; i++) { in update_mac_map()
57 ifindex = ifaces[i]; in update_mac_map()
148 ifaces[i] = if_nametoindex(argv[optind + i]); in main()
149 if (!ifaces[i]) in main()
150 ifaces[i] = strtoul(argv[optind + i], NULL, 0); in main()
151 if (!if_indextoname(ifaces[i], ifname)) { in main()
157 skel->rodata->from_match[i] = ifaces[i]; in main()
158 skel->rodata->to_match[i] = ifaces[i]; in main()
188 for (i = 0; ifaces[i] > 0; i++) { in main()
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dxdp_bonding.c340 static const char * const ifaces[] = {"bond2", "veth2_1", "veth2_2"}; in test_xdp_bonding_redirect_multi() local
353 for (int i = 0; i < ARRAY_SIZE(ifaces); i++) { in test_xdp_bonding_redirect_multi()
354 int ifindex = if_nametoindex(ifaces[i]); in test_xdp_bonding_redirect_multi()
/Linux-v6.1/Documentation/scsi/
Dcxgb3i.rst63 2. Create an interface file located under /etc/iscsi/ifaces/ for the new