src: Implement packet statistics collection
refs: #2955, #2956
Change-Id: I57476a63562dbd378e566ad0280c89ccc5883e3e
diff --git a/src/lsdb.hpp b/src/lsdb.hpp
index 2b182bd..bb0b9d8 100644
--- a/src/lsdb.hpp
+++ b/src/lsdb.hpp
@@ -27,6 +27,14 @@
#include "sequencing-manager.hpp"
#include "test-access-control.hpp"
#include "communication/sync-logic-handler.hpp"
+#include "statistics.hpp"
+
+#include <ndn-cxx/security/key-chain.hpp>
+#include <ndn-cxx/util/signal.hpp>
+#include <ndn-cxx/util/time.hpp>
+
+#include <utility>
+#include <boost/cstdint.hpp>
#include <utility>
#include <boost/cstdint.hpp>
@@ -374,6 +382,8 @@
public:
static const ndn::Name::Component NAME_COMPONENT;
+ ndn::util::signal::Signal<Lsdb, Statistics::PacketType> lsaIncrementSignal;
+
private:
Nlsr& m_nlsr;
ndn::Scheduler& m_scheduler;