NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
face-counters.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#include "
face-counters.hpp
"
27
28
namespace
nfd
{
29
namespace
face
{
30
31
FaceCounters::FaceCounters
(
const
LinkService::Counters
& linkServiceCounters,
32
const
Transport::Counters
& transportCounters)
33
: nInInterests(linkServiceCounters.nInInterests)
34
, nOutInterests(linkServiceCounters.nOutInterests)
35
, nInData(linkServiceCounters.nInData)
36
, nOutData(linkServiceCounters.nOutData)
37
, nInNacks(linkServiceCounters.nInNacks)
38
, nOutNacks(linkServiceCounters.nOutNacks)
39
, nInPackets(transportCounters.nInPackets)
40
, nOutPackets(transportCounters.nOutPackets)
41
, nInBytes(transportCounters.nInBytes)
42
, nOutBytes(transportCounters.nOutBytes)
43
, m_linkServiceCounters(linkServiceCounters)
44
, m_transportCounters(transportCounters)
45
{
46
}
47
48
}
// namespace face
49
}
// namespace nfd
nfd::face::FaceCounters::FaceCounters
FaceCounters(const LinkService::Counters &linkServiceCounters, const Transport::Counters &transportCounters)
Definition:
face-counters.cpp:31
nfd::face::TransportCounters
counters provided by Transport
Definition:
transport.hpp:57
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::face::LinkServiceCounters
counters provided by LinkService
Definition:
link-service.hpp:42
face
face-counters.hpp
ndnSIM
NFD
daemon
face
face-counters.cpp
Generated on Wed Jan 11 2017 18:17:15 for ndnSIM by
1.8.13