Searched refs:intIface (Results 1 – 8 of 8) sorted by relevance
/system/netd/server/ |
D | TetherController.h | 91 int enableNat(const char* intIface, const char* extIface); 92 int disableNat(const char* intIface, const char* extIface); 101 : intIface(intIfn), extIface(extIfn), in TetherStats() 104 std::string intIface; variable 112 if (intIface == other.intIface && extIface == other.extIface) { in addStatsIfMatch() 150 ForwardingDownstream* findForwardingDownstream(const std::string& intIface, 152 void addForwardingPair(const std::string& intIface, const std::string& extIface); 153 void markForwardingPairDisabled(const std::string& intIface, const std::string& extIface); 155 bool isForwardingPairEnabled(const std::string& intIface, const std::string& extIface); 162 int setForwardRules(bool set, const char *intIface, const char *extIface); [all …]
|
D | TetherController.cpp | 541 int TetherController::enableNat(const char* intIface, const char* extIface) { in enableNat() argument 542 ALOGV("enableNat(intIface=<%s>, extIface=<%s>)",intIface, extIface); in enableNat() 544 if (!isIfaceName(intIface) || !isIfaceName(extIface)) { in enableNat() 549 if (!strcmp(intIface, extIface)) { in enableNat() 550 ALOGE("Duplicate interface specified: %s %s", intIface, extIface); in enableNat() 554 if (isForwardingPairEnabled(intIface, extIface)) { in enableNat() 577 if (setForwardRules(true, intIface, extIface) != 0) { in enableNat() 620 const std::string& intIface, const std::string& extIface) { in findForwardingDownstream() argument 623 if (it->second.iface == intIface) { in findForwardingDownstream() 630 void TetherController::addForwardingPair(const std::string& intIface, const std::string& extIface) { in addForwardingPair() argument [all …]
|
D | TetherControllerTest.cpp | 351 EXPECT_EQ(expected.intIface, actual.intIface); in expectTetherStatsEqual()
|
D | NetdNativeService.h | 238 binder::Status tetherAddForward(const std::string& intIface, 240 binder::Status tetherRemoveForward(const std::string& intIface,
|
D | NetdNativeService.cpp | 1145 binder::Status NetdNativeService::tetherAddForward(const std::string& intIface, in tetherAddForward() argument 1149 int res = gCtls->tetherCtrl.enableNat(intIface.c_str(), extIface.c_str()); in tetherAddForward() 1153 binder::Status NetdNativeService::tetherRemoveForward(const std::string& intIface, in tetherRemoveForward() argument 1156 int res = gCtls->tetherCtrl.disableNat(intIface.c_str(), extIface.c_str()); in tetherRemoveForward()
|
/system/netd/server/aidl/netd/1/android/net/ |
D | INetd.aidl | 89 void tetherAddForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherAddForward() argument 90 void tetherRemoveForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherRemoveForward() argument
|
/system/netd/server/binder/android/net/ |
D | INetd.aidl | 1124 void tetherAddForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherAddForward() argument 1132 void tetherRemoveForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherRemoveForward() argument
|
/system/netd/server/aidl/netd/2/android/net/ |
D | INetd.aidl | 106 void tetherAddForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherAddForward() argument 107 void tetherRemoveForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherRemoveForward() argument
|