return (os);
}
-mac_address_t::mac_address_t(uint8_t b[6])
+mac_address_t::mac_address_t(const uint8_t b[6])
{
std::copy(b, b + 6, std::begin(bytes));
}
return (ethertype_t::UNSPECIFIED);
}
+std::ostream&
+operator<<(std::ostream& os, const counter_t& c)
+{
+ os << "[packets: " << c.packets << " bytes:" << c.bytes << "]";
+ return os;
+}
+
}; // namespace VOM
/*