diff options
author | Christian Pointner <equinox@anytun.org> | 2009-01-21 00:07:07 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-01-21 00:07:07 +0000 |
commit | fd7e04ea8b40270c4181c6910cf4ca1437c68cad (patch) | |
tree | b78eec0f0a75149a6462bd25e7e8ee29b8b95dce /src/networkAddress.h | |
parent | safer handling of registry functions (diff) |
tun mode works now on windows
Diffstat (limited to 'src/networkAddress.h')
-rw-r--r-- | src/networkAddress.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/networkAddress.h b/src/networkAddress.h index f866cca..7510eb1 100644 --- a/src/networkAddress.h +++ b/src/networkAddress.h @@ -70,6 +70,9 @@ public: ipv4_bytes_type to_bytes_v4() const; ipv6_bytes_type to_bytes_v6() const; ethernet_bytes_type to_bytes_ethernet() const; + const boost::asio::ip::address_v4& getNetworkAddressV4() const; + const boost::asio::ip::address_v6& getNetworkAddressV6() const; + const u_int64_t getNetworkAdrressEther() const; protected: Mutex mutex_; boost::asio::ip::address_v4 ipv4_address_; |