ndn-embeds 0.1.0
Lightweight NDN protocol stack for embedded systems
Loading...
Searching...
No Matches
fib.hpp File Reference

Forwarding Information Base (FIB) More...

#include "ndn/common.hpp"
#include "ndn/name.hpp"

Go to the source code of this file.

Classes

struct  ndn::FibNexthop
 FIB Nexthop. More...
 
class  ndn::FibEntry
 FIB entry. More...
 
class  ndn::Fib
 Forwarding Information Base. More...
 

Variables

constexpr size_t ndn::FIB_MAX_ENTRIES = 30
 Maximum number of FIB entries.
 
constexpr size_t ndn::FIB_MAX_NEXTHOPS = 3
 Maximum number of next-hops per FIB entry.
 

Detailed Description

Forwarding Information Base (FIB)

The FIB is a routing table used to determine where to forward Interests. Each entry holds a Name prefix and a list of next-hop Faces corresponding to that prefix.

See also
https://named-data.net/doc/NFD/current/

Definition in file fib.hpp.

Variable Documentation

◆ FIB_MAX_ENTRIES

constexpr size_t ndn::FIB_MAX_ENTRIES = 30
constexpr

Maximum number of FIB entries.

Definition at line 20 of file fib.hpp.

Referenced by ndn::Fib::capacity().

◆ FIB_MAX_NEXTHOPS

constexpr size_t ndn::FIB_MAX_NEXTHOPS = 3
constexpr

Maximum number of next-hops per FIB entry.

Definition at line 23 of file fib.hpp.

Referenced by ndn::FibEntry::addNexthop().