Home
last modified time | relevance | path

Searched refs:intIface (Results 1 – 11 of 11) sorted by relevance

/system/netd/server/
DTetherController.h104 int enableNat(const char* intIface, const char* extIface);
105 int disableNat(const char* intIface, const char* extIface);
119 : intIface(intIfn), extIface(extIfn), in TetherStats()
122 std::string intIface; variable
130 if (intIface == other.intIface && extIface == other.extIface) { in addStatsIfMatch()
183 ForwardingDownstream* findForwardingDownstream(const std::string& intIface,
185 void addForwardingPair(const std::string& intIface, const std::string& extIface);
186 void markForwardingPairDisabled(const std::string& intIface, const std::string& extIface);
188 bool isForwardingPairEnabled(const std::string& intIface, const std::string& extIface);
195 int setForwardRules(bool set, const char *intIface, const char *extIface);
[all …]
DTetherController.cpp591 int TetherController::enableNat(const char* intIface, const char* extIface) { in enableNat() argument
592 ALOGV("enableNat(intIface=<%s>, extIface=<%s>)",intIface, extIface); in enableNat()
594 if (!isIfaceName(intIface) || !isIfaceName(extIface)) { in enableNat()
599 if (!strcmp(intIface, extIface)) { in enableNat()
600 ALOGE("Duplicate interface specified: %s %s", intIface, extIface); in enableNat()
604 if (isForwardingPairEnabled(intIface, extIface)) { in enableNat()
628 if (setForwardRules(true, intIface, extIface) != 0) { in enableNat()
672 const std::string& intIface, const std::string& extIface) { in findForwardingDownstream() argument
675 if (it->second.iface == intIface) { in findForwardingDownstream()
682 void TetherController::addForwardingPair(const std::string& intIface, const std::string& extIface) { in addForwardingPair() argument
[all …]
DTetherControllerTest.cpp401 EXPECT_EQ(expected.intIface, actual.intIface); in expectTetherStatsEqual()
DNetdNativeService.h136 binder::Status tetherAddForward(const std::string& intIface,
138 binder::Status tetherRemoveForward(const std::string& intIface,
DNetdNativeService.cpp1202 binder::Status NetdNativeService::tetherAddForward(const std::string& intIface, in tetherAddForward() argument
1206 int res = gCtls->tetherCtrl.enableNat(intIface.c_str(), extIface.c_str()); in tetherAddForward()
1210 binder::Status NetdNativeService::tetherRemoveForward(const std::string& intIface, in tetherRemoveForward() argument
1213 int res = gCtls->tetherCtrl.disableNat(intIface.c_str(), extIface.c_str()); in tetherRemoveForward()
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/
DINetd.aidl89 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/aidl_api/netd_aidl_interface/2/android/net/
DINetd.aidl106 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
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/
DINetd.aidl107 void tetherAddForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherAddForward() argument
108 void tetherRemoveForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherRemoveForward() argument
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DINetd.aidl107 void tetherAddForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherAddForward() argument
108 void tetherRemoveForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherRemoveForward() argument
/system/netd/server/binder/android/net/
DINetd.aidl1128 void tetherAddForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherAddForward() argument
1136 void tetherRemoveForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherRemoveForward() argument
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/
DINetd.aidl107 void tetherAddForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherAddForward() argument
108 void tetherRemoveForward(in @utf8InCpp String intIface, in @utf8InCpp String extIface); in tetherRemoveForward() argument