summaryrefslogtreecommitdiff
path: root/osnet/WindowsEthernetTap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'osnet/WindowsEthernetTap.hpp')
-rw-r--r--osnet/WindowsEthernetTap.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/osnet/WindowsEthernetTap.hpp b/osnet/WindowsEthernetTap.hpp
index 71ec2ce2..e5f5e4b2 100644
--- a/osnet/WindowsEthernetTap.hpp
+++ b/osnet/WindowsEthernetTap.hpp
@@ -71,7 +71,6 @@ public:
virtual std::string deviceName() const;
virtual void setFriendlyName(const char *friendlyName);
virtual bool updateMulticastGroups(std::set<MulticastGroup> &groups);
- virtual bool createPseudoDefaultRoute() const;
inline const NET_LUID &luid() const { return _deviceLuid; }
inline const GUID &guid() const { return _deviceGuid; }
@@ -84,9 +83,12 @@ private:
bool _disableTapDevice();
bool _enableTapDevice();
NET_IFINDEX _getDeviceIndex(); // throws on failure
+ std::vector<std::string> _getRegistryIPv4Value(const char *regKey);
+ void _setRegistryIPv4Value(const char *regKey,const std::vector<std::string> &value);
void (*_handler)(void *,const MAC &,const MAC &,unsigned int,const Buffer<4096> &);
void *_arg;
+ uint64_t _nwid;
Thread _thread;
volatile HANDLE _tap;