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

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

Completed in 60 milliseconds