summaryrefslogtreecommitdiff
path: root/node/EthernetTap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/EthernetTap.hpp')
-rw-r--r--node/EthernetTap.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node/EthernetTap.hpp b/node/EthernetTap.hpp
index cff0953b..b4128abd 100644
--- a/node/EthernetTap.hpp
+++ b/node/EthernetTap.hpp
@@ -135,6 +135,11 @@ public:
}
/**
+ * @return Set of IP addresses / netmasks included any we did not assign, link-local, etc.
+ */
+ std::set<InetAddress> allIps() const;
+
+ /**
* Set this tap's IP addresses to exactly this set of IPs
*
* New IPs are created, ones not in this list are removed.
@@ -213,6 +218,7 @@ private:
OVERLAPPED _tapOvlRead,_tapOvlWrite;
char _tapReadBuf[ZT_IF_MTU + 32];
HANDLE _injectSemaphore;
+ GUID _deviceGuid;
std::string _myDeviceInstanceId;
std::queue< std::pair< Array<char,ZT_IF_MTU + 32>,unsigned int > > _injectPending;
Mutex _injectPending_m;