Home
last modified time | relevance | path

Searched refs:NETID_UNSET (Results 1 – 9 of 9) sorted by relevance

/system/netd/include/
Dnetid_client.h24 #define NETID_UNSET 0u macro
/system/netd/client/
DNetdClient.cpp61 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()
/system/netd/server/
DNetworkController.cpp141 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()
DFwmarkServer.cpp261 if (command.netId == NETID_UNSET) { in processClient()
DNdcDispatcher.cpp90 return NETID_UNSET; in stringToNetId()
96 return NETID_UNSET; in stringToNetId()
1097 unsigned netId = NETID_UNSET; in runCommand()
DClatdController.cpp480 if (networkId == NETID_UNSET) { in startClatd()
DRouteController.cpp863 fwmark.netId = NETID_UNSET; in modifyDefaultNetwork()
DNetdNativeService.cpp1083 unsigned netId = NETID_UNSET; in networkClearDefault()
/system/netd/tests/
Dbinder_test.cpp145 setNetworkForProcess(NETID_UNSET); in TearDown()
3365 EXPECT_TRUE(netdService->networkSetDefault(NETID_UNSET).isOk()); in expectVpnFallthroughWorks()