Searched refs:ifindices (Results 1 – 3 of 3) sorted by relevance
/external/toybox/toys/pending/ |
D | brctl.c | 46 int ifindices[MAX_BRIDGES]; local 48 (unsigned long) ifindices, MAX_BRIDGES, 0 }; 50 memset(ifindices, 0, MAX_BRIDGES); 51 args[1] = (unsigned long)ifindices; 55 if (indices) memcpy(indices, ifindices, sizeof(ifindices)); 77 int num, cnt, i, j, ifindices[MAX_BRIDGES], pindices[MAX_BRIDGES]; in br_show() local 79 (unsigned long)ifindices, MAX_BRIDGES,0 }; in br_show() 89 if (!if_indextoname(ifindices[i], br)) perror_exit("interface not found"); in br_show()
|
/external/wpa_supplicant_8/src/ap/ |
D | vlan_full.c | 350 int ifindices[MAX_BR_PORTS]; in br_getnumports() local 360 arg[1] = (unsigned long) ifindices; in br_getnumports() 364 os_memset(ifindices, 0, sizeof(ifindices)); in br_getnumports() 377 if (ifindices[i] > 0) { in br_getnumports()
|
/external/wpa_supplicant_8/hostapd/aidl/ |
D | hostapd.cpp | 75 int i, ifindices[MAX_PORTS]; in GetInterfacesInBridge() local 79 memset(ifindices, 0, MAX_PORTS * sizeof(int)); in GetInterfacesInBridge() 82 args[1] = (unsigned long) ifindices; in GetInterfacesInBridge() 96 if (ifindices[i] == 0 || !if_indextoname(ifindices[i], if_name)) { in GetInterfacesInBridge()
|