Searched refs:Network (Results 1 – 14 of 14) sorted by relevance
22 Network::~Network() { in ~Network()28 unsigned Network::getNetId() const { in getNetId()32 bool Network::hasInterface(const std::string& interface) const { in hasInterface()36 const std::set<std::string>& Network::getInterfaces() const { in getInterfaces()40 int Network::clearInterfaces() { in clearInterfaces()52 Network::Network(unsigned netId) : mNetId(netId) { in Network() function in Network
125 if (entry.second->getType() == Network::VIRTUAL) { in modifyFallthrough()153 Network* network = getNetworkLocked(netId); in setDefaultNetwork()158 if (network->getType() != Network::PHYSICAL) { in setDefaultNetwork()168 Network* network = getNetworkLocked(mDefaultNetId); in setDefaultNetwork()169 if (!network || network->getType() != Network::PHYSICAL) { in setDefaultNetwork()276 Network* network = getNetworkLocked(netId); in isVirtualNetwork()277 return network && network->getType() == Network::VIRTUAL; in isVirtualNetwork()336 Network* network = getNetworkLocked(netId); in destroyNetwork()351 } else if (network->getType() == Network::VIRTUAL) { in destroyNetwork()412 Network* network = getNetworkLocked(netId); in setPermissionForNetworks()[all …]
26 class Network {38 virtual ~Network();52 explicit Network(unsigned netId);
27 DummyNetwork::DummyNetwork(unsigned netId) : Network(netId) { in DummyNetwork()34 Network::Type DummyNetwork::getType() const { in getType()
24 LocalNetwork::LocalNetwork(unsigned netId) : Network(netId) { in LocalNetwork()30 Network::Type LocalNetwork::getType() const { in getType()
31 class Network; variable95 Network* getNetworkLocked(unsigned netId) const;110 std::map<unsigned, Network*> mNetworks; // Map keys are NetIds.
25 Network(netId), mHasDns(hasDns), mSecure(secure) { in VirtualNetwork()67 Network::Type VirtualNetwork::getType() const { in getType()
22 class LocalNetwork : public Network {
22 class DummyNetwork : public Network {
58 Network(netId), mDelegate(delegate), mPermission(PERMISSION_NONE), mIsDefault(false) { in PhysicalNetwork()120 Network::Type PhysicalNetwork::getType() const { in getType()
30 class VirtualNetwork : public Network {
23 class PhysicalNetwork : public Network {
63 Network.cpp \
1 Network Ports