Home
last modified time | relevance | path

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

/system/netd/server/
DResolverController.cpp46 int ResolverController::setDnsServers(unsigned netId, const char* searchDomains, in setDnsServers()
54 int ResolverController::clearDnsServers(unsigned netId) { in clearDnsServers()
62 int ResolverController::flushDnsCache(unsigned netId) { in flushDnsCache()
72 int ResolverController::getDnsInfo(unsigned netId, std::vector<std::string>* servers, in getDnsInfo()
143 int ResolverController::setResolverConfiguration(int32_t netId, in setResolverConfiguration()
176 int ResolverController::getResolverInfo(int32_t netId, std::vector<std::string>* servers, in getResolverInfo()
199 void ResolverController::dump(DumpWriter& dw, unsigned netId) { in dump()
DNetworkController.cpp154 int NetworkController::setDefaultNetwork(unsigned netId) { in setDefaultNetwork()
191 uint32_t NetworkController::getNetworkForDns(unsigned* netId, uid_t uid) const { in getNetworkForDns()
262 unsigned netId, uid_t uid, struct android_net_context* netcontext) const { in getNetworkContext()
324 int NetworkController::createPhysicalNetwork(unsigned netId, Permission permission) { in createPhysicalNetwork()
348 int NetworkController::createVirtualNetwork(unsigned netId, bool hasDns, bool secure) { in createVirtualNetwork()
367 int NetworkController::destroyNetwork(unsigned netId) { in destroyNetwork()
408 int NetworkController::addInterfaceToNetwork(unsigned netId, const char* interface) { in addInterfaceToNetwork()
424 int NetworkController::removeInterfaceFromNetwork(unsigned netId, const char* interface) { in removeInterfaceFromNetwork()
455 for (unsigned netId : netIds) { in setPermissionForNetworks() local
473 int NetworkController::addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) { in addUsersToNetwork()
[all …]
DPhysicalNetwork.cpp30 WARN_UNUSED_RESULT int addToDefault(unsigned netId, const std::string& interface, in addToDefault()
42 WARN_UNUSED_RESULT int removeFromDefault(unsigned netId, const std::string& interface, in removeFromDefault()
61 PhysicalNetwork::PhysicalNetwork(unsigned netId, PhysicalNetwork::Delegate* delegate) : in PhysicalNetwork()
DRouteController.cpp416 WARN_UNUSED_RESULT int modifyIncomingPacketMark(unsigned netId, const char* interface, in modifyIncomingPacketMark()
478 WARN_UNUSED_RESULT int modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, in modifyVpnSystemPermissionRule()
502 WARN_UNUSED_RESULT int modifyExplicitNetworkRule(unsigned netId, uint32_t table, in modifyExplicitNetworkRule()
553 WARN_UNUSED_RESULT int modifyImplicitNetworkRule(unsigned netId, uint32_t table, in modifyImplicitNetworkRule()
701 WARN_UNUSED_RESULT int modifyLocalNetwork(unsigned netId, const char* interface, bool add) { in modifyLocalNetwork()
709 WARN_UNUSED_RESULT int modifyPhysicalNetwork(unsigned netId, const char* interface, in modifyPhysicalNetwork()
748 WARN_UNUSED_RESULT int modifyVirtualNetwork(unsigned netId, const char* interface, in modifyVirtualNetwork()
934 int RouteController::addInterfaceToLocalNetwork(unsigned netId, const char* interface) { in addInterfaceToLocalNetwork()
938 int RouteController::removeInterfaceFromLocalNetwork(unsigned netId, const char* interface) { in removeInterfaceFromLocalNetwork()
942 int RouteController::addInterfaceToPhysicalNetwork(unsigned netId, const char* interface, in addInterfaceToPhysicalNetwork()
[all …]
DDummyNetwork.cpp30 DummyNetwork::DummyNetwork(unsigned netId) : Network(netId) { in DummyNetwork()
DCommandListener.cpp504 unsigned netId = stringToNetId(argv[3]); in runCommand() local
632 unsigned netId = stringToNetId(argv[2]); in runCommand() local
664 bool CommandListener::ResolverCmd::parseAndExecuteSetNetDns(int netId, int argc, in parseAndExecuteSetNetDns()
1396 unsigned netId = stringToNetId(argv[nextArg++]); in runCommand() local
1421 unsigned netId = stringToNetId(argv[3]); in runCommand() local
1445 unsigned netId = stringToNetId(argv[2]); in runCommand() local
1475 unsigned netId = stringToNetId(argv[2]); in runCommand() local
1489 unsigned netId = NETID_UNSET; in runCommand() local
1567 unsigned netId = stringToNetId(argv[3]); in runCommand() local
DLocalNetwork.cpp27 LocalNetwork::LocalNetwork(unsigned netId) : Network(netId) { in LocalNetwork()
DDnsProxyListener.cpp339 unsigned netId = strtoul(argv[7], NULL, 10); in runCommand() local
397 unsigned netId = strtoul(argv[1], NULL, 10); in runCommand() local
418 SocketClient* c, char* name, int af, unsigned netId, uint32_t mark, const int metricsLevel, in GetHostByNameHandler()
531 unsigned netId = strtoul(argv[4], NULL, 10); in runCommand() local
558 unsigned netId, in GetHostByAddrHandler()
DNetwork.cpp90 Network::Network(unsigned netId) : mNetId(netId) { in Network()
DClatdController.cpp64 unsigned netId = mNetCtrl->getNetworkForInterface(interface); in startClatd() local
DVirtualNetwork.cpp29 VirtualNetwork::VirtualNetwork(unsigned netId, bool hasDns, bool secure) : in VirtualNetwork()
DNetdNativeService.cpp201 binder::Status NetdNativeService::setResolverConfiguration(int32_t netId, in setResolverConfiguration()
215 binder::Status NetdNativeService::getResolverInfo(int32_t netId, in getResolverInfo()
DTetherController.cpp245 int TetherController::setDnsForwarders(unsigned netId, char **servers, int numServers) { in setDnsForwarders()
DXfrmController.h89 int netId; member
DSockDiagTest.cpp288 unsigned netId; member
DSockDiag.cpp397 int SockDiag::destroySocketsLackingPermission(unsigned netId, Permission permission, in destroySocketsLackingPermission()
/system/netd/client/
DNetdClient.cpp112 unsigned netId = netIdForProcess; in netdClientSocket() local
121 unsigned getNetworkForResolv(unsigned netId) { in getNetworkForResolv()
132 int setNetworkForTarget(unsigned netId, std::atomic_uint* target) { in setNetworkForTarget()
187 extern "C" int getNetworkForSocket(unsigned* netId, int socketFd) { in getNetworkForSocket()
204 extern "C" int setNetworkForSocket(unsigned netId, int socketFd) { in setNetworkForSocket()
212 extern "C" int setNetworkForProcess(unsigned netId) { in setNetworkForProcess()
216 extern "C" int setNetworkForResolv(unsigned netId) { in setNetworkForResolv()
236 extern "C" int queryUserAccess(uid_t uid, unsigned netId) { in queryUserAccess()
/system/netd/server/binder/android/net/metrics/
DINetdEventListener.aidl49 void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, String hostname, in onDnsEvent()
62 void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, int port, int uid); in onConnectEvent()
/system/netd/include/
DFwmark.h27 unsigned netId : 16; member
DFwmarkCommand.h64 unsigned netId; // used only in the SELECT_NETWORK command; ignored otherwise. member
/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()