Searched refs:ifindices (Results 1 – 2 of 2) 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()
|