Searched defs:tableIndex (Results 1 - 1 of 1) sorted by relevance

/system/netd/
H A DSecondaryTableController.cpp65 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...]

Completed in 39 milliseconds