/system/netd/server/ |
D | ResolverController.cpp | 31 int ResolverController::setDnsServers(unsigned netId, const char* domains, in setDnsServers() 41 int ResolverController::clearDnsServers(unsigned netId) { in clearDnsServers() 49 int ResolverController::flushDnsCache(unsigned netId) { in flushDnsCache()
|
D | NetworkController.cpp | 145 int NetworkController::setDefaultNetwork(unsigned netId) { in setDefaultNetwork() 182 uint32_t NetworkController::getNetworkForDns(unsigned* netId, uid_t uid) const { in getNetworkForDns() 241 unsigned netId, uid_t uid, struct android_net_context* netcontext) const { in getNetworkContext() 280 int NetworkController::createPhysicalNetwork(unsigned netId, Permission permission) { in createPhysicalNetwork() 304 int NetworkController::createVirtualNetwork(unsigned netId, bool hasDns, bool secure) { in createVirtualNetwork() 323 int NetworkController::destroyNetwork(unsigned netId) { in destroyNetwork() 364 int NetworkController::addInterfaceToNetwork(unsigned netId, const char* interface) { in addInterfaceToNetwork() 380 int NetworkController::removeInterfaceFromNetwork(unsigned netId, const char* interface) { in removeInterfaceFromNetwork() 411 for (unsigned netId : netIds) { in setPermissionForNetworks() local 431 int NetworkController::addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) { in addUsersToNetwork() [all …]
|
D | PhysicalNetwork.cpp | 26 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()
|
D | RouteController.cpp | 439 WARN_UNUSED_RESULT int modifyIncomingPacketMark(unsigned netId, const char* interface, in modifyIncomingPacketMark() 503 WARN_UNUSED_RESULT int modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, in modifyVpnSystemPermissionRule() 527 WARN_UNUSED_RESULT int modifyExplicitNetworkRule(unsigned netId, uint32_t table, in modifyExplicitNetworkRule() 578 WARN_UNUSED_RESULT int modifyImplicitNetworkRule(unsigned netId, uint32_t table, in modifyImplicitNetworkRule() 728 WARN_UNUSED_RESULT int modifyLocalNetwork(unsigned netId, const char* interface, bool add) { in modifyLocalNetwork() 736 WARN_UNUSED_RESULT int modifyPhysicalNetwork(unsigned netId, const char* interface, in modifyPhysicalNetwork() 757 WARN_UNUSED_RESULT int modifyVirtualNetwork(unsigned netId, const char* interface, in modifyVirtualNetwork() 969 int RouteController::addInterfaceToLocalNetwork(unsigned netId, const char* interface) { in addInterfaceToLocalNetwork() 973 int RouteController::removeInterfaceFromLocalNetwork(unsigned netId, const char* interface) { in removeInterfaceFromLocalNetwork() 977 int RouteController::addInterfaceToPhysicalNetwork(unsigned netId, const char* interface, in addInterfaceToPhysicalNetwork() [all …]
|
D | DnsProxyListener.cpp | 228 unsigned netId = strtoul(argv[7], NULL, 10); in runCommand() local 292 unsigned netId = strtoul(argv[1], NULL, 10); in runCommand() local 315 unsigned netId, in GetHostByNameHandler() 402 unsigned netId = strtoul(argv[4], NULL, 10); in runCommand() local 431 unsigned netId, in GetHostByAddrHandler()
|
D | DummyNetwork.cpp | 27 DummyNetwork::DummyNetwork(unsigned netId) : Network(netId) { in DummyNetwork()
|
D | LocalNetwork.cpp | 24 LocalNetwork::LocalNetwork(unsigned netId) : Network(netId) { in LocalNetwork()
|
D | Network.cpp | 52 Network::Network(unsigned netId) : mNetId(netId) { in Network()
|
D | CommandListener.cpp | 653 unsigned netId = stringToNetId(argv[3]); in runCommand() local 827 unsigned netId = stringToNetId(argv[2]); in runCommand() local 1597 unsigned netId = stringToNetId(argv[nextArg++]); in runCommand() local 1622 unsigned netId = stringToNetId(argv[3]); in runCommand() local 1646 unsigned netId = stringToNetId(argv[2]); in runCommand() local 1676 unsigned netId = stringToNetId(argv[2]); in runCommand() local 1690 unsigned netId = NETID_UNSET; in runCommand() local 1768 unsigned netId = stringToNetId(argv[3]); in runCommand() local
|
D | ClatdController.cpp | 61 unsigned netId = mNetCtrl->getNetworkForInterface(interface); in startClatd() local
|
D | VirtualNetwork.cpp | 24 VirtualNetwork::VirtualNetwork(unsigned netId, bool hasDns, bool secure) : in VirtualNetwork()
|
D | TetherController.cpp | 224 int TetherController::setDnsForwarders(unsigned netId, char **servers, int numServers) { in setDnsForwarders()
|
/system/netd/client/ |
D | NetdClient.cpp | 91 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/include/ |
D | Fwmark.h | 27 unsigned netId : 16; member
|
D | FwmarkCommand.h | 32 unsigned netId; // used only in the SELECT_NETWORK command; ignored otherwise. member
|