Searched refs:MAX_BRIDGES (Results 1 – 1 of 1) sorted by relevance
/third_party/toybox/toys/pending/ |
D | brctl.c | 41 #define MAX_BRIDGES 1024 //same is no of ports supported macro 46 int ifindices[MAX_BRIDGES]; 48 (unsigned long) ifindices, MAX_BRIDGES, 0 }; 50 memset(ifindices, 0, MAX_BRIDGES); 77 int num, cnt, i, j, ifindices[MAX_BRIDGES], pindices[MAX_BRIDGES]; in br_show() 79 (unsigned long)ifindices, MAX_BRIDGES,0 }; in br_show() 99 for (j = 0, cnt = 0; j < MAX_BRIDGES; j++) { in br_show() 261 int i, index, pindices[MAX_BRIDGES]; in set_cost_prio() 268 for (i = 0; i < MAX_BRIDGES; i++) { in set_cost_prio() 271 if (i >= MAX_BRIDGES) error_exit("%s not in bridge", port); in set_cost_prio()
|