X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FRaw%2FMACAddress.hh;h=648cb6958b0d5c4ed0c623fe752cca17b903b7b8;hb=cb50871835b7a5c37e4fd32d38de67fa12570ebc;hp=6b3287ddb2e5f76fb7afc48b7346977ad604f90c;hpb=3fe2ed38b800bcb57afff676698462e763724245;p=senf.git diff --git a/senf/Socket/Protocols/Raw/MACAddress.hh b/senf/Socket/Protocols/Raw/MACAddress.hh index 6b3287d..648cb69 100644 --- a/senf/Socket/Protocols/Raw/MACAddress.hh +++ b/senf/Socket/Protocols/Raw/MACAddress.hh @@ -34,7 +34,6 @@ #include #include #include -#include //#include "MACAddress.mpp" ///////////////////////////////hh.p//////////////////////////////////////// @@ -112,7 +111,7 @@ 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 @@ -138,6 +137,9 @@ namespace senf { */ 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////////////////////////////////////////