#include <boost/type_traits.hpp>
#include <senf/Utils/safe_bool.hh>
#include <senf/Utils/Tags.hh>
-#include <senf/Socket/Protocols/AddressExceptions.hh>
//#include "MACAddress.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
to a MAC address. This conversion is only possible, if
the EUI-64 is MAC compatible: the 4th/5th byte (in
transmission order) must be 0xFFFE.
- \throws AddressSyntaxException if \a v is not a MAC
+ \throws AddressSyntaxException if \a eui is not a MAC
compatible EUI-64. */
bool local() const; ///< \c true, if address is locally administered
*/
std::istream & operator>>(std::istream & os, MACAddress & mac);
+ bool operator==(MACAddress const & mac, EUI64 const & eui64);
+ bool operator==(EUI64 const & eui64, MACAddress const & mac);
+
}
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#include "MACAddress.cci"
#include "MACAddress.ct"
//#include "MACAddress.cti"