Home
last modified time | relevance | path

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

/system/netd/server/
DNetdNativeService.cpp234 gCtls->tetherCtrl.dump(dw); in dump()
472 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in tetherApplyDnsInterfaces()
473 *ret = gCtls->tetherCtrl.applyDnsInterfaces(); in tetherApplyDnsInterfaces()
533 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in tetherGetStats()
534 const auto& statsList = gCtls->tetherCtrl.getTetherStats(); in tetherGetStats()
845 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in ipfwdEnabled()
846 *status = (gCtls->tetherCtrl.getIpfwdRequesterList().size() > 0) ? true : false; in ipfwdEnabled()
851 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in ipfwdGetRequesterList()
852 for (const auto& requester : gCtls->tetherCtrl.getIpfwdRequesterList()) { in ipfwdGetRequesterList()
859 NETD_LOCKING_RPC(gCtls->tetherCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in ipfwdEnableForwarding()
[all …]
DNetdHwService.cpp142 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()
DControllers.h45 TetherController tetherCtrl; variable
DControllers.cpp254 tetherCtrl.setupIptablesHooks(); in initIptablesRules()