/system/netd/server/ |
D | TetherController.h | 104 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 …]
|
D | TetherController.cpp | 591 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 …]
|
D | TetherControllerTest.cpp | 401 EXPECT_EQ(expected.intIface, actual.intIface); in expectTetherStatsEqual()
|
D | NetdNativeService.h | 136 binder::Status tetherAddForward(const std::string& intIface, 138 binder::Status tetherRemoveForward(const std::string& intIface,
|
D | NetdNativeService.cpp | 1202 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/ |
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/aidl_api/netd_aidl_interface/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
|
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/ |
D | INetd.aidl | 107 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/ |
D | INetd.aidl | 107 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/ |
D | INetd.aidl | 1128 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/ |
D | INetd.aidl | 107 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
|