Searched defs:intIface (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);
176 if (setForwardRules(true, intIface, extIface) != 0) {
221 int NatController::setTetherCountingRules(bool add, const char *intIface, const char *extIface) { argument
228 asprintf(&pair_name, "%s_%s", intIface, extIface);
240 intIface,
283 setForwardRules(bool add, const char *intIface, const char *extIface) argument
364 disableNat(const char* intIface, const char* extIface) argument
[all...]
H A DBandwidthController.h40 : intIface(intIfn), extIface(extIfn),
44 std::string intIface; member in class:BandwidthController::TetherStats
51 * intIface extIface rx_bytes rx_packets tx_bytes tx_packets
160 * stats should never have only intIface initialized. Other 3 combos are ok.
164 * in:intIface out:extIface
165 * in:extIface out:intIface

Completed in 3332 milliseconds