nlsr Namespace Reference

Copyright (c) 2014-2020, The University of Memphis, Regents of the University of California. More...

Namespaces

 dataset
 
 detail
 
 security
 
 tlv
 
 update
 
 util
 

Classes

class  AdjacencyList
 
class  Adjacent
 A neighbor reachable over a Face. More...
 
class  AdjLsa
 Data abstraction for AdjLsa AdjacencyLsa := ADJACENCY-LSA-TYPE TLV-LENGTH Lsa Adjacency*. More...
 
class  ConfFileProcessor
 A class containing methods to parse an NLSR configuration file. More...
 
class  ConfParameter
 A class to house all the configuration parameters for NLSR. More...
 
class  CoordinateLsa
 Data abstraction for CoordinateLsa CoordinateLsa := COORDINATE-LSA-TYPE TLV-LENGTH Lsa HyperbolicRadius HyperbolicAngle+. More...
 
class  DatasetInterestHandler
 Class to publish all dataset. More...
 
class  Fib
 Maps names to lists of next hops, and exports this information to NFD. More...
 
struct  FibEntry
 
class  HelloProtocol
 
class  HyperbolicRoutingCalculator
 
struct  is_iterator
 
struct  is_iterator< T, std::enable_if_t<!std::is_same_v< typename std::iterator_traits< T >::value_type, void > > >
 
class  LinkStateRoutingTableCalculator
 
class  Lsa
 Data abstraction for Lsa Lsa := LSA-TYPE TLV-LENGTH Name SequenceNumber ExpirationTimePoint. More...
 
class  Lsdb
 
class  Map
 
struct  MapEntry
 
class  NameLsa
 Data abstraction for NameLsa NameLsa := NAME-LSA-TYPE TLV-LENGTH Lsa Name+. More...
 
class  NamePrefixList
 
class  NamePrefixTable
 
class  NamePrefixTableEntry
 
class  NextHop
 Data abstraction for Nexthop. More...
 
struct  NextHopComparator
 
class  NexthopListT
 
struct  NextHopUriSortedComparator
 
class  Nlsr
 
class  RoutingTable
 
class  RoutingTableCalculator
 
class  RoutingTableEntry
 Data abstraction for RouteTableInfo. More...
 
class  RoutingTablePoolEntry
 
class  RoutingTableStatus
 Data abstraction for routing table status. More...
 
class  SequencingManager
 
class  Statistics
 
class  StatsCollector
 
class  SyncLogicHandler
 NLSR-to-ChronoSync interaction point. More...
 
class  SyncProtocolAdapter
 

Typedefs

using AfterRefreshCallback = std::function< void(FibEntry &)>
 
using AfterRoutingChange = ndn::util::Signal< RoutingTable, std::list< RoutingTableEntry > >
 
using ConfigSection = boost::property_tree::ptree
 
typedef NexthopListT NexthopList
 
using NextHopsUriSortedSet = NexthopListT< NextHopUriSortedComparator >
 
using OnNewLsa = ndn::util::Signal< SyncLogicHandler, ndn::Name, uint64_t, ndn::Name, uint64_t >
 
using SyncUpdateCallback = std::function< void(const ndn::Name &updateName, uint64_t seqNo, uint64_t incomingFaceId)>
 

Enumerations

enum  {
  LSA_REFRESH_TIME_MIN = 240 ,
  LSA_REFRESH_TIME_DEFAULT = 1800 ,
  LSA_REFRESH_TIME_MAX = 7200
}
 
enum  {
  LSA_INTEREST_LIFETIME_MIN = 1 ,
  LSA_INTEREST_LIFETIME_DEFAULT = 4 ,
  LSA_INTEREST_LIFETIME_MAX = 60
}
 
enum  {
  SYNC_INTEREST_LIFETIME_MIN = 1000 ,
  SYNC_INTEREST_LIFETIME_DEFAULT = 60000 ,
  SYNC_INTEREST_LIFETIME_MAX = 120000
}
 
enum  {
  ADJ_LSA_BUILD_INTERVAL_MIN = 5 ,
  ADJ_LSA_BUILD_INTERVAL_DEFAULT = 10 ,
  ADJ_LSA_BUILD_INTERVAL_MAX = 30
}
 
enum  {
  ROUTING_CALC_INTERVAL_MIN = 0 ,
  ROUTING_CALC_INTERVAL_DEFAULT = 15 ,
  ROUTING_CALC_INTERVAL_MAX = 15
}
 
enum  {
  FACE_DATASET_FETCH_TRIES_MIN = 1 ,
  FACE_DATASET_FETCH_TRIES_MAX = 10 ,
  FACE_DATASET_FETCH_TRIES_DEFAULT = 3
}
 
enum  {
  FACE_DATASET_FETCH_INTERVAL_MIN = 1800 ,
  FACE_DATASET_FETCH_INTERVAL_MAX = 5400 ,
  FACE_DATASET_FETCH_INTERVAL_DEFAULT = 3600
}
 
enum  {
  HELLO_RETRIES_MIN = 1 ,
  HELLO_RETRIES_DEFAULT = 3 ,
  HELLO_RETRIES_MAX = 15
}
 
enum  {
  HELLO_TIMEOUT_MIN = 1 ,
  HELLO_TIMEOUT_DEFAULT = 1 ,
  HELLO_TIMEOUT_MAX = 15
}
 
enum  {
  HELLO_INTERVAL_MIN = 30 ,
  HELLO_INTERVAL_DEFAULT = 60 ,
  HELLO_INTERVAL_MAX =90
}
 
enum  {
  MAX_FACES_PER_PREFIX_MIN = 0 ,
  MAX_FACES_PER_PREFIX_DEFAULT = 0 ,
  MAX_FACES_PER_PREFIX_MAX = 60
}
 
enum  HyperbolicState {
  HYPERBOLIC_STATE_OFF = 0 ,
  HYPERBOLIC_STATE_ON = 1 ,
  HYPERBOLIC_STATE_DRY_RUN = 2 ,
  HYPERBOLIC_STATE_DEFAULT = 0
}
 
enum class  LsdbUpdate {
  INSTALLED ,
  UPDATED ,
  REMOVED
}
 
enum class  SyncProtocol {
  CHRONOSYNC ,
  PSYNC ,
  SVS
}
 

Functions

static std::unique_ptr< ndn::security::CertificateFetcherDirectFetch > makeCertificateFetcher (ndn::Face &face)
 
 NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (Adjacent)
 
 NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (AdjLsa)
 
 NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (CoordinateLsa)
 
 NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (Lsa)
 
 NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (NameLsa)
 
 NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (NextHop)
 
 NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (RoutingTableEntry)
 
 NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (Adjacent)
 
 NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (AdjLsa)
 
 NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (CoordinateLsa)
 
 NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (Lsa)
 
 NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (NameLsa)
 
 NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (NextHop)
 
 NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (RoutingTableEntry)
 
 NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (RoutingTableStatus)
 
static bool nexthopAddCompare (const NextHop &nh1, const NextHop &nh2)
 
static bool nexthopRemoveCompare (const NextHop &nh1, const NextHop &nh2)
 
template<typename T >
bool operator!= (const NexthopListT< T > &lhs, const NexthopListT< T > &rhs)
 
std::ostream & operator<< (std::ostream &os, const Adjacent &adjacent)
 
std::ostream & operator<< (std::ostream &os, const AdjLsa &lsa)
 
std::ostream & operator<< (std::ostream &os, const CoordinateLsa &lsa)
 
std::ostream & operator<< (std::ostream &os, const Lsa::Type &type)
 
std::ostream & operator<< (std::ostream &os, const NameLsa &lsa)
 
std::ostream & operator<< (std::ostream &os, const NamePrefixList &list)
 
std::ostream & operator<< (std::ostream &os, const NamePrefixTable &table)
 
std::ostream & operator<< (std::ostream &os, const NamePrefixTableEntry &entry)
 
std::ostream & operator<< (std::ostream &os, const NextHop &hop)
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const NexthopListT< T > &nhl)
 
std::ostream & operator<< (std::ostream &os, const RoutingTableEntry &rte)
 
std::ostream & operator<< (std::ostream &os, const RoutingTableStatus &rts)
 
std::ostream & operator<< (std::ostream &os, const Statistics &stats)
 
std::ostream & operator<< (std::ostream &os, RoutingTablePoolEntry &rtpe)
 
bool operator== (const NamePrefixTableEntry &lhs, const NamePrefixTableEntry &rhs)
 
bool operator== (const NamePrefixTableEntry &lhs, const ndn::Name &rhs)
 
bool operator== (const NextHop &lhs, const NextHop &rhs)
 
template<typename T >
bool operator== (const NexthopListT< T > &lhs, const NexthopListT< T > &rhs)
 
bool operator== (const RoutingTablePoolEntry &lhs, const RoutingTablePoolEntry &rhs)
 
std::istream & operator>> (std::istream &is, Lsa::Type &type)
 
static bool routingTableEntryCompare (RoutingTableEntry &rte, ndn::Name &destRouter)
 

Variables

const ndn::PartialName ADJACENCIES_DATASET {"lsdb/adjacencies"}
 
const ndn::PartialName COORDINATES_DATASET {"lsdb/coordinates"}
 
constexpr int EMPTY_PARENT = -12345
 
constexpr ndn::time::seconds GRACE_PERIOD = 10_s
 
constexpr double INF_DISTANCE = 2147483647
 
const std::string LSA_COMPONENT {"LSA"}
 
const ndn::PartialName NAMES_DATASET {"lsdb/names"}
 
constexpr int NO_MAPPING_NUM = -1
 
constexpr int NO_NEXT_HOP = -12345
 
const ndn::PartialName RT_DATASET {"routing-table"}
 
constexpr ndn::time::seconds TIME_ALLOWED_FOR_CANONIZATION = 4_s
 
constexpr double UNKNOWN_DISTANCE = -1.0
 
constexpr double UNKNOWN_RADIUS = -1.0
 

Detailed Description

Copyright (c) 2014-2020, The University of Memphis, Regents of the University of California.

Copyright (c) 2014-2019, The University of Memphis, Regents of the University of California, Arizona Board of Regents.

Copyright (c) 2014-2017, The University of Memphis, Regents of the University of California, Arizona Board of Regents.

Copyright (c) 2014-2017, The University of Memphis, Regents of the University of California.

Copyright (c) 2014-2020, The University of Memphis, Regents of the University of California, Arizona Board of Regents.

This file is part of NLSR (Named-data Link State Routing). See AUTHORS.md for complete list of NLSR authors and contributors.

NLSR is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

NLSR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with NLSR, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.

Typedef Documentation

◆ AfterRefreshCallback

using nlsr::AfterRefreshCallback = typedef std::function<void(FibEntry&)>

Definition at line 44 of file fib.hpp.

◆ AfterRoutingChange

using nlsr::AfterRoutingChange = typedef ndn::util::Signal<RoutingTable, std::list<RoutingTableEntry> >

Definition at line 35 of file signals.hpp.

◆ ConfigSection

using nlsr::ConfigSection = typedef boost::property_tree::ptree

Definition at line 33 of file conf-file-processor.hpp.

◆ NexthopList

Definition at line 174 of file nexthop-list.hpp.

◆ NextHopsUriSortedSet

Definition at line 34 of file fib.hpp.

◆ OnNewLsa

using nlsr::OnNewLsa = typedef ndn::util::Signal<SyncLogicHandler, ndn::Name, uint64_t, ndn::Name, uint64_t>

Definition at line 36 of file signals.hpp.

◆ SyncUpdateCallback

using nlsr::SyncUpdateCallback = typedef std::function<void(const ndn::Name& updateName, uint64_t seqNo, uint64_t incomingFaceId)>

Definition at line 42 of file sync-protocol-adapter.hpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
LSA_REFRESH_TIME_MIN 
LSA_REFRESH_TIME_DEFAULT 
LSA_REFRESH_TIME_MAX 

Definition at line 44 of file conf-parameter.hpp.

◆ anonymous enum

anonymous enum
Enumerator
LSA_INTEREST_LIFETIME_MIN 
LSA_INTEREST_LIFETIME_DEFAULT 
LSA_INTEREST_LIFETIME_MAX 

Definition at line 50 of file conf-parameter.hpp.

◆ anonymous enum

anonymous enum
Enumerator
SYNC_INTEREST_LIFETIME_MIN 
SYNC_INTEREST_LIFETIME_DEFAULT 
SYNC_INTEREST_LIFETIME_MAX 

Definition at line 112 of file conf-parameter.hpp.

◆ anonymous enum

anonymous enum
Enumerator
ADJ_LSA_BUILD_INTERVAL_MIN 
ADJ_LSA_BUILD_INTERVAL_DEFAULT 
ADJ_LSA_BUILD_INTERVAL_MAX 

Definition at line 56 of file conf-parameter.hpp.

◆ anonymous enum

anonymous enum
Enumerator
ROUTING_CALC_INTERVAL_MIN 
ROUTING_CALC_INTERVAL_DEFAULT 
ROUTING_CALC_INTERVAL_MAX 

Definition at line 62 of file conf-parameter.hpp.

◆ anonymous enum

anonymous enum
Enumerator
FACE_DATASET_FETCH_TRIES_MIN 
FACE_DATASET_FETCH_TRIES_MAX 
FACE_DATASET_FETCH_TRIES_DEFAULT 

Definition at line 69 of file conf-parameter.hpp.

◆ anonymous enum

anonymous enum
Enumerator
FACE_DATASET_FETCH_INTERVAL_MIN 
FACE_DATASET_FETCH_INTERVAL_MAX 
FACE_DATASET_FETCH_INTERVAL_DEFAULT 

Definition at line 75 of file conf-parameter.hpp.

◆ anonymous enum

anonymous enum
Enumerator
HELLO_RETRIES_MIN 
HELLO_RETRIES_DEFAULT 
HELLO_RETRIES_MAX 

Definition at line 81 of file conf-parameter.hpp.

◆ anonymous enum

anonymous enum
Enumerator
HELLO_TIMEOUT_MIN 
HELLO_TIMEOUT_DEFAULT 
HELLO_TIMEOUT_MAX 

Definition at line 87 of file conf-parameter.hpp.

◆ anonymous enum

anonymous enum
Enumerator
HELLO_INTERVAL_MIN 
HELLO_INTERVAL_DEFAULT 
HELLO_INTERVAL_MAX 

Definition at line 93 of file conf-parameter.hpp.

◆ anonymous enum

anonymous enum
Enumerator
MAX_FACES_PER_PREFIX_MIN 
MAX_FACES_PER_PREFIX_DEFAULT 
MAX_FACES_PER_PREFIX_MAX 

Definition at line 99 of file conf-parameter.hpp.

◆ HyperbolicState

Enumerator
HYPERBOLIC_STATE_OFF 
HYPERBOLIC_STATE_ON 
HYPERBOLIC_STATE_DRY_RUN 
HYPERBOLIC_STATE_DEFAULT 

Definition at line 105 of file conf-parameter.hpp.

◆ LsdbUpdate

enum nlsr::LsdbUpdate
strong
Enumerator
INSTALLED 
UPDATED 
REMOVED 

Definition at line 53 of file lsdb.hpp.

◆ SyncProtocol

enum nlsr::SyncProtocol
strong
Enumerator
CHRONOSYNC 
PSYNC 
SVS 

Definition at line 38 of file conf-parameter.hpp.

Function Documentation

◆ makeCertificateFetcher()

static std::unique_ptr<ndn::security::CertificateFetcherDirectFetch> nlsr::makeCertificateFetcher ( ndn::Face &  face)
static

Definition at line 31 of file conf-parameter.cpp.

◆ NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS() [1/7]

nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS ( Adjacent  )

◆ NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS() [2/7]

nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS ( AdjLsa  )

◆ NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS() [3/7]

nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS ( CoordinateLsa  )

◆ NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS() [4/7]

nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS ( Lsa  )

◆ NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS() [5/7]

nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS ( NameLsa  )

◆ NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS() [6/7]

nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS ( NextHop  )

◆ NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS() [7/7]

nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS ( RoutingTableEntry  )

◆ NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS() [1/8]

nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS ( Adjacent  )

◆ NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS() [2/8]

nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS ( AdjLsa  )

◆ NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS() [3/8]

nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS ( CoordinateLsa  )

◆ NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS() [4/8]

nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS ( Lsa  )

◆ NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS() [5/8]

nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS ( NameLsa  )

◆ NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS() [6/8]

nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS ( NextHop  )

◆ NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS() [7/8]

nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS ( RoutingTableEntry  )

◆ NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS() [8/8]

nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS ( RoutingTableStatus  )

◆ nexthopAddCompare()

static bool nlsr::nexthopAddCompare ( const NextHop nh1,
const NextHop nh2 
)
inlinestatic

Definition at line 57 of file nexthop-list.hpp.

◆ nexthopRemoveCompare()

static bool nlsr::nexthopRemoveCompare ( const NextHop nh1,
const NextHop nh2 
)
inlinestatic

Definition at line 63 of file nexthop-list.hpp.

◆ operator!=()

template<typename T >
bool nlsr::operator!= ( const NexthopListT< T > &  lhs,
const NexthopListT< T > &  rhs 
)

Definition at line 185 of file nexthop-list.hpp.

◆ operator<<() [1/14]

std::ostream & nlsr::operator<< ( std::ostream &  os,
const Adjacent adjacent 
)

Definition at line 175 of file adjacent.cpp.

◆ operator<<() [2/14]

std::ostream & nlsr::operator<< ( std::ostream &  os,
const AdjLsa lsa 
)

Definition at line 156 of file adj-lsa.cpp.

◆ operator<<() [3/14]

std::ostream & nlsr::operator<< ( std::ostream &  os,
const CoordinateLsa lsa 
)

Definition at line 171 of file coordinate-lsa.cpp.

◆ operator<<() [4/14]

std::ostream & nlsr::operator<< ( std::ostream &  os,
const Lsa::Type type 
)

Definition at line 103 of file lsa.cpp.

◆ operator<<() [5/14]

std::ostream & nlsr::operator<< ( std::ostream &  os,
const NameLsa lsa 
)

Definition at line 170 of file name-lsa.cpp.

◆ operator<<() [6/14]

std::ostream & nlsr::operator<< ( std::ostream &  os,
const NamePrefixList list 
)

Definition at line 135 of file name-prefix-list.cpp.

◆ operator<<() [7/14]

std::ostream & nlsr::operator<< ( std::ostream &  os,
const NamePrefixTable table 
)

Definition at line 333 of file name-prefix-table.cpp.

◆ operator<<() [8/14]

std::ostream & nlsr::operator<< ( std::ostream &  os,
const NamePrefixTableEntry entry 
)

Definition at line 91 of file name-prefix-table-entry.cpp.

◆ operator<<() [9/14]

std::ostream & nlsr::operator<< ( std::ostream &  os,
const NextHop hop 
)

Definition at line 103 of file nexthop.cpp.

◆ operator<<() [10/14]

template<typename T >
std::ostream& nlsr::operator<< ( std::ostream &  os,
const NexthopListT< T > &  nhl 
)

Definition at line 191 of file nexthop-list.hpp.

◆ operator<<() [11/14]

std::ostream & nlsr::operator<< ( std::ostream &  os,
const RoutingTableEntry rte 
)

Definition at line 97 of file routing-table-entry.cpp.

◆ operator<<() [12/14]

std::ostream & nlsr::operator<< ( std::ostream &  os,
const RoutingTableStatus rts 
)

Definition at line 322 of file routing-table.cpp.

◆ operator<<() [13/14]

std::ostream & nlsr::operator<< ( std::ostream &  os,
const Statistics stats 
)

Definition at line 54 of file statistics.cpp.

◆ operator<<() [14/14]

std::ostream & nlsr::operator<< ( std::ostream &  os,
RoutingTablePoolEntry rtpe 
)

Definition at line 26 of file routing-table-pool-entry.cpp.

◆ operator==() [1/5]

bool nlsr::operator== ( const NamePrefixTableEntry lhs,
const NamePrefixTableEntry rhs 
)

Definition at line 80 of file name-prefix-table-entry.cpp.

◆ operator==() [2/5]

bool nlsr::operator== ( const NamePrefixTableEntry lhs,
const ndn::Name &  rhs 
)

Definition at line 86 of file name-prefix-table-entry.cpp.

◆ operator==() [3/5]

bool nlsr::operator== ( const NextHop lhs,
const NextHop rhs 
)

Definition at line 97 of file nexthop.cpp.

◆ operator==() [4/5]

template<typename T >
bool nlsr::operator== ( const NexthopListT< T > &  lhs,
const NexthopListT< T > &  rhs 
)

Definition at line 178 of file nexthop-list.hpp.

◆ operator==() [5/5]

bool nlsr::operator== ( const RoutingTablePoolEntry lhs,
const RoutingTablePoolEntry rhs 
)

Definition at line 44 of file routing-table-pool-entry.cpp.

◆ operator>>()

std::istream & nlsr::operator>> ( std::istream &  is,
Lsa::Type type 
)

Definition at line 124 of file lsa.cpp.

◆ routingTableEntryCompare()

static bool nlsr::routingTableEntryCompare ( RoutingTableEntry rte,
ndn::Name &  destRouter 
)
static

Definition at line 185 of file routing-table.cpp.

Variable Documentation

◆ ADJACENCIES_DATASET

const ndn::PartialName nlsr::ADJACENCIES_DATASET {"lsdb/adjacencies"}

Definition at line 33 of file dataset-interest-handler.cpp.

◆ COORDINATES_DATASET

const ndn::PartialName nlsr::COORDINATES_DATASET {"lsdb/coordinates"}

Definition at line 34 of file dataset-interest-handler.cpp.

◆ EMPTY_PARENT

constexpr int nlsr::EMPTY_PARENT = -12345
constexpr

Definition at line 38 of file routing-table-calculator.cpp.

◆ GRACE_PERIOD

constexpr ndn::time::seconds nlsr::GRACE_PERIOD = 10_s
inlineconstexpr

Definition at line 51 of file lsdb.hpp.

◆ INF_DISTANCE

constexpr double nlsr::INF_DISTANCE = 2147483647
constexpr

Definition at line 39 of file routing-table-calculator.cpp.

◆ LSA_COMPONENT

const std::string nlsr::LSA_COMPONENT {"LSA"}

Definition at line 33 of file sync-logic-handler.cpp.

◆ NAMES_DATASET

const ndn::PartialName nlsr::NAMES_DATASET {"lsdb/names"}

Definition at line 35 of file dataset-interest-handler.cpp.

◆ NO_MAPPING_NUM

constexpr int nlsr::NO_MAPPING_NUM = -1
constexpr

Definition at line 40 of file routing-table-calculator.cpp.

◆ NO_NEXT_HOP

constexpr int nlsr::NO_NEXT_HOP = -12345
constexpr

Definition at line 41 of file routing-table-calculator.cpp.

◆ RT_DATASET

const ndn::PartialName nlsr::RT_DATASET {"routing-table"}

Definition at line 36 of file dataset-interest-handler.cpp.

◆ TIME_ALLOWED_FOR_CANONIZATION

constexpr ndn::time::seconds nlsr::TIME_ALLOWED_FOR_CANONIZATION = 4_s
constexpr

Definition at line 40 of file common.hpp.

◆ UNKNOWN_DISTANCE

constexpr double nlsr::UNKNOWN_DISTANCE = -1.0
constexpr

Definition at line 42 of file routing-table-calculator.cpp.

◆ UNKNOWN_RADIUS

constexpr double nlsr::UNKNOWN_RADIUS = -1.0
constexpr

Definition at line 43 of file routing-table-calculator.cpp.