From ff454b083ca534ef8a21db99a209bd494eaa72b6 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Wed, 27 Feb 2008 19:53:34 +0000 Subject: added networkprefix auto detectio9n of network address --- networkAddress.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'networkAddress.h') diff --git a/networkAddress.h b/networkAddress.h index f20f018..e4f5064 100644 --- a/networkAddress.h +++ b/networkAddress.h @@ -59,14 +59,17 @@ public: network_address_type_t getNetworkAddressType(); bool operator<(const NetworkAddress &s) const; NetworkAddress operator&(const NetworkAddress &s) const; + NetworkAddress operator&=(const NetworkAddress &s); NetworkAddress operator<<(uint8_t shift) const; -private: +protected: Mutex mutex_; in_addr ipv4_address_; in6_addr ipv6_address_; uint64_t ethernet_address_; network_address_type_t network_address_type_; +private: + NetworkAddress operator=(const NetworkAddress &s); }; #endif -- cgit v1.2.3