X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FRaw%2FMACAddress.hh;h=d0d5932b4effb794bbd4487a936e41c4ff05855f;hb=9ab6056a616342015eb35d6730d61c45412eec46;hp=12b105ffc2ce229d8755d2438c052248c835d9e7;hpb=0fb5ed1adf2f67dbf47fdfed3f3c8be989cf3618;p=senf.git diff --git a/senf/Socket/Protocols/Raw/MACAddress.hh b/senf/Socket/Protocols/Raw/MACAddress.hh index 12b105f..d0d5932 100644 --- a/senf/Socket/Protocols/Raw/MACAddress.hh +++ b/senf/Socket/Protocols/Raw/MACAddress.hh @@ -36,7 +36,7 @@ #include //#include "MACAddress.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -111,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 @@ -137,9 +137,12 @@ 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//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "MACAddress.cci" #include "MACAddress.ct" //#include "MACAddress.cti"