X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FRaw%2FMACAddress.hh;h=fa99fa01e9408d896e2a63c7951fd0338aec8a3b;hb=c74546060360ac6a739a2f2878c72e21e9135390;hp=cc4a6bad361a95fbd6d0fcd7f50f1f954f0c1995;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Socket/Protocols/Raw/MACAddress.hh b/senf/Socket/Protocols/Raw/MACAddress.hh index cc4a6ba..fa99fa0 100644 --- a/senf/Socket/Protocols/Raw/MACAddress.hh +++ b/senf/Socket/Protocols/Raw/MACAddress.hh @@ -32,9 +32,8 @@ #include #include #include -#include "../../../Utils/safe_bool.hh" -#include "../../../Utils/Tags.hh" -#include "../AddressExceptions.hh" +#include +#include //#include "MACAddress.mpp" ///////////////////////////////hh.p//////////////////////////////////////// @@ -45,7 +44,7 @@ namespace senf { /** \brief Ethernet MAC address - The Ethernet MAC is modelled as a fixed-size container/sequence of 6 bytes. A MACAddress can + The Ethernet MAC is modeled as a fixed-size container/sequence of 6 bytes. A MACAddress can be converted from/to the following representations @@ -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//////////////////////////////////////// @@ -146,7 +148,7 @@ namespace senf { //#include "MACAddress.cti" #endif - + // Local Variables: // mode: c++ // fill-column: 100