Searched refs:extIface (Results 1 – 5 of 5) sorted by relevance
/system/netd/server/ |
D | NatController.cpp | 139 int NatController::enableNat(const char* intIface, const char* extIface) { in enableNat() argument 140 ALOGV("enableNat(intIface=<%s>, extIface=<%s>)",intIface, extIface); in enableNat() 142 if (!isIfaceName(intIface) || !isIfaceName(extIface)) { in enableNat() 148 if (!strcmp(intIface, extIface)) { in enableNat() 149 ALOGE("Duplicate interface specified: %s %s", intIface, extIface); in enableNat() 164 extIface, in enableNat() 169 ALOGE("Error setting postroute rule: iface=%s", extIface); in enableNat() 176 if (setForwardRules(true, intIface, extIface) != 0) { in enableNat() 221 int NatController::setTetherCountingRules(bool add, const char *intIface, const char *extIface) { in setTetherCountingRules() argument 228 asprintf(&pair_name, "%s_%s", intIface, extIface); in setTetherCountingRules() [all …]
|
D | NatController.h | 29 int enableNat(const char* intIface, const char* extIface); 30 int disableNat(const char* intIface, const char* extIface); 48 int setForwardRules(bool set, const char *intIface, const char *extIface); 49 int setTetherCountingRules(bool add, const char *intIface, const char *extIface);
|
D | BandwidthController.cpp | 1144 bool filterPair = filter.intIface[0] && filter.extIface[0]; in parseForwardChainStats() 1169 if (filter.intIface[0] && filter.extIface[0]) { in parseForwardChainStats() 1170 if (filter.intIface == iface0 && filter.extIface == iface1) { in parseForwardChainStats() 1174 } else if (filter.intIface == iface1 && filter.extIface == iface0) { in parseForwardChainStats() 1179 } else if (filter.intIface[0] || filter.extIface[0]) { in parseForwardChainStats() 1180 if (filter.intIface == iface0 || filter.extIface == iface1) { in parseForwardChainStats() 1183 stats.extIface = iface1; in parseForwardChainStats() 1186 } else if (filter.intIface == iface1 || filter.extIface == iface0) { in parseForwardChainStats() 1189 stats.extIface = iface0; in parseForwardChainStats() 1197 stats.extIface = iface1; in parseForwardChainStats() [all …]
|
D | BandwidthController.h | 35 : intIface(intIfn), extIface(extIfn), in TetherStats() 41 std::string extIface; variable
|
D | CommandListener.cpp | 1180 tetherStats.extIface = argc > 3 ? argv[3] : ""; in runCommand()
|