Searched refs:tableIndex (Results 1 - 2 of 2) sorted by relevance
/system/netd/ |
H A D | SecondaryTableController.cpp | 65 int tableIndex = findTableNumber(iface); local 66 if (tableIndex == -1) { 67 tableIndex = findTableNumber(""); // look for an empty slot 68 if (tableIndex == -1) { 74 strncpy(mInterfaceTable[tableIndex], iface, IFNAMSIZ); 76 mInterfaceTable[tableIndex][IFNAMSIZ] = 0; 79 return modifyRoute(cli, ADD, iface, dest, prefix, gateway, tableIndex); 83 char *dest, int prefix, char *gateway, int tableIndex) { 89 IP_PATH, action, dest, prefix, iface, tableIndex+BASE_TABLE_NUMBER); 92 IP_PATH, action, dest, prefix, gateway, iface, tableIndex 82 modifyRoute(SocketClient *cli, const char *action, char *iface, char *dest, int prefix, char *gateway, int tableIndex) argument 116 modifyRuleCount(int tableIndex, const char *action) argument 127 verifyTableIndex(int tableIndex) argument 147 int tableIndex = findTableNumber(iface); local 158 modifyFromRule(int tableIndex, const char *action, const char *addr) argument 175 modifyLocalRoute(int tableIndex, const char *action, const char *iface, const char *addr) argument [all...] |
H A D | SecondaryTableController.h | 41 int modifyFromRule(int tableIndex, const char *action, const char *addr); 42 int modifyLocalRoute(int tableIndex, const char *action, const char *iface, const char *addr); 46 char *gateway, int tableIndex); 50 void modifyRuleCount(int tableIndex, const char *action); 51 int verifyTableIndex(int tableIndex);
|
Completed in 415 milliseconds