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

/system/netd/
H A DNatController.cpp140 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 DBandwidthController.h35 : 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

Completed in 156 milliseconds