Home
last modified time | relevance | path

Searched refs:tetherCtrl (Results 1 – 4 of 4) sorted by relevance

/system/netd/server/
DNetdNativeService.cpp413 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in tetherApplyDnsInterfaces()
414 *ret = gCtls->tetherCtrl.applyDnsInterfaces(); in tetherApplyDnsInterfaces()
471 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in tetherGetStats()
472 const auto& statsList = gCtls->tetherCtrl.getTetherStats(); in tetherGetStats()
792 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in ipfwdEnabled()
793 *status = (gCtls->tetherCtrl.getIpfwdRequesterList().size() > 0) ? true : false; in ipfwdEnabled()
798 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in ipfwdGetRequesterList()
799 for (const auto& requester : gCtls->tetherCtrl.getIpfwdRequesterList()) { in ipfwdGetRequesterList()
806 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in ipfwdEnableForwarding()
807 int res = (gCtls->tetherCtrl.enableForwarding(requester.c_str())) ? 0 : -EREMOTEIO; in ipfwdEnableForwarding()
[all …]
DNetdHwService.cpp141 std::lock_guard _lock(gCtls->tetherCtrl.lock); in setIpForwardEnable()
143 bool success = enable ? gCtls->tetherCtrl.enableForwarding(FORWARDING_REQUESTER) : in setIpForwardEnable()
144 gCtls->tetherCtrl.disableForwarding(FORWARDING_REQUESTER); in setIpForwardEnable()
151 std::lock_guard _lock(gCtls->tetherCtrl.lock); in setForwardingBetweenInterfaces()
DControllers.h45 TetherController tetherCtrl; variable
DControllers.cpp253 tetherCtrl.setupIptablesHooks(); in initIptablesRules()