Forwarding Information Base (FIB) helper. More...
#include <ndn-fib-helper.hpp>
Static Public Member Functions | |
static void | AddRoute (const std::string &nodeName, const Name &prefix, uint32_t faceId, int32_t metric) |
Add forwarding entry to FIB. More... | |
static void | AddRoute (Ptr< Node > node, const Name &prefix, uint32_t faceId, int32_t metric) |
Add forwarding entry to FIB. More... | |
static void | AddRoute (Ptr< Node > node, const Name &prefix, shared_ptr< Face > face, int32_t metric) |
Add forwarding entry to FIB. More... | |
static void | AddRoute (Ptr< Node > node, const Name &prefix, Ptr< Node > otherNode, int32_t metric) |
Add forwarding entry to FIB (work only with point-to-point links) More... | |
static void | AddRoute (const std::string &nodeName, const Name &prefix, const std::string &otherNodeName, int32_t metric) |
Add forwarding entry to FIB (work only with point-to-point links) More... | |
Forwarding Information Base (FIB) helper.
The FIB helper interacts with the FIB manager of NFD by sending special Interest commands to the manager in order to add/remove a next hop from FIB entries or add routes to the FIB manually (manual configuration of FIB).
Definition at line 45 of file ndn-fib-helper.hpp.
|
static |
Add forwarding entry to FIB.
nodeName | Node name |
prefix | Routing prefix |
faceId | Face index |
metric | Routing metric |
Definition at line 121 of file ndn-fib-helper.cpp.
Referenced by AddRoute(), ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes(), ns3::ndn::GlobalRoutingHelper::CalculateRoutes(), ns3::ndn::StackHelper::Install(), and ns3::ndn::Producer::StartApplication().
|
static |
Add forwarding entry to FIB.
nodeName | Node |
prefix | Routing prefix |
faceId | Face index |
metric | Routing metric |
Definition at line 108 of file ndn-fib-helper.cpp.
References AddRoute().
|
static |
Add forwarding entry to FIB.
node | Node |
prefix | Routing prefix |
face | Face |
metric | Routing metric |
Definition at line 89 of file ndn-fib-helper.cpp.
References ns3::ndn::L3Protocol::getForwarder().
|
static |
Add forwarding entry to FIB (work only with point-to-point links)
node | Node |
prefix | Routing prefix |
otherNode | The other node, to which interests (will be used to infer face id |
metric | Routing metric |
Definition at line 138 of file ndn-fib-helper.cpp.
References AddRoute().
|
static |
Add forwarding entry to FIB (work only with point-to-point links)
nodeName | Node name (refer to ns3::Names) |
prefix | Routing prefix |
otherNode | The other node name, to which interests (will be used to infer face id (refer to ns3::Names) |
metric | Routing metric |
Definition at line 169 of file ndn-fib-helper.cpp.
References AddRoute().