Searched refs:extIface (Results 1 – 5 of 5) sorted by relevance
/system/netd/server/ |
D | NatController.cpp | 149 int NatController::enableNat(const char* intIface, const char* extIface) { in enableNat() argument 150 ALOGV("enableNat(intIface=<%s>, extIface=<%s>)",intIface, extIface); in enableNat() 152 if (!isIfaceName(intIface) || !isIfaceName(extIface)) { in enableNat() 158 if (!strcmp(intIface, extIface)) { in enableNat() 159 ALOGE("Duplicate interface specified: %s %s", intIface, extIface); in enableNat() 174 extIface, in enableNat() 187 ALOGE("Error setting postroute rule: iface=%s", extIface); in enableNat() 194 if (setForwardRules(true, intIface, extIface) != 0) { in enableNat() 239 int NatController::setTetherCountingRules(bool add, const char *intIface, const char *extIface) { in setTetherCountingRules() argument 246 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); 49 int setForwardRules(bool set, const char *intIface, const char *extIface); 50 int setTetherCountingRules(bool add, const char *intIface, const char *extIface);
|
D | BandwidthController.h | 40 : intIface(intIfn), extIface(extIfn), in TetherStats() 46 std::string extIface; variable 57 if (intIface == other.intIface && extIface == other.extIface) { in addStatsIfMatch()
|
D | BandwidthController.cpp | 1126 bool filterPair = filter.intIface[0] && filter.extIface[0]; in addForwardChainStats() 1160 if (filter.intIface[0] && filter.extIface[0]) { in addForwardChainStats() 1161 if (filter.intIface == iface0 && filter.extIface == iface1) { in addForwardChainStats() 1165 } else if (filter.intIface == iface1 && filter.extIface == iface0) { in addForwardChainStats() 1170 } else if (filter.intIface[0] || filter.extIface[0]) { in addForwardChainStats() 1171 if (filter.intIface == iface0 || filter.extIface == iface1) { in addForwardChainStats() 1174 stats.extIface = iface1; in addForwardChainStats() 1177 } else if (filter.intIface == iface1 || filter.extIface == iface0) { in addForwardChainStats() 1180 stats.extIface = iface0; in addForwardChainStats() 1188 stats.extIface = iface1; in addForwardChainStats() [all …]
|
D | CommandListener.cpp | 1155 tetherStats.extIface = argc > 3 ? argv[3] : ""; in runCommand()
|