NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: 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
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
h
i
k
l
m
n
o
p
q
r
s
t
u
w
+
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
a
d
e
f
g
i
k
l
m
n
p
r
s
u
w
+
Related Functions
b
c
d
f
i
k
l
n
o
p
s
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
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
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
fib-nexthop.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_TABLE_FIB_NEXTHOP_HPP
27
#define NFD_DAEMON_TABLE_FIB_NEXTHOP_HPP
28
29
#include "common.hpp"
30
#include "
face/face.hpp
"
31
32
namespace
nfd
{
33
namespace
fib {
34
38
class
NextHop
39
{
40
public
:
41
explicit
42
NextHop
(shared_ptr<Face>
face
);
43
44
const
shared_ptr<Face>&
45
getFace
()
const
;
46
47
void
48
setCost
(uint64_t cost);
49
50
uint64_t
51
getCost
()
const
;
52
53
private
:
54
shared_ptr<Face> m_face;
55
uint64_t m_cost;
56
};
57
58
}
// namespace fib
59
}
// namespace nfd
60
61
#endif // NFD_DAEMON_TABLE_FIB_NEXTHOP_HPP
face.hpp
nfd::fib::NextHop::getCost
uint64_t getCost() const
Definition:
fib-nexthop.cpp:50
nfd::fib::NextHop::NextHop
NextHop(shared_ptr< Face > face)
Definition:
fib-nexthop.cpp:31
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
face
nfd::fib::NextHop::getFace
const shared_ptr< Face > & getFace() const
Definition:
fib-nexthop.cpp:38
nfd::fib::NextHop::setCost
void setCost(uint64_t cost)
Definition:
fib-nexthop.cpp:44
nfd::fib::NextHop
represents a nexthop record in FIB entry
Definition:
fib-nexthop.hpp:38
ndnSIM
NFD
daemon
table
fib-nexthop.hpp
Generated on Sat Nov 12 2016 16:02:54 for ndnSIM by
1.8.12