Lines Matching refs:netCtrl
166 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()
340 int ret = gCtls->netCtrl.removeUsersFromNetwork(netId, UidRanges(uidRangeArray), in networkRemoveUidRanges()
347 int ret = gCtls->netCtrl.addUsersToNetwork(config.netId, UidRanges(config.uidRanges), in networkAddUidRangesParcel()
354 int ret = gCtls->netCtrl.removeUsersFromNetwork(config.netId, UidRanges(config.uidRanges), in networkRemoveUidRangesParcel()
966 int res = gCtls->netCtrl.addRoute(netId, route.ifName.c_str(), route.destination.c_str(), in networkAddRouteParcel()
980 int res = gCtls->netCtrl.updateRoute(netId, route.ifName.c_str(), route.destination.c_str(), in networkUpdateRouteParcel()
998 int res = gCtls->netCtrl.addRoute(netId, ifName.c_str(), destination.c_str(), in networkAddRoute()
1009 int res = gCtls->netCtrl.removeRoute(netId, ifName.c_str(), destination.c_str(), in networkRemoveRoute()
1019 int res = gCtls->netCtrl.addRoute(netId, ifName.c_str(), destination.c_str(), in networkAddLegacyRoute()
1031 int res = gCtls->netCtrl.removeRoute(netId, ifName.c_str(), destination.c_str(), in networkRemoveLegacyRoute()
1039 *netId = gCtls->netCtrl.getDefaultNetwork(); in networkGetDefault()
1045 int res = gCtls->netCtrl.setDefaultNetwork(netId); in networkSetDefault()
1052 int res = gCtls->netCtrl.setDefaultNetwork(netId); in networkClearDefault()
1075 int res = gCtls->netCtrl.setPermissionForNetworks(convertPermission(permission), netIds); in networkSetPermissionForNetwork()
1082 gCtls->netCtrl.setPermissionForUsers(convertPermission(permission), intsToUids(uids)); in networkSetPermissionForUser()
1089 gCtls->netCtrl.setPermissionForUsers(permission, intsToUids(uids)); in networkClearPermissionForUser()
1095 gCtls->netCtrl.allowProtect((uid_t)uid, NETID_UNSET); in networkSetProtectAllow()
1101 gCtls->netCtrl.denyProtect((uid_t)uid, NETID_UNSET); in networkSetProtectDeny()
1107 *ret = gCtls->netCtrl.canProtect((uid_t)uid, NETID_UNSET); in networkCanProtect()
1116 err = gCtls->netCtrl.allowProtect((uid_t)uid, netId); in networkAllowBypassVpnOnNetwork()
1118 err = gCtls->netCtrl.denyProtect((uid_t)uid, netId); in networkAllowBypassVpnOnNetwork()
1242 return statusFromErrcode(gCtls->netCtrl.setNetworkAllowlist(rangeConfigs)); in setNetworkAllowlist()