Searched refs:mNetId (Results 1 – 5 of 5) sorted by relevance
/system/netd/server/ |
D | PhysicalNetwork.cpp | 78 ALOGE("Error closing sockets for netId %d permission change", mNetId); in destroySocketsLackingPermission() 81 if (int ret = sd.destroySocketsLackingPermission(mNetId, permission, in destroySocketsLackingPermission() 84 mNetId, permission, strerror(-ret)); in destroySocketsLackingPermission() 113 if (int ret = RouteController::modifyPhysicalNetworkPermission(mNetId, interface.c_str(), in setPermission() 116 interface.c_str(), mNetId, mPermission, permission); in setPermission() 123 if (int ret = addToDefault(mNetId, interface, permission, mDelegate)) { in setPermission() 126 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in setPermission() 144 if (int ret = addToDefault(mNetId, interface, mPermission, mDelegate)) { in addAsDefault() 157 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in removeAsDefault() 173 if (int ret = RouteController::addInterfaceToPhysicalNetwork(mNetId, interface.c_str(), in addInterface() [all …]
|
D | VirtualNetwork.cpp | 57 add ? "adding" : "removing", uidRanges.toString().c_str(), mNetId, strerror(-ret)); in maybeCloseSockets() 68 if (int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addUsers() 70 ALOGE("failed to add users on interface %s of netId %u", interface.c_str(), mNetId); in addUsers() 83 if (int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(), in removeUsers() 85 ALOGE("failed to remove users on interface %s of netId %u", interface.c_str(), mNetId); in removeUsers() 101 if (int ret = RouteController::addInterfaceToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addInterface() 103 ALOGE("failed to add interface %s to VPN netId %u", interface.c_str(), mNetId); in addInterface() 114 if (int ret = RouteController::removeInterfaceFromVirtualNetwork(mNetId, interface.c_str(), in removeInterface() 116 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 | Network.h | 59 const unsigned mNetId; variable
|