Searched refs:mNetId (Results 1 – 6 of 6) sorted by relevance
/system/netd/server/ |
D | PhysicalNetwork.cpp | 74 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() 109 if (int ret = RouteController::modifyPhysicalNetworkPermission(mNetId, interface.c_str(), in setPermission() 112 interface.c_str(), mNetId, mPermission, permission); in setPermission() 119 if (int ret = addToDefault(mNetId, interface, permission, mDelegate)) { in setPermission() 122 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in setPermission() 140 if (int ret = addToDefault(mNetId, interface, mPermission, mDelegate)) { in addAsDefault() 153 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in removeAsDefault() 167 int ret = RouteController::addUsersToPhysicalNetwork(mNetId, interface.c_str(), in addUsers() [all …]
|
D | VirtualNetwork.cpp | 40 int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addUsers() 43 ALOGE("failed to add users on interface %s of netId %u", interface.c_str(), mNetId); in addUsers() 55 int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(), mSecure, in removeUsers() 58 ALOGE("failed to remove users on interface %s of netId %u", interface.c_str(), mNetId); in removeUsers() 70 if (int ret = RouteController::addInterfaceToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addInterface() 72 ALOGE("failed to add interface %s to VPN netId %u", interface.c_str(), mNetId); in addInterface() 83 if (int ret = RouteController::removeInterfaceFromVirtualNetwork(mNetId, interface.c_str(), in removeInterface() 85 ALOGE("failed to remove interface %s from VPN netId %u", interface.c_str(), mNetId); in removeInterface()
|
D | LocalNetwork.cpp | 38 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()
|
D | Network.cpp | 32 ALOGE("deleting network with netId %u without clearing its interfaces", mNetId); in ~Network() 37 return mNetId; in getNetId() 64 repr << mNetId << kSeparator << getTypeString(); in toString() 139 Network::Network(unsigned netId, bool secure) : mNetId(netId), mSecure(secure) {} in Network()
|
D | UnreachableNetwork.cpp | 34 int ret = RouteController::addUsersToUnreachableNetwork(mNetId, {{subPriority, uidRanges}}); in addUsers() 47 RouteController::removeUsersFromUnreachableNetwork(mNetId, {{subPriority, uidRanges}}); in removeUsers()
|
D | Network.h | 70 const unsigned mNetId; variable
|