Home
last modified time | relevance | path

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

/system/netd/server/
DNetdHwService.cpp69 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()
DNetdNativeService.cpp219 gCtls->netCtrl.dump(dw); in dump()
349 int ret = gCtls->netCtrl.createPhysicalNetwork(netId, convertPermission(permission)); in networkCreatePhysical()
355 int ret = gCtls->netCtrl.createVirtualNetwork(netId, secure); in networkCreateVpn()
362 const int ret = gCtls->netCtrl.destroyNetwork(netId); in networkDestroy()
368 int ret = gCtls->netCtrl.addInterfaceToNetwork(netId, iface.c_str()); in networkAddInterface()
374 int ret = gCtls->netCtrl.removeInterfaceFromNetwork(netId, iface.c_str()); in networkRemoveInterface()
382 int ret = gCtls->netCtrl.addUsersToNetwork(netId, UidRanges(uidRangeArray)); in networkAddUidRanges()
390 int ret = gCtls->netCtrl.removeUsersFromNetwork(netId, UidRanges(uidRangeArray)); in networkRemoveUidRanges()
998 int res = gCtls->netCtrl.addRoute(netId, route.ifName.c_str(), route.destination.c_str(), in networkAddRouteParcel()
1012 int res = gCtls->netCtrl.updateRoute(netId, route.ifName.c_str(), route.destination.c_str(), in networkUpdateRouteParcel()
[all …]
Dmain.cpp74 gCtls->netCtrl.getNetworkContext(netId, uid, netcontext); in getNetworkContextCallback()
172 FwmarkServer fwmarkServer(&gCtls->netCtrl, &gCtls->eventReporter, &gCtls->trafficCtrl); in main()
DControllers.h44 NetworkController netCtrl; variable
DNetlinkHandler.cpp152 gCtls->netCtrl.addInterfaceAddress(ifaceIndex, address); in onEvent()
154 bool shouldDestroy = gCtls->netCtrl.removeInterfaceAddress(ifaceIndex, address); in onEvent()
DControllers.cpp195 : clatdCtrl(&netCtrl), in Controllers()