Searched refs:NETID_UNSET (Results 1 – 13 of 13) sorted by relevance
53 std::atomic_uint netIdForProcess(NETID_UNSET);54 std::atomic_uint netIdForResolv(NETID_UNSET);153 if (netId != NETID_UNSET && FwmarkClient::shouldSetFwmark(domain)) { in netdClientSocket()162 if (netId != NETID_UNSET) { in getNetworkForResolv()166 if ((netIdForResolv & ~NETID_USE_LOCAL_NAMESERVERS) != NETID_UNSET) { in getNetworkForResolv()170 if (netId != NETID_UNSET) { in getNetworkForResolv()180 if (netId == NETID_UNSET) { in setNetworkForTarget()516 unsigned resolvNetId = getNetworkForResolv(NETID_UNSET); in getNetworkForDnsInternal()
24 #define NETID_UNSET 0u macro
142 mDelegateImpl(new NetworkController::DelegateImpl(this)), mDefaultNetId(NETID_UNSET), in NetworkController()160 if (netId != NETID_UNSET) { in setDefaultNetwork()175 if (mDefaultNetId != NETID_UNSET) { in setDefaultNetwork()200 if (*netId == NETID_UNSET && getVirtualNetworkForUserLocked(uid) == nullptr) { in getNetworkForDnsLocked()306 const bool explicitlySelected = (nc.app_netid != NETID_UNSET); in getNetworkContext()336 return NETID_UNSET; in getNetworkForInterfaceLocked()459 mDefaultNetId = NETID_UNSET; in destroyNetwork()492 if (existingNetId != NETID_UNSET && existingNetId != netId) { in addInterfaceToNetwork()787 if (existingNetId == NETID_UNSET) { in modifyRoute()814 if (mDefaultNetId == NETID_UNSET) { in modifyFallthroughLocked()
244 if (command.netId == NETID_UNSET) { in processClient()
90 return NETID_UNSET; in stringToNetId()96 return NETID_UNSET; in stringToNetId()1103 unsigned netId = NETID_UNSET; in runCommand()
425 if (networkId == NETID_UNSET) { in startClatd()
833 fwmark.netId = NETID_UNSET; in modifyDefaultNetwork()
1026 unsigned netId = NETID_UNSET; in networkClearDefault()
45 #define NETID_UNSET 0u macro
142 statp->netid = NETID_UNSET; in res_vinit()
262 .app_netid = NETID_UNSET, in getaddrinfo_numeric()264 .dns_netid = NETID_UNSET, in getaddrinfo_numeric()
1720 ASSERT_EQ(0, setNetworkForResolv(NETID_UNSET)); in TEST_F()3345 ~ScopedSetNetworkForResolv() { EXPECT_EQ(0, setNetworkForResolv(NETID_UNSET)); } in ~ScopedSetNetworkForResolv()3420 setNetworkForProcess(NETID_UNSET); in TEST_F()
131 setNetworkForProcess(NETID_UNSET); in TearDown()3199 EXPECT_TRUE(netdService->networkSetDefault(NETID_UNSET).isOk()); in expectVpnFallthroughWorks()