Searched refs:gCtls (Results 1 – 11 of 11) sorted by relevance
/system/netd/server/ |
D | NetdNativeService.cpp | 205 gCtls->tcpSocketMonitor.dump(dw); in dump() 212 gCtls->trafficCtrl.dump(dw, true); in dump() 219 gCtls->netCtrl.dump(dw); in dump() 222 gCtls->trafficCtrl.dump(dw, false); in dump() 225 gCtls->xfrmCtrl.dump(dw); in dump() 228 gCtls->clatdCtrl.dump(dw); in dump() 231 gCtls->tetherCtrl.dump(dw); in dump() 274 NETD_LOCKING_RPC(gCtls->firewallCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in firewallReplaceUidChain() 275 int err = gCtls->firewallCtrl.replaceUidChain(chainName, isAllowlist, uids); in firewallReplaceUidChain() 281 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() 132 gCtls = new android::net::Controllers(); in main() 133 gCtls->init(); in main() 148 auto status = gCtls->wakeupCtrl.init(logListener.get()); in main() 172 FwmarkServer fwmarkServer(&gCtls->netCtrl, &gCtls->eventReporter, &gCtls->trafficCtrl); in main()
|
D | FirewallController.cpp | 44 using android::net::gCtls; 57 return gCtls->trafficCtrl.getBpfEnabled(); in getBpfOwnerStatus() 163 return gCtls->trafficCtrl.toggleUidOwnerMap(chain, enable); in enableChildChains() 262 return gCtls->trafficCtrl.changeUidOwnerRule(chain, uid, rule, firewallType); in setUidRule() 350 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 | 307 Controllers* gCtls = nullptr; variable
|
D | BandwidthController.cpp | 76 using android::net::gCtls; 399 Status status = gCtls->trafficCtrl.updateUidOwnerMap(appStrUids, jumpHandling, op); in manipulateSpecialApps()
|
D | TcpSocketMonitor.cpp | 232 const auto listener = gCtls->eventReporter.getNetdEventListener(); in poll()
|
D | NetworkController.cpp | 877 android::net::gCtls->tcpSocketMonitor.resumePolling(); in updateTcpSocketMonitorPolling() 879 android::net::gCtls->tcpSocketMonitor.suspendPolling(); in updateTcpSocketMonitorPolling()
|