Searched refs:ifaces (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.15/tools/testing/selftests/bpf/ |
| D | xdp_redirect_multi.c | 27 static int ifaces[MAX_IFACE_NUM] = {}; variable 34 for (i = 0; ifaces[i] > 0; i++) { in int_exit() 35 if (bpf_get_link_xdp_id(ifaces[i], &prog_id, xdp_flags)) { in int_exit() 40 bpf_set_link_xdp_fd(ifaces[i], -1, xdp_flags); in int_exit() 134 ifaces[i] = if_nametoindex(argv[optind + i]); in main() 135 if (!ifaces[i]) in main() 136 ifaces[i] = strtoul(argv[optind + i], NULL, 0); in main() 137 if (!if_indextoname(ifaces[i], ifname)) { in main() 141 if (ifaces[i] > MAX_INDEX_NUM) { in main() 145 printf(" %d", ifaces[i]); in main() [all …]
|
| /Linux-v5.15/samples/bpf/ |
| D | xdp_redirect_map_multi_user.c | 31 static int ifaces[MAX_IFACE_NUM] = {}; variable 57 for (i = 0; ifaces[i] > 0; i++) { in update_mac_map() 58 ifindex = ifaces[i]; in update_mac_map() 149 ifaces[i] = if_nametoindex(argv[optind + i]); in main() 150 if (!ifaces[i]) in main() 151 ifaces[i] = strtoul(argv[optind + i], NULL, 0); in main() 152 if (!if_indextoname(ifaces[i], ifname)) { in main() 158 skel->rodata->from_match[i] = ifaces[i]; in main() 159 skel->rodata->to_match[i] = ifaces[i]; in main() 189 for (i = 0; ifaces[i] > 0; i++) { in main() [all …]
|
| /Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
| D | xdp_bonding.c | 336 static const char * const ifaces[] = {"bond2", "veth2_1", "veth2_2"}; in test_xdp_bonding_redirect_multi() local 349 for (int i = 0; i < ARRAY_SIZE(ifaces); i++) { in test_xdp_bonding_redirect_multi() 350 int ifindex = if_nametoindex(ifaces[i]); in test_xdp_bonding_redirect_multi()
|
| /Linux-v5.15/fs/cifs/ |
| D | sess.c | 72 struct cifs_server_iface *ifaces = NULL; in cifs_try_adding_channels() local 105 ifaces = kmemdup(ses->iface_list, iface_count*sizeof(*ifaces), in cifs_try_adding_channels() 107 if (!ifaces) { in cifs_try_adding_channels() 128 iface = &ifaces[i]; in cifs_try_adding_channels() 147 kfree(ifaces); in cifs_try_adding_channels()
|
| /Linux-v5.15/Documentation/scsi/ |
| D | cxgb3i.rst | 63 2. Create an interface file located under /etc/iscsi/ifaces/ for the new
|