NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
forwarder-counters.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26 #ifndef NFD_DAEMON_FW_FORWARDER_COUNTERS_HPP
27 #define NFD_DAEMON_FW_FORWARDER_COUNTERS_HPP
28 
29 #include "face/face-counters.hpp"
30 
31 namespace nfd {
32 
36 {
37 public:
41  template<typename R>
42  void
43  copyTo(R& recipient) const
44  {
45  this->NetworkLayerCounters::copyTo(recipient);
46  }
47 };
48 
49 } // namespace nfd
50 
51 #endif // NFD_DAEMON_FW_FORWARDER_COUNTERS_HPP
contains counters on forwarder
void copyTo(R &recipient) const
copy current obseverations to a struct
void copyTo(R &recipient) const
copy current obseverations to a struct
contains network layer packet counters