diff options
Diffstat (limited to 'node/MAC.hpp')
-rw-r--r-- | node/MAC.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/node/MAC.hpp b/node/MAC.hpp index 442a7a2e..a9cd43cf 100644 --- a/node/MAC.hpp +++ b/node/MAC.hpp @@ -242,12 +242,20 @@ public: */ inline unsigned int size() const throw() { return 6; } + inline unsigned long hashCode() const throw() { return (unsigned long)_m; } + inline MAC &operator=(const MAC &m) throw() { _m = m._m; return *this; } + inline MAC &operator=(const uint64_t m) + throw() + { + _m = m; + return *this; + } inline bool operator==(const MAC &m) const throw() { return (_m == m._m); } inline bool operator!=(const MAC &m) const throw() { return (_m != m._m); } |