Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
VOM: stats fixes
[vpp.git]
/
extras
/
vom
/
vom
/
types.hpp
diff --git
a/extras/vom/vom/types.hpp
b/extras/vom/vom/types.hpp
index
ab21408
..
e3b21ad
100644
(file)
--- a/
extras/vom/vom/types.hpp
+++ b/
extras/vom/vom/types.hpp
@@
-378,6
+378,17
@@
struct l2_address_t
std::vector<uint8_t> bytes;
};
+struct counter_t
+{
+ counter_t()
+ : packets(0)
+ , bytes(0)
+ {
+ }
+ uint64_t packets;
+ uint64_t bytes;
+};
+
/**
* Ostream operator for a MAC address
*/