NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
a
d
e
f
i
k
l
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
g
k
l
n
p
r
s
Typedefs
+
Macros
b
d
e
f
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
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