Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vxlan: vxlan/vxlan.api API cleanup
[vpp.git]
/
extras
/
vom
/
vom
/
types.cpp
diff --git
a/extras/vom/vom/types.cpp
b/extras/vom/vom/types.cpp
index
a67a7f3
..
0236df2
100644
(file)
--- 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
/*