summaryrefslogtreecommitdiff
path: root/src/networkAddress.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-21 00:07:07 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-21 00:07:07 +0000
commitfd7e04ea8b40270c4181c6910cf4ca1437c68cad (patch)
treeb78eec0f0a75149a6462bd25e7e8ee29b8b95dce /src/networkAddress.h
parentsafer handling of registry functions (diff)
tun mode works now on windows
Diffstat (limited to 'src/networkAddress.h')
-rw-r--r--src/networkAddress.h3
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_;