28 : tx_packets_(0), tx_bytes_(0), rx_packets_(0), rx_bytes_(0), drops_(0) {}
29 std::atomic<uint64_t> tx_packets_;
30 std::atomic<uint64_t> tx_bytes_;
31 std::atomic<uint64_t> rx_packets_;
32 std::atomic<uint64_t> rx_bytes_;
33 std::atomic<uint64_t> drops_;
38 : tx_packets_(0), tx_bytes_(0), rx_packets_(0), rx_bytes_(0), drops_(0) {}
39 std::uint64_t tx_packets_;
40 std::uint64_t tx_bytes_;
41 std::uint64_t rx_packets_;
42 std::uint64_t rx_bytes_;
46 using TableEntry = std::tuple<std::string, std::uint64_t, std::uint64_t,
47 std::uint64_t, std::uint64_t, std::uint64_t>;
48 using StatisticTable = std::vector<TableEntry>;