Home
last modified time | relevance | path

Searched refs:mNetId (Results 1 – 7 of 7) sorted by relevance

/system/netd/server/
DPhysicalNetwork.cpp77 ALOGE("Error closing sockets for netId %d permission change", mNetId); in destroySocketsLackingPermission()
80 if (int ret = sd.destroySocketsLackingPermission(mNetId, permission, in destroySocketsLackingPermission()
83 mNetId, permission, strerror(-ret)); in destroySocketsLackingPermission()
100 if (int ret = RouteController::modifyPhysicalNetworkPermission(mNetId, interface.c_str(), in setPermission()
103 interface.c_str(), mNetId, mPermission, permission); in setPermission()
109 if (int ret = addToDefault(mNetId, interface, permission, mDelegate)) { in setPermission()
112 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in setPermission()
130 if (int ret = addToDefault(mNetId, interface, mPermission, mDelegate)) { in addAsDefault()
143 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in removeAsDefault()
159 if (int ret = RouteController::addInterfaceToPhysicalNetwork(mNetId, interface.c_str(), in addInterface()
[all …]
DVirtualNetwork.cpp62 add ? "adding" : "removing", uidRanges.toString().c_str(), mNetId, strerror(-ret)); in maybeCloseSockets()
73 if (int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addUsers()
75 ALOGE("failed to add users on interface %s of netId %u", interface.c_str(), mNetId); in addUsers()
88 if (int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(), in removeUsers()
90 ALOGE("failed to remove users on interface %s of netId %u", interface.c_str(), mNetId); in removeUsers()
106 if (int ret = RouteController::addInterfaceToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addInterface()
108 ALOGE("failed to add interface %s to VPN netId %u", interface.c_str(), mNetId); in addInterface()
119 if (int ret = RouteController::removeInterfaceFromVirtualNetwork(mNetId, interface.c_str(), in removeInterface()
121 ALOGE("failed to remove interface %s from VPN netId %u", interface.c_str(), mNetId); in removeInterface()
DLocalNetwork.cpp41 if (int ret = RouteController::addInterfaceToLocalNetwork(mNetId, interface.c_str())) { in addInterface()
42 ALOGE("failed to add interface %s to local netId %u", interface.c_str(), mNetId); in addInterface()
53 if (int ret = RouteController::removeInterfaceFromLocalNetwork(mNetId, interface.c_str())) { in removeInterface()
54 ALOGE("failed to remove interface %s from local netId %u", interface.c_str(), mNetId); in removeInterface()
DNetwork.cpp30 ALOGE("deleting network with netId %u without clearing its interfaces", mNetId); in ~Network()
35 return mNetId; in getNetId()
62 repr << mNetId; in toString()
90 Network::Network(unsigned netId) : mNetId(netId) { in Network()
DDnsProxyListener.h104 unsigned mNetId; variable
137 unsigned mNetId; variable
DNetwork.h59 const unsigned mNetId; variable
DDnsProxyListener.cpp423 mNetId(netId), in GetHostByNameHandler()
439 struct hostent* hp = android_gethostbynamefornet(mName, mAf, mNetId, mMark); in run()
487 mNetdEventListener->onDnsEvent(mNetId, INetdEventListener::EVENT_GETHOSTBYNAME, in run()
492 mNetdEventListener->onDnsEvent(mNetId, INetdEventListener::EVENT_GETHOSTBYNAME, in run()
564 mNetId(netId), in GetHostByAddrHandler()
579 hp = android_gethostbyaddrfornet((char*)mAddress, mAddressLen, mAddressFamily, mNetId, mMark); in run()