Home
last modified time | relevance | path

Searched defs:netId (Results 1 – 18 of 18) sorted by relevance

/system/netd/client/
DNetdClient.cpp91 unsigned netId = netIdForProcess; in netdClientSocket() local
100 unsigned getNetworkForResolv(unsigned netId) { in getNetworkForResolv()
111 int setNetworkForTarget(unsigned netId, std::atomic_uint* target) { in setNetworkForTarget()
166 extern "C" int getNetworkForSocket(unsigned* netId, int socketFd) { in getNetworkForSocket()
183 extern "C" int setNetworkForSocket(unsigned netId, int socketFd) { in setNetworkForSocket()
191 extern "C" int setNetworkForProcess(unsigned netId) { in setNetworkForProcess()
195 extern "C" int setNetworkForResolv(unsigned netId) { in setNetworkForResolv()
215 extern "C" int queryUserAccess(uid_t uid, unsigned netId) { in queryUserAccess()
/system/netd/server/
DResolverController.cpp43 int ResolverController::setDnsServers(unsigned netId, const char* searchDomains, in setDnsServers()
51 int ResolverController::clearDnsServers(unsigned netId) { in clearDnsServers()
59 int ResolverController::flushDnsCache(unsigned netId) { in flushDnsCache()
69 int ResolverController::getDnsInfo(unsigned netId, std::vector<std::string>* servers, in getDnsInfo()
140 int ResolverController::setResolverConfiguration(int32_t netId, in setResolverConfiguration()
173 int ResolverController::getResolverInfo(int32_t netId, std::vector<std::string>* servers, in getResolverInfo()
196 void ResolverController::dump(DumpWriter& dw, unsigned netId) { in dump()
DNetworkController.cpp149 int NetworkController::setDefaultNetwork(unsigned netId) { in setDefaultNetwork()
186 uint32_t NetworkController::getNetworkForDns(unsigned* netId, uid_t uid) const { in getNetworkForDns()
257 unsigned netId, uid_t uid, struct android_net_context* netcontext) const { in getNetworkContext()
314 int NetworkController::createPhysicalNetwork(unsigned netId, Permission permission) { in createPhysicalNetwork()
338 int NetworkController::createVirtualNetwork(unsigned netId, bool hasDns, bool secure) { in createVirtualNetwork()
357 int NetworkController::destroyNetwork(unsigned netId) { in destroyNetwork()
398 int NetworkController::addInterfaceToNetwork(unsigned netId, const char* interface) { in addInterfaceToNetwork()
414 int NetworkController::removeInterfaceFromNetwork(unsigned netId, const char* interface) { in removeInterfaceFromNetwork()
445 for (unsigned netId : netIds) { in setPermissionForNetworks() local
465 int NetworkController::addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) { in addUsersToNetwork()
[all …]
DPhysicalNetwork.cpp26 WARN_UNUSED_RESULT int addToDefault(unsigned netId, const std::string& interface, in addToDefault()
38 WARN_UNUSED_RESULT int removeFromDefault(unsigned netId, const std::string& interface, in removeFromDefault()
57 PhysicalNetwork::PhysicalNetwork(unsigned netId, PhysicalNetwork::Delegate* delegate) : in PhysicalNetwork()
DRouteController.cpp454 WARN_UNUSED_RESULT int modifyIncomingPacketMark(unsigned netId, const char* interface, in modifyIncomingPacketMark()
518 WARN_UNUSED_RESULT int modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, in modifyVpnSystemPermissionRule()
542 WARN_UNUSED_RESULT int modifyExplicitNetworkRule(unsigned netId, uint32_t table, in modifyExplicitNetworkRule()
593 WARN_UNUSED_RESULT int modifyImplicitNetworkRule(unsigned netId, uint32_t table, in modifyImplicitNetworkRule()
743 WARN_UNUSED_RESULT int modifyLocalNetwork(unsigned netId, const char* interface, bool add) { in modifyLocalNetwork()
751 WARN_UNUSED_RESULT int modifyPhysicalNetwork(unsigned netId, const char* interface, in modifyPhysicalNetwork()
790 WARN_UNUSED_RESULT int modifyVirtualNetwork(unsigned netId, const char* interface, in modifyVirtualNetwork()
1002 int RouteController::addInterfaceToLocalNetwork(unsigned netId, const char* interface) { in addInterfaceToLocalNetwork()
1006 int RouteController::removeInterfaceFromLocalNetwork(unsigned netId, const char* interface) { in removeInterfaceFromLocalNetwork()
1010 int RouteController::addInterfaceToPhysicalNetwork(unsigned netId, const char* interface, in addInterfaceToPhysicalNetwork()
[all …]
DDummyNetwork.cpp27 DummyNetwork::DummyNetwork(unsigned netId) : Network(netId) { in DummyNetwork()
DLocalNetwork.cpp24 LocalNetwork::LocalNetwork(unsigned netId) : Network(netId) { in LocalNetwork()
DDnsProxyListener.cpp266 unsigned netId = strtoul(argv[7], NULL, 10); in runCommand() local
324 unsigned netId = strtoul(argv[1], NULL, 10); in runCommand() local
346 SocketClient* c, char* name, int af, unsigned netId, uint32_t mark, in GetHostByNameHandler()
439 unsigned netId = strtoul(argv[4], NULL, 10); in runCommand() local
468 unsigned netId, in GetHostByAddrHandler()
DNetwork.cpp87 Network::Network(unsigned netId) : mNetId(netId) { in Network()
DCommandListener.cpp636 unsigned netId = stringToNetId(argv[3]); in runCommand() local
810 unsigned netId = stringToNetId(argv[2]); in runCommand() local
842 bool CommandListener::ResolverCmd::parseAndExecuteSetNetDns(int netId, int argc, in parseAndExecuteSetNetDns()
1574 unsigned netId = stringToNetId(argv[nextArg++]); in runCommand() local
1599 unsigned netId = stringToNetId(argv[3]); in runCommand() local
1623 unsigned netId = stringToNetId(argv[2]); in runCommand() local
1653 unsigned netId = stringToNetId(argv[2]); in runCommand() local
1667 unsigned netId = NETID_UNSET; in runCommand() local
1745 unsigned netId = stringToNetId(argv[3]); in runCommand() local
DNetdNativeService.cpp176 binder::Status NetdNativeService::setResolverConfiguration(int32_t netId, in setResolverConfiguration()
190 binder::Status NetdNativeService::getResolverInfo(int32_t netId, in getResolverInfo()
DClatdController.cpp61 unsigned netId = mNetCtrl->getNetworkForInterface(interface); in startClatd() local
DVirtualNetwork.cpp26 VirtualNetwork::VirtualNetwork(unsigned netId, bool hasDns, bool secure) : in VirtualNetwork()
DTetherController.cpp223 int TetherController::setDnsForwarders(unsigned netId, char **servers, int numServers) { in setDnsForwarders()
/system/netd/server/binder/android/net/metrics/
DIDnsEventListener.aidl29 void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs); in onDnsEvent()
/system/netd/server/binder/android/net/
DINetd.aidl109 void setResolverConfiguration(int netId, in @utf8InCpp String[] servers, in setResolverConfiguration()
146 void getResolverInfo(int netId, out @utf8InCpp String[] servers, in getResolverInfo()
/system/netd/include/
DFwmark.h27 unsigned netId : 16; member
DFwmarkCommand.h32 unsigned netId; // used only in the SELECT_NETWORK command; ignored otherwise. member