Home
last modified time | relevance | path

Searched refs:netCtrl (Results 1 – 6 of 6) sorted by relevance

/system/netd/server/
DNetdHwService.cpp64 int ret = gCtls->netCtrl.createPhysicalOemNetwork(permission, &netId); in createOemNetwork()
87 return toHalStatus(gCtls->netCtrl.destroyNetwork(netId)); in destroyOemNetwork()
105 return toHalStatus(gCtls->netCtrl.addRoute(netId, ifname.c_str(), destination.c_str(), in addRouteToOemNetwork()
116 return toHalStatus(gCtls->netCtrl.removeRoute(netId, ifname.c_str(), destination.c_str(), in removeRouteFromOemNetwork()
125 return toHalStatus(gCtls->netCtrl.addInterfaceToNetwork(netId, ifname.c_str())); in addInterfaceToOemNetwork()
133 return toHalStatus(gCtls->netCtrl.removeInterfaceFromNetwork(netId, ifname.c_str())); in removeInterfaceFromOemNetwork()
DNetdHwAidlService.cpp72 int ret = gCtls->netCtrl.createPhysicalOemNetwork(permission, &netId); in createOemNetwork()
98 auto ret = toHalStatus(gCtls->netCtrl.destroyNetwork(netId)); in destroyOemNetwork()
122 auto ret = gCtls->netCtrl.addRoute(netId, ifname.c_str(), destination.c_str(), in addRouteToOemNetwork()
138 auto ret = gCtls->netCtrl.removeRoute(netId, ifname.c_str(), destination.c_str(), in removeRouteFromOemNetwork()
152 auto ret = gCtls->netCtrl.addInterfaceToNetwork(netId, ifname.c_str()); in addInterfaceToOemNetwork()
165 auto ret = gCtls->netCtrl.removeInterfaceFromNetwork(netId, ifname.c_str()); in removeInterfaceFromOemNetwork()
DNetdNativeService.cpp166 gCtls->netCtrl.dump(dw); in dump()
275 int ret = gCtls->netCtrl.createPhysicalNetwork(netId, convertPermission(permission), in networkCreatePhysical()
287 int ret = gCtls->netCtrl.createVirtualNetwork(netId, secure, NativeVpnType::LEGACY, in networkCreateVpn()
296 ret = gCtls->netCtrl.createPhysicalNetwork( in networkCreate()
299 ret = gCtls->netCtrl.createPhysicalNetwork( in networkCreate()
302 ret = gCtls->netCtrl.createVirtualNetwork(config.netId, config.secure, config.vpnType, in networkCreate()
311 const int ret = gCtls->netCtrl.destroyNetwork(netId); in networkDestroy()
317 int ret = gCtls->netCtrl.addInterfaceToNetwork(netId, iface.c_str()); in networkAddInterface()
323 int ret = gCtls->netCtrl.removeInterfaceFromNetwork(netId, iface.c_str()); in networkRemoveInterface()
331 int ret = gCtls->netCtrl.addUsersToNetwork(netId, UidRanges(uidRangeArray), in networkAddUidRanges()
[all …]
Dmain.cpp81 gCtls->netCtrl.getNetworkContext(netId, uid, netcontext); in getNetworkContextCallback()
100 if (!gCtls->netCtrl.isUidAllowed(netcontext.app_netid, netcontext.uid)) { in evaluateDomainNameCallback()
193 FwmarkServer fwmarkServer(&gCtls->netCtrl, &gCtls->eventReporter); in main()
DControllers.h42 NetworkController netCtrl; variable
DNetlinkHandler.cpp143 gCtls->netCtrl.addInterfaceAddress(ifaceIndex, address); in onEvent()
145 bool shouldDestroy = gCtls->netCtrl.removeInterfaceAddress(ifaceIndex, address); in onEvent()