Searched refs:intIface (Results 1 - 5 of 5) sorted by relevance
/system/netd/ |
H A D | NatController.h | 45 int setForwardRules(bool set, const char *intIface, const char *extIface); 46 int setTetherCountingRules(bool add, const char *intIface, const char *extIface); 47 int routesOp(bool add, const char *intIface, const char *extIface, char **argv, int addrCount);
|
H A D | NatController.cpp | 140 int NatController::routesOp(bool add, const char *intIface, const char *extIface, char **argv, int addrCount) { argument 148 ret |= secondaryTableCtrl->modifyLocalRoute(tableNumber, ADD, intIface, argv[5+i]); 150 ret |= secondaryTableCtrl->modifyLocalRoute(tableNumber, DEL, intIface, argv[5+i]); 170 const char *intIface = argv[2]; local 174 ALOGV("enableNat(intIface=<%s>, extIface=<%s>)",intIface, extIface); 176 if (!checkInterface(intIface) || !checkInterface(extIface)) { 183 if (!strcmp(intIface, extIface)) { 184 ALOGE("Duplicate interface specified: %s %s", intIface, extIface); 194 if (routesOp(true, intIface, extIfac 256 setTetherCountingRules(bool add, const char *intIface, const char *extIface) argument 338 setForwardRules(bool add, const char *intIface, const char *extIface) argument 422 const char *intIface = argv[2]; local [all...] |
H A D | BandwidthController.cpp | 1102 bool filterPair = filter.intIface[0] && filter.extIface[0]; 1123 * The following assumes that the 1st rule has in:extIface out:intIface, 1127 if (filter.intIface[0] && filter.extIface[0]) { 1128 if (filter.intIface == iface0 && filter.extIface == iface1) { 1132 } else if (filter.intIface == iface1 && filter.extIface == iface0) { 1137 } else if (filter.intIface[0] || filter.extIface[0]) { 1138 if (filter.intIface == iface0 || filter.extIface == iface1) { 1140 stats.intIface = iface0; 1144 } else if (filter.intIface == iface1 || filter.extIface == iface0) { 1146 stats.intIface [all...] |
H A D | BandwidthController.h | 35 : intIface(intIfn), extIface(extIfn), 39 std::string intIface; member in class:BandwidthController::TetherStats 46 * intIface extIface rx_bytes rx_packets tx_bytes tx_packets 156 * stats should never have only intIface initialized. Other 3 combos are ok. 160 * in:intIface out:extIface 161 * in:extIface out:intIface
|
H A D | CommandListener.cpp | 1357 tetherStats.intIface = argc > 2 ? argv[2] : "";
|
Completed in 581 milliseconds