Home
last modified time | relevance | path

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

/system/netd/server/
DPhysicalNetwork.cpp74 ALOGE("Error closing sockets for netId %d permission change", mNetId); in destroySocketsLackingPermission()
77 if (int ret = sd.destroySocketsLackingPermission(mNetId, permission, in destroySocketsLackingPermission()
80 mNetId, permission, strerror(-ret)); in destroySocketsLackingPermission()
97 if (int ret = RouteController::modifyPhysicalNetworkPermission(mNetId, interface.c_str(), in setPermission()
100 interface.c_str(), mNetId, mPermission, permission); in setPermission()
106 if (int ret = addToDefault(mNetId, interface, permission, mDelegate)) { in setPermission()
109 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in setPermission()
127 if (int ret = addToDefault(mNetId, interface, mPermission, mDelegate)) { in addAsDefault()
140 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in removeAsDefault()
156 if (int ret = RouteController::addInterfaceToPhysicalNetwork(mNetId, interface.c_str(), in addInterface()
[all …]
DVirtualNetwork.cpp59 add ? "adding" : "removing", uidRanges.toString().c_str(), mNetId, strerror(-ret)); in maybeCloseSockets()
70 if (int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addUsers()
72 ALOGE("failed to add users on interface %s of netId %u", interface.c_str(), mNetId); in addUsers()
85 if (int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(), in removeUsers()
87 ALOGE("failed to remove users on interface %s of netId %u", interface.c_str(), mNetId); in removeUsers()
103 if (int ret = RouteController::addInterfaceToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addInterface()
105 ALOGE("failed to add interface %s to VPN netId %u", interface.c_str(), mNetId); in addInterface()
116 if (int ret = RouteController::removeInterfaceFromVirtualNetwork(mNetId, interface.c_str(), in removeInterface()
118 ALOGE("failed to remove interface %s from VPN netId %u", interface.c_str(), mNetId); in removeInterface()
DLocalNetwork.cpp38 if (int ret = RouteController::addInterfaceToLocalNetwork(mNetId, interface.c_str())) { in addInterface()
39 ALOGE("failed to add interface %s to local netId %u", interface.c_str(), mNetId); in addInterface()
50 if (int ret = RouteController::removeInterfaceFromLocalNetwork(mNetId, interface.c_str())) { in removeInterface()
51 ALOGE("failed to remove interface %s from local netId %u", interface.c_str(), mNetId); in removeInterface()
DNetwork.cpp27 ALOGE("deleting network with netId %u without clearing its interfaces", mNetId); in ~Network()
32 return mNetId; in getNetId()
59 repr << mNetId; in toString()
87 Network::Network(unsigned netId) : mNetId(netId) { in Network()
DDnsProxyListener.h103 unsigned mNetId; variable
138 unsigned mNetId; variable
DNetwork.h56 const unsigned mNetId; variable
DDnsProxyListener.cpp379 mNetId(netId), in GetHostByNameHandler()
410 struct hostent* hp = android_gethostbynamefornet(mName, mAf, mNetId, mMark); in run()
458 mNetdEventListener->onDnsEvent(mNetId, INetdEventListener::EVENT_GETHOSTBYNAME, in run()
463 mNetdEventListener->onDnsEvent(mNetId, INetdEventListener::EVENT_GETHOSTBYNAME, in run()
537 mNetId(netId), in GetHostByAddrHandler()
567 hp = android_gethostbyaddrfornet((char*)mAddress, mAddressLen, mAddressFamily, mNetId, mMark); in run()