Network build fixes and cleanup of remaining internal references to _tap

This commit is contained in:
Adam Ierymenko 2015-04-06 15:47:57 -07:00
parent 488f5bf977
commit a86300c58f
5 changed files with 22 additions and 45 deletions

View file

@ -48,17 +48,6 @@ public:
MAC() throw() : _m(0ULL) {}
MAC(const MAC &m) throw() : _m(m._m) {}
/**
* @param octet Single octet to fill entire MAC with (e.g. 0xff for broadcast)
*/
MAC(const unsigned char octet) throw() :
_m( ((((uint64_t)octet) & 0xffULL) << 40) |
((((uint64_t)octet) & 0xffULL) << 32) |
((((uint64_t)octet) & 0xffULL) << 24) |
((((uint64_t)octet) & 0xffULL) << 16) |
((((uint64_t)octet) & 0xffULL) << 8) |
(((uint64_t)octet) & 0xffULL) ) {}
MAC(const unsigned char a,const unsigned char b,const unsigned char c,const unsigned char d,const unsigned char e,const unsigned char f) throw() :
_m( ((((uint64_t)a) & 0xffULL) << 40) |
((((uint64_t)b) & 0xffULL) << 32) |