Searched refs:gCtls (Results 1 – 11 of 11) sorted by relevance
/system/netd/server/ |
D | NetdNativeService.cpp | 208 gCtls->tcpSocketMonitor.dump(dw); in dump() 215 gCtls->trafficCtrl.dump(dw, true); in dump() 222 gCtls->netCtrl.dump(dw); in dump() 225 gCtls->trafficCtrl.dump(dw, false); in dump() 228 gCtls->xfrmCtrl.dump(dw); in dump() 231 gCtls->clatdCtrl.dump(dw); in dump() 234 gCtls->tetherCtrl.dump(dw); in dump() 277 NETD_LOCKING_RPC(gCtls->firewallCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in firewallReplaceUidChain() 278 int err = gCtls->firewallCtrl.replaceUidChain(chainName, isAllowlist, uids); in firewallReplaceUidChain() 284 NETD_LOCKING_RPC(gCtls->bandwidthCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in bandwidthEnableDataSaver() [all …]
|
D | NetdHwService.cpp | 69 int ret = gCtls->netCtrl.createPhysicalOemNetwork(permission, &netId); in createOemNetwork() 92 return toHalStatus(gCtls->netCtrl.destroyNetwork(netId)); in destroyOemNetwork() 110 return toHalStatus(gCtls->netCtrl.addRoute(netId, ifname.c_str(), destination.c_str(), in addRouteToOemNetwork() 121 return toHalStatus(gCtls->netCtrl.removeRoute(netId, ifname.c_str(), destination.c_str(), in removeRouteFromOemNetwork() 130 return toHalStatus(gCtls->netCtrl.addInterfaceToNetwork(netId, ifname.c_str())); in addInterfaceToOemNetwork() 138 return toHalStatus(gCtls->netCtrl.removeInterfaceFromNetwork(netId, ifname.c_str())); in removeInterfaceFromOemNetwork() 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 | main.cpp | 57 using android::net::gCtls; 74 gCtls->netCtrl.getNetworkContext(netId, uid, netcontext); in getNetworkContextCallback() 88 return gCtls->trafficCtrl.tagSocket(sockFd, tag, uid, geteuid()); in tagSocketCallback() 137 gCtls = new android::net::Controllers(); in main() 138 gCtls->init(); in main() 153 auto status = gCtls->wakeupCtrl.init(logListener.get()); in main() 177 FwmarkServer fwmarkServer(&gCtls->netCtrl, &gCtls->eventReporter, &gCtls->trafficCtrl); in main()
|
D | FirewallController.cpp | 44 using android::net::gCtls; 165 return gCtls->trafficCtrl.toggleUidOwnerMap(chain, enable); in enableChildChains() 269 return gCtls->trafficCtrl.changeUidOwnerRule(chain, uid, rule, firewallType); in setUidRule() 357 return gCtls->trafficCtrl.replaceUidOwnerMap(name, isAllowlist, uids); in replaceUidChain()
|
D | NetlinkHandler.cpp | 56 const auto listenerMap = gCtls->eventReporter.getNetdUnsolicitedEventListenerMap(); \ 116 gCtls->trafficCtrl.addInterface(iface, ifaceIndex); in onEvent() 152 gCtls->netCtrl.addInterfaceAddress(ifaceIndex, address); in onEvent() 154 bool shouldDestroy = gCtls->netCtrl.removeInterfaceAddress(ifaceIndex, address); in onEvent()
|
D | Controllers.h | 76 extern Controllers* gCtls;
|
D | NetdConstants.cpp | 39 return android::net::gCtls->iptablesRestoreCtrl.execute(target, commands, output); in execIptablesRestoreWithOutput()
|
D | Controllers.cpp | 312 Controllers* gCtls = nullptr; variable
|
D | BandwidthController.cpp | 77 using android::net::gCtls; 344 Status status = gCtls->trafficCtrl.updateUidOwnerMap(appUids, matchType, op); in manipulateSpecialApps()
|
D | TcpSocketMonitor.cpp | 232 const auto listener = gCtls->eventReporter.getNetdEventListener(); in poll()
|
D | NetworkController.cpp | 943 android::net::gCtls->tcpSocketMonitor.resumePolling(); in updateTcpSocketMonitorPolling() 945 android::net::gCtls->tcpSocketMonitor.suspendPolling(); in updateTcpSocketMonitorPolling()
|