From fbbc61cc250a6c15c7ab741bc4cb9be063f497fd Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Sun, 4 Nov 2007 19:22:40 +0000 Subject: addres set and < operator --- networkAddress.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'networkAddress.h') diff --git a/networkAddress.h b/networkAddress.h index 59430e5..cbb483d 100644 --- a/networkAddress.h +++ b/networkAddress.h @@ -34,6 +34,10 @@ #include "threadUtils.hpp" #include "datatypes.h" +#include +#include +#include + enum network_address_type_t { ipv4, @@ -53,7 +57,9 @@ public: private: bool operator<(const NetworkAddress &s) const; Mutex mutex_; - uint8_t address_length_; + in_addr ipv4_address_; + in6_addr ipv6_address_; + uint64_t ethernet_address_; network_address_type_t network_address_type_; }; -- cgit v1.2.3