Searched refs:tetherCtrl (Results 1 – 4 of 4) sorted by relevance
/system/netd/server/ |
D | NetdNativeService.cpp | 231 gCtls->tetherCtrl.dump(dw); in dump() 434 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in tetherApplyDnsInterfaces() 435 *ret = gCtls->tetherCtrl.applyDnsInterfaces(); in tetherApplyDnsInterfaces() 495 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in tetherGetStats() 496 const auto& statsList = gCtls->tetherCtrl.getTetherStats(); in tetherGetStats() 807 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in ipfwdEnabled() 808 *status = (gCtls->tetherCtrl.getIpfwdRequesterList().size() > 0) ? true : false; in ipfwdEnabled() 813 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in ipfwdGetRequesterList() 814 for (const auto& requester : gCtls->tetherCtrl.getIpfwdRequesterList()) { in ipfwdGetRequesterList() 821 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in ipfwdEnableForwarding() [all …]
|
D | NetdHwService.cpp | 142 std::lock_guard _lock(gCtls->tetherCtrl.lock); in setIpForwardEnable() 144 bool success = enable ? gCtls->tetherCtrl.enableForwarding(FORWARDING_REQUESTER) : in setIpForwardEnable() 145 gCtls->tetherCtrl.disableForwarding(FORWARDING_REQUESTER); in setIpForwardEnable() 152 std::lock_guard _lock(gCtls->tetherCtrl.lock); in setForwardingBetweenInterfaces()
|
D | Controllers.h | 45 TetherController tetherCtrl; variable
|
D | Controllers.cpp | 254 tetherCtrl.setupIptablesHooks(); in initIptablesRules()
|