Searched refs:mNetId (Results 1 – 7 of 7) sorted by relevance
/system/netd/server/ |
D | PhysicalNetwork.cpp | 77 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 …]
|
D | VirtualNetwork.cpp | 62 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()
|
D | LocalNetwork.cpp | 41 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()
|
D | Network.cpp | 30 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()
|
D | DnsProxyListener.h | 104 unsigned mNetId; variable 137 unsigned mNetId; variable
|
D | Network.h | 59 const unsigned mNetId; variable
|
D | DnsProxyListener.cpp | 423 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()
|