Lines Matching refs:netCtrl
219 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()
1030 int res = gCtls->netCtrl.addRoute(netId, ifName.c_str(), destination.c_str(), in networkAddRoute()
1041 int res = gCtls->netCtrl.removeRoute(netId, ifName.c_str(), destination.c_str(), in networkRemoveRoute()
1051 int res = gCtls->netCtrl.addRoute(netId, ifName.c_str(), destination.c_str(), in networkAddLegacyRoute()
1063 int res = gCtls->netCtrl.removeRoute(netId, ifName.c_str(), destination.c_str(), in networkRemoveLegacyRoute()
1071 *netId = gCtls->netCtrl.getDefaultNetwork(); in networkGetDefault()
1077 int res = gCtls->netCtrl.setDefaultNetwork(netId); in networkSetDefault()
1084 int res = gCtls->netCtrl.setDefaultNetwork(netId); in networkClearDefault()
1107 int res = gCtls->netCtrl.setPermissionForNetworks(convertPermission(permission), netIds); in networkSetPermissionForNetwork()
1114 gCtls->netCtrl.setPermissionForUsers(convertPermission(permission), intsToUids(uids)); in networkSetPermissionForUser()
1121 gCtls->netCtrl.setPermissionForUsers(permission, intsToUids(uids)); in networkClearPermissionForUser()
1128 gCtls->netCtrl.allowProtect(uids); in networkSetProtectAllow()
1135 gCtls->netCtrl.denyProtect(uids); in networkSetProtectDeny()
1141 *ret = gCtls->netCtrl.canProtect((uid_t) uid); in networkCanProtect()