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

/system/netd/server/
H A DNatController.cpp139 int NatController::enableNat(const char* intIface, const char* extIface) { argument
140 ALOGV("enableNat(intIface=<%s>, extIface=<%s>)",intIface, extIface);
142 if (!isIfaceName(intIface) || !isIfaceName(extIface)) {
148 if (!strcmp(intIface, extIface)) {
149 ALOGE("Duplicate interface specified: %s %s", intIface, extIface);
163 extIface,
168 ALOGE("Error setting postroute rule: iface=%s", extIface);
175 if (setForwardRules(true, intIface, extIface) != 0) {
202 if (int ret = RouteController::enableTethering(intIface, extIface)) {
227 setTetherCountingRules(bool add, const char *intIface, const char *extIface) argument
287 setForwardRules(bool add, const char *intIface, const char *extIface) argument
365 disableNat(const char* intIface, const char* extIface) argument
[all...]
H A DBandwidthController.h35 : intIface(intIfn), extIface(extIfn),
41 std::string extIface; member in class:BandwidthController::TetherStats
46 * intIface extIface rx_bytes rx_packets tx_bytes tx_packets
161 * in:intIface out:extIface
162 * in:extIface out:intIface

Completed in 63 milliseconds