Searched refs:NETID_UNSET (Results 1 – 9 of 9) sorted by relevance
24 #define NETID_UNSET 0u macro
61 std::atomic_uint netIdForProcess(NETID_UNSET);62 std::atomic_uint netIdForResolv(NETID_UNSET);196 if (netId != NETID_UNSET && FwmarkClient::shouldSetFwmark(domain)) { in netdClientSocket()247 if (netId != NETID_UNSET) { in getNetworkForResolv()251 if ((netIdForResolv & ~NETID_USE_LOCAL_NAMESERVERS) != NETID_UNSET) { in getNetworkForResolv()255 if (netId != NETID_UNSET) { in getNetworkForResolv()265 if (netId == NETID_UNSET) { in setNetworkForTarget()628 unsigned resolvNetId = getNetworkForResolv(NETID_UNSET); in getNetworkForDnsInternal()
141 mDelegateImpl(new NetworkController::DelegateImpl(this)), mDefaultNetId(NETID_UNSET), in NetworkController()175 if (netId != NETID_UNSET) { in setDefaultNetwork()190 if (mDefaultNetId != NETID_UNSET) { in setDefaultNetwork()215 if (*netId == NETID_UNSET && getVirtualNetworkForUserLocked(uid) == nullptr) { in getNetworkForDnsLocked()315 const bool explicitlySelected = (nc.app_netid != NETID_UNSET); in getNetworkContext()345 return NETID_UNSET; in getNetworkForInterfaceLocked()468 mDefaultNetId = NETID_UNSET; in destroyNetwork()501 if (existingNetId != NETID_UNSET && existingNetId != netId) { in addInterfaceToNetwork()810 if (existingNetId == NETID_UNSET) { in modifyRoute()844 if (mDefaultNetId == NETID_UNSET) { in modifyFallthroughLocked()
261 if (command.netId == NETID_UNSET) { in processClient()
90 return NETID_UNSET; in stringToNetId()96 return NETID_UNSET; in stringToNetId()1097 unsigned netId = NETID_UNSET; in runCommand()
480 if (networkId == NETID_UNSET) { in startClatd()
863 fwmark.netId = NETID_UNSET; in modifyDefaultNetwork()
1083 unsigned netId = NETID_UNSET; in networkClearDefault()
145 setNetworkForProcess(NETID_UNSET); in TearDown()3365 EXPECT_TRUE(netdService->networkSetDefault(NETID_UNSET).isOk()); in expectVpnFallthroughWorks()