diff options
Diffstat (limited to 'extras/vom/vom/types.hpp')
-rw-r--r-- | extras/vom/vom/types.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extras/vom/vom/types.hpp b/extras/vom/vom/types.hpp index ab214085d16..e3b21add045 100644 --- 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 */ |