Refactor: move network COMs out of Network and into Peer in prep for tightening up multicast lookup and other things.
This commit is contained in:
parent
11ff96ba1d
commit
a3db7d0728
11 changed files with 289 additions and 215 deletions
|
@ -122,14 +122,6 @@ public:
|
|||
*/
|
||||
inline operator bool() const throw() { return (_addr); }
|
||||
|
||||
// Comparisons are by address only
|
||||
inline bool operator==(const Path &p) const throw() { return (_addr == p._addr); }
|
||||
inline bool operator!=(const Path &p) const throw() { return (_addr != p._addr); }
|
||||
inline bool operator<(const Path &p) const throw() { return (_addr < p._addr); }
|
||||
inline bool operator>(const Path &p) const throw() { return (_addr > p._addr); }
|
||||
inline bool operator<=(const Path &p) const throw() { return (_addr <= p._addr); }
|
||||
inline bool operator>=(const Path &p) const throw() { return (_addr >= p._addr); }
|
||||
|
||||
/**
|
||||
* Check whether this address is valid for a ZeroTier path
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue