X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Ftypes.cpp;h=0236df28417d42244a2a3ca65f98590614ffe046;hb=d8cf40b8bb5e00eb8b668f7d762e8eb5267a228a;hp=a67a7f360f96dfb9397cae7a9ccce89f98e0c0a5;hpb=e430b6ec123dbe117b579d8284d7201da635be8d;p=vpp.git diff --git a/extras/vom/vom/types.cpp b/extras/vom/vom/types.cpp index a67a7f360f9..0236df28417 100644 --- a/extras/vom/vom/types.cpp +++ b/extras/vom/vom/types.cpp @@ -324,6 +324,13 @@ ethertype_t::from_numeric_val(uint16_t numeric) 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 /*