Copyright (c) 2014-2020, The University of Memphis, Regents of the University of California. More...
Namespaces | |
| dataset | |
| security | |
| tlv | |
| update | |
| util | |
Classes | |
| class | AdjacencyList |
| class | Adjacent |
| A neighbor reachable over a Face. More... | |
| class | AdjLsa |
| Represents an LSA of adjacencies of the origin router in link-state mode. 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 |
| Represents an LSA of hyperbolic coordinates of the origin router. 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 | Lsa |
| Represents a Link State Announcement (LSA). More... | |
| class | Lsdb |
| class | NameLsa |
| Represents an LSA of name prefixes announced by the origin router. More... | |
| class | NameMap |
| Assigning numbers to router names. More... | |
| class | NamePrefixList |
| class | NamePrefixTable |
| class | NamePrefixTableEntry |
| class | NextHop |
| Data abstraction for Nexthop. More... | |
| class | NexthopListT |
| struct | NextHopUriSortedComparator |
| class | Nlsr |
| class | RoutingTable |
| class | RoutingTableEntry |
| Data abstraction for RouteTableInfo. More... | |
| class | RoutingTablePoolEntry |
| class | RoutingTableStatus |
| Data abstraction for routing table status. More... | |
| class | SequencingManager |
| class | Statistics |
| class | StatsCollector |
| a class designed to handle statistical signals in nlsr More... | |
| class | SyncLogicHandler |
| NLSR-to-sync interaction point. More... | |
| struct | SyncLogicOptions |
| class | SyncProtocolAdapter |
Typedefs | |
| using | AfterRefreshCallback = std::function< void(FibEntry &)> |
| using | AfterRoutingChange = ndn::signal::Signal< RoutingTable, std::list< RoutingTableEntry > > |
| using | ConfigSection = boost::property_tree::ptree |
| typedef NexthopListT | NexthopList |
| using | NextHopsUriSortedSet = NexthopListT< NextHopUriSortedComparator > |
| using | OnNewLsa = ndn::signal::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)> |
Variables | |
| const ndn::PartialName | ADJACENCIES_DATASET {"lsdb/adjacencies"} |
| const ndn::PartialName | COORDINATES_DATASET {"lsdb/coordinates"} |
| constexpr ndn::time::seconds | GRACE_PERIOD = 10_s |
| const std::string | LSA_COMPONENT {"LSA"} |
| const ndn::PartialName | NAMES_DATASET {"lsdb/names"} |
| 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 |
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-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/.
| using nlsr::AfterRefreshCallback = typedef std::function<void(FibEntry&)> |
| using nlsr::AfterRoutingChange = typedef ndn::signal::Signal<RoutingTable, std::list<RoutingTableEntry> > |
Definition at line 35 of file signals.hpp.
| using nlsr::ConfigSection = typedef boost::property_tree::ptree |
Definition at line 33 of file conf-file-processor.hpp.
| typedef NexthopListT nlsr::NexthopList |
Definition at line 149 of file nexthop-list.hpp.
| using nlsr::NextHopsUriSortedSet = typedef NexthopListT<NextHopUriSortedComparator> |
| using nlsr::OnNewLsa = typedef ndn::signal::Signal<SyncLogicHandler, ndn::Name, uint64_t, ndn::Name, uint64_t> |
Definition at line 36 of file signals.hpp.
| 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.
| 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 |
| Enumerator | |
|---|---|
| LSA_INTEREST_LIFETIME_MIN | |
| LSA_INTEREST_LIFETIME_DEFAULT | |
| LSA_INTEREST_LIFETIME_MAX | |
Definition at line 50 of file conf-parameter.hpp.
| 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 |
| 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 |
| Enumerator | |
|---|---|
| ROUTING_CALC_INTERVAL_MIN | |
| ROUTING_CALC_INTERVAL_DEFAULT | |
| ROUTING_CALC_INTERVAL_MAX | |
Definition at line 62 of file conf-parameter.hpp.
| 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 |
| 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 |
| Enumerator | |
|---|---|
| HELLO_RETRIES_MIN | |
| HELLO_RETRIES_DEFAULT | |
| HELLO_RETRIES_MAX | |
Definition at line 81 of file conf-parameter.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| HELLO_TIMEOUT_MIN | |
| HELLO_TIMEOUT_DEFAULT | |
| HELLO_TIMEOUT_MAX | |
Definition at line 87 of file conf-parameter.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| HELLO_INTERVAL_MIN | |
| HELLO_INTERVAL_DEFAULT | |
| HELLO_INTERVAL_MAX | |
Definition at line 93 of file conf-parameter.hpp.
| 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.
| Enumerator | |
|---|---|
| HYPERBOLIC_STATE_OFF | |
| HYPERBOLIC_STATE_ON | |
| HYPERBOLIC_STATE_DRY_RUN | |
| HYPERBOLIC_STATE_DEFAULT | |
Definition at line 105 of file conf-parameter.hpp.
|
strong |
|
strong |
| Enumerator | |
|---|---|
| CHRONOSYNC | |
| PSYNC | |
| SVS | |
Definition at line 38 of file conf-parameter.hpp.
| void nlsr::calculateHyperbolicRoutingPath | ( | NameMap & | map, |
| RoutingTable & | rt, | ||
| Lsdb & | lsdb, | ||
| AdjacencyList & | adjacencies, | ||
| ndn::Name | thisRouterName, | ||
| bool | isDryRun | ||
| ) |
Definition at line 279 of file routing-calculator-hyperbolic.cpp.
| void nlsr::calculateLinkStateRoutingPath | ( | NameMap & | map, |
| RoutingTable & | rt, | ||
| ConfParameter & | confParam, | ||
| const Lsdb & | lsdb | ||
| ) |
Definition at line 349 of file routing-calculator-link-state.cpp.
|
static |
Definition at line 31 of file conf-parameter.cpp.
|
inline |
Definition at line 46 of file sync-logic-handler.hpp.
| nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | Adjacent | ) |
| nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | AdjLsa | ) |
| nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | CoordinateLsa | ) |
| nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | Lsa | ) |
| nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | NameLsa | ) |
| nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | NextHop | ) |
| nlsr::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | RoutingTableEntry | ) |
| nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | Adjacent | ) |
| nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | AdjLsa | ) |
| nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | CoordinateLsa | ) |
| nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | Lsa | ) |
| nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | NameLsa | ) |
| nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | NextHop | ) |
| nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | RoutingTableEntry | ) |
| nlsr::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | RoutingTableStatus | ) |
| bool nlsr::operator!= | ( | const NexthopListT< T > & | lhs, |
| const NexthopListT< T > & | rhs | ||
| ) |
Definition at line 160 of file nexthop-list.hpp.
| std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
| const Adjacent & | adjacent | ||
| ) |
Definition at line 175 of file adjacent.cpp.
| std::ostream& nlsr::operator<< | ( | std::ostream & | os, |
| const Lsa & | lsa | ||
| ) |
| std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
| const Lsa::Type & | type | ||
| ) |
| std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
| const NameMap & | map | ||
| ) |
Definition at line 56 of file name-map.cpp.
| std::ostream& nlsr::operator<< | ( | std::ostream & | os, |
| const NamePrefixList & | list | ||
| ) |
Definition at line 81 of file name-prefix-list.cpp.
| std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
| const NamePrefixTable & | table | ||
| ) |
Definition at line 333 of file name-prefix-table.cpp.
| std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
| const NamePrefixTableEntry & | entry | ||
| ) |
Definition at line 91 of file name-prefix-table-entry.cpp.
| std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
| const NextHop & | hop | ||
| ) |
Definition at line 101 of file nexthop.cpp.
| std::ostream& nlsr::operator<< | ( | std::ostream & | os, |
| const NexthopListT< T > & | nhl | ||
| ) |
Definition at line 166 of file nexthop-list.hpp.
| std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
| const RoutingTableEntry & | rte | ||
| ) |
Definition at line 97 of file routing-table-entry.cpp.
| std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
| const RoutingTableStatus & | rts | ||
| ) |
Definition at line 314 of file routing-table.cpp.
| std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
| const Statistics & | stats | ||
| ) |
Definition at line 54 of file statistics.cpp.
| std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
| RoutingTablePoolEntry & | rtpe | ||
| ) |
Definition at line 26 of file routing-table-pool-entry.cpp.
| bool nlsr::operator== | ( | const NamePrefixTableEntry & | lhs, |
| const NamePrefixTableEntry & | rhs | ||
| ) |
Definition at line 80 of file name-prefix-table-entry.cpp.
| bool nlsr::operator== | ( | const NamePrefixTableEntry & | lhs, |
| const ndn::Name & | rhs | ||
| ) |
Definition at line 86 of file name-prefix-table-entry.cpp.
| bool nlsr::operator== | ( | const NexthopListT< T > & | lhs, |
| const NexthopListT< T > & | rhs | ||
| ) |
Definition at line 153 of file nexthop-list.hpp.
| bool nlsr::operator== | ( | const RoutingTablePoolEntry & | lhs, |
| const RoutingTablePoolEntry & | rhs | ||
| ) |
Definition at line 44 of file routing-table-pool-entry.cpp.
| std::istream & nlsr::operator>> | ( | std::istream & | is, |
| Lsa::Type & | type | ||
| ) |
|
static |
Definition at line 177 of file routing-table.cpp.
| const ndn::PartialName nlsr::ADJACENCIES_DATASET {"lsdb/adjacencies"} |
Definition at line 33 of file dataset-interest-handler.cpp.
| const ndn::PartialName nlsr::COORDINATES_DATASET {"lsdb/coordinates"} |
Definition at line 34 of file dataset-interest-handler.cpp.
|
inlineconstexpr |
| const std::string nlsr::LSA_COMPONENT {"LSA"} |
Definition at line 31 of file sync-logic-handler.cpp.
| const ndn::PartialName nlsr::NAMES_DATASET {"lsdb/names"} |
Definition at line 35 of file dataset-interest-handler.cpp.
| const ndn::PartialName nlsr::RT_DATASET {"routing-table"} |
Definition at line 36 of file dataset-interest-handler.cpp.
|
constexpr |
Definition at line 40 of file common.hpp.
|
constexpr |
Definition at line 69 of file routing-calculator-hyperbolic.cpp.
|
constexpr |
Definition at line 70 of file routing-calculator-hyperbolic.cpp.