HomeSort by relevance Sort by last modified time
    Searched refs:intIface (Results 1 - 5 of 5) sorted by null

  /system/netd/server/
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);
NatController.cpp 149 int NatController::enableNat(const char* intIface, const char* extIface) {
150 ALOGV("enableNat(intIface=<%s>, extIface=<%s>)",intIface, extIface);
152 if (!isIfaceName(intIface) || !isIfaceName(extIface)) {
158 if (!strcmp(intIface, extIface)) {
159 ALOGE("Duplicate interface specified: %s %s", intIface, extIface);
194 if (setForwardRules(true, intIface, extIface) != 0) {
239 int NatController::setTetherCountingRules(bool add, const char *intIface, const char *extIface) {
246 asprintf(&pair_name, "%s_%s", intIface, extIface);
254 "-w", "-A", LOCAL_TETHER_COUNTERS_CHAIN, "-i", intIface, "-o", extIface, "-j", "RETURN
    [all...]
BandwidthController.h 40 : intIface(intIfn), extIface(extIfn),
44 std::string intIface;
51 * intIface extIface rx_bytes rx_packets tx_bytes tx_packets
57 if (intIface == other.intIface && extIface == other.extIface) {
180 * stats should never have only intIface initialized. Other 3 combos are ok.
184 * in:intIface out:extIface
185 * in:extIface out:intIface
BandwidthController.cpp     [all...]
CommandListener.cpp 673 // nat enable intiface extiface
674 // nat disable intiface extiface
    [all...]

Completed in 89 milliseconds