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);
175 if (setForwardRules(true, intIface, extIface) != 0) {
202 if (int ret = RouteController::enableTethering(intIface, extIface)) {
203 ALOGE("failed to add tethering rule for iif=%s oif=%s", intIface, extIface);
227 int NatController::setTetherCountingRules(bool add, const char *intIface, cons 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),
39 std::string intIface; member in class:BandwidthController::TetherStats
46 * intIface extIface rx_bytes rx_packets tx_bytes tx_packets
157 * stats should never have only intIface initialized. Other 3 combos are ok.
161 * in:intIface out:extIface
162 * in:extIface out:intIface

Completed in 1216 milliseconds