NFD: Named Data Networking Forwarding Daemon 0.6.0 documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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 "
core/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
(Face& face);
43
44
Face&
45
getFace
()
const
46
{
47
return
*m_face;
48
}
49
50
uint64_t
51
getCost
()
const
52
{
53
return
m_cost;
54
}
55
56
void
57
setCost
(uint64_t cost)
58
{
59
m_cost = cost;
60
}
61
62
private
:
63
Face* m_face;
64
uint64_t m_cost;
65
};
66
67
}
// namespace fib
68
}
// namespace nfd
69
70
#endif // NFD_DAEMON_TABLE_FIB_NEXTHOP_HPP
nfd::fib::NextHop::NextHop
NextHop(Face &face)
Definition:
fib-nexthop.cpp:31
face.hpp
common.hpp
nfd
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Definition:
algorithm.hpp:32
nfd::fib::NextHop::getFace
Face & getFace() const
Definition:
fib-nexthop.hpp:45
nfd::fib::NextHop::setCost
void setCost(uint64_t cost)
Definition:
fib-nexthop.hpp:57
nfd::fib::NextHop
represents a nexthop record in FIB entry
Definition:
fib-nexthop.hpp:38
nfd::fib::NextHop::getCost
uint64_t getCost() const
Definition:
fib-nexthop.hpp:51
daemon
table
fib-nexthop.hpp
Generated on Mon Oct 16 2017 13:51:50 for NFD: Named Data Networking Forwarding Daemon by
1.8.11