Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California, Arizona Board of Regents. More...
Namespaces | |
dataset | |
detail | |
security | |
tlv | |
update | |
util | |
Typedefs | |
typedef std::function< void(const ndn::Name &updateName, uint64_t seqNo)> | SyncUpdateCallback |
typedef std::function< void(FibEntry &)> | afterRefreshCallback |
using | AfterRoutingChange = ndn::util::Signal< RoutingTable, const std::list< RoutingTableEntry > & > |
using | OnNewLsa = ndn::util::Signal< SyncLogicHandler, const ndn::Name &, const uint64_t & > |
Functions | |
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 NameLsa &lsa) |
std::ostream & | operator<< (std::ostream &os, const Lsa::Type &type) |
std::istream & | operator>> (std::istream &is, Lsa::Type &type) |
static bool | nameLsaCompareByKey (const NameLsa &nlsa1, const ndn::Name &key) |
Compares if a name LSA is the same as the one specified by key. More... | |
static bool | corLsaCompareByKey (const CoordinateLsa &clsa, const ndn::Name &key) |
Compares whether an LSA object is the same as a key. More... | |
static bool | adjLsaCompareByKey (AdjLsa &alsa, const ndn::Name &key) |
Returns whether an adj. LSA object is from some router. More... | |
std::ostream & | operator<< (std::ostream &os, const NamePrefixList &list) |
static ndn::Name | DEFAULT_BROADCAST_PREFIX ("/ndn/broadcast") |
template<> | |
std::list< tlv::AdjacencyLsa > | getTlvLsas< tlv::AdjacencyLsa > (const Lsdb &lsdb) |
template<> | |
std::list< tlv::CoordinateLsa > | getTlvLsas< tlv::CoordinateLsa > (const Lsdb &lsdb) |
template<> | |
std::list< tlv::NameLsa > | getTlvLsas< tlv::NameLsa > (const Lsdb &lsdb) |
template<typename T > | |
std::list< T > | getTlvLsas (const Lsdb &lsdb) |
bool | operator== (const NamePrefixTableEntry &lhs, const NamePrefixTableEntry &rhs) |
bool | operator== (const NamePrefixTableEntry &lhs, const ndn::Name &rhs) |
std::ostream & | operator<< (std::ostream &os, const NamePrefixTableEntry &entry) |
std::ostream & | operator<< (std::ostream &os, const NamePrefixTable &table) |
static bool | nexthopAddCompare (const NextHop &nh1, const NextHop &nh2) |
static bool | nexthopRemoveCompare (const NextHop &nh1, const NextHop &nh2) |
bool | operator== (const NexthopList &lhs, const NexthopList &rhs) |
bool | operator!= (const NexthopList &lhs, const NexthopList &rhs) |
std::ostream & | operator<< (std::ostream &os, const NexthopList &nhl) |
bool | operator== (NexthopList &lhs, NexthopList &rhs) |
bool | operator== (const NextHop &lhs, const NextHop &rhs) |
std::ostream & | operator<< (std::ostream &os, const NextHop &hop) |
std::ostream & | operator<< (std::ostream &os, const RoutingTableEntry &rte) |
std::ostream & | operator<< (std::ostream &os, RoutingTablePoolEntry &rtpe) |
bool | operator== (const RoutingTablePoolEntry &lhs, const RoutingTablePoolEntry &rhs) |
static bool | routingTableEntryCompare (RoutingTableEntry &rte, ndn::Name &destRouter) |
std::ostream & | operator<< (std::ostream &os, const Statistics &stats) |
Variables | |
const ndn::time::seconds | TIME_ALLOWED_FOR_CANONIZATION = ndn::time::seconds(4) |
const std::string | NLSR_COMPONENT = "nlsr" |
const std::string | LSA_COMPONENT = "LSA" |
const auto | FIXED_SESSION = ndn::name::Component::fromNumber(0) |
const ndn::PartialName | ADJACENCIES_DATASET = ndn::PartialName("lsdb/adjacencies") |
const ndn::PartialName | COORDINATES_DATASET = ndn::PartialName("lsdb/coordinates") |
const ndn::PartialName | NAMES_DATASET = ndn::PartialName("lsdb/names") |
const ndn::PartialName | RT_DATASET = ndn::PartialName("routing-table") |
Copyright (c) 2014-2018, 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-2017, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
Copyright (c) 2014-2019, 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-2018, The University of Memphis, Regents of the University of California.
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/.
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 std::function<void(FibEntry&)> nlsr::afterRefreshCallback |
using nlsr::AfterRoutingChange = typedef ndn::util::Signal<RoutingTable, const std::list<RoutingTableEntry>&> |
Definition at line 35 of file signals.hpp.
using nlsr::OnNewLsa = typedef ndn::util::Signal<SyncLogicHandler, const ndn::Name&, const uint64_t&> |
Definition at line 36 of file signals.hpp.
typedef std::function<void(const ndn::Name& updateName, uint64_t seqNo)> nlsr::SyncUpdateCallback |
Definition at line 34 of file sync-protocol-adapter.hpp.
anonymous enum |
Enumerator | |
---|---|
LSA_REFRESH_TIME_MIN | |
LSA_REFRESH_TIME_DEFAULT | |
LSA_REFRESH_TIME_MAX |
Definition at line 41 of file conf-parameter.hpp.
anonymous enum |
Enumerator | |
---|---|
SYNC_PROTOCOL_CHRONOSYNC | |
SYNC_PROTOCOL_PSYNC |
Definition at line 47 of file conf-parameter.hpp.
anonymous enum |
Enumerator | |
---|---|
HELLO_INTERVAL_MIN | |
HELLO_INTERVAL_DEFAULT | |
HELLO_INTERVAL_MAX |
Definition at line 101 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 107 of file conf-parameter.hpp.
anonymous enum |
Enumerator | |
---|---|
SYNC_INTEREST_LIFETIME_MIN | |
SYNC_INTEREST_LIFETIME_DEFAULT | |
SYNC_INTEREST_LIFETIME_MAX |
Definition at line 120 of file conf-parameter.hpp.
anonymous enum |
Enumerator | |
---|---|
LSA_INTEREST_LIFETIME_MIN | |
LSA_INTEREST_LIFETIME_DEFAULT | |
LSA_INTEREST_LIFETIME_MAX |
Definition at line 52 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 58 of file conf-parameter.hpp.
anonymous enum |
Enumerator | |
---|---|
FIRST_HELLO_INTERVAL_MIN | |
FIRST_HELLO_INTERVAL_DEFAULT | |
FIRST_HELLO_INTERVAL_MAX |
Definition at line 64 of file conf-parameter.hpp.
anonymous enum |
Enumerator | |
---|---|
ROUTING_CALC_INTERVAL_MIN | |
ROUTING_CALC_INTERVAL_DEFAULT | |
ROUTING_CALC_INTERVAL_MAX |
Definition at line 70 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 77 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 83 of file conf-parameter.hpp.
anonymous enum |
Enumerator | |
---|---|
HELLO_RETRIES_MIN | |
HELLO_RETRIES_DEFAULT | |
HELLO_RETRIES_MAX |
Definition at line 89 of file conf-parameter.hpp.
anonymous enum |
Enumerator | |
---|---|
HELLO_TIMEOUT_MIN | |
HELLO_TIMEOUT_DEFAULT | |
HELLO_TIMEOUT_MAX |
Definition at line 95 of file conf-parameter.hpp.
Enumerator | |
---|---|
HYPERBOLIC_STATE_OFF | |
HYPERBOLIC_STATE_ON | |
HYPERBOLIC_STATE_DRY_RUN | |
HYPERBOLIC_STATE_DEFAULT |
Definition at line 113 of file conf-parameter.hpp.
|
static |
|
static |
|
static |
std::list<T> nlsr::getTlvLsas | ( | const Lsdb & | lsdb | ) |
std::list< tlv::AdjacencyLsa > nlsr::getTlvLsas< tlv::AdjacencyLsa > | ( | const Lsdb & | lsdb | ) |
Definition at line 189 of file dataset-interest-handler.cpp.
std::list< tlv::CoordinateLsa > nlsr::getTlvLsas< tlv::CoordinateLsa > | ( | const Lsdb & | lsdb | ) |
Definition at line 217 of file dataset-interest-handler.cpp.
std::list< tlv::NameLsa > nlsr::getTlvLsas< tlv::NameLsa > | ( | const Lsdb & | lsdb | ) |
Definition at line 242 of file dataset-interest-handler.cpp.
|
static |
Definition at line 32 of file nexthop-list.cpp.
Definition at line 38 of file nexthop-list.cpp.
bool nlsr::operator!= | ( | const NexthopList & | lhs, |
const NexthopList & | rhs | ||
) |
std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
RoutingTablePoolEntry & | rtpe | ||
) |
Definition at line 27 of file routing-table-pool-entry.cpp.
std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
const RoutingTableEntry & | rte | ||
) |
Definition at line 27 of file route/routing-table-entry.cpp.
std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
const NextHop & | hop | ||
) |
std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
const Statistics & | stats | ||
) |
std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
const NexthopList & | nhl | ||
) |
std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
const Adjacent & | adjacent | ||
) |
std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
const NamePrefixTableEntry & | entry | ||
) |
Definition at line 106 of file name-prefix-table-entry.cpp.
std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
const NamePrefixList & | list | ||
) |
std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
const AdjLsa & | lsa | ||
) |
std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
const NamePrefixTable & | table | ||
) |
Definition at line 281 of file name-prefix-table.cpp.
std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
const CoordinateLsa & | lsa | ||
) |
std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
const NameLsa & | lsa | ||
) |
std::ostream & nlsr::operator<< | ( | std::ostream & | os, |
const Lsa::Type & | type | ||
) |
bool nlsr::operator== | ( | const RoutingTablePoolEntry & | lhs, |
const RoutingTablePoolEntry & | rhs | ||
) |
Definition at line 44 of file routing-table-pool-entry.cpp.
bool nlsr::operator== | ( | const NexthopList & | lhs, |
const NexthopList & | rhs | ||
) |
bool nlsr::operator== | ( | const NamePrefixTableEntry & | lhs, |
const NamePrefixTableEntry & | rhs | ||
) |
Definition at line 94 of file name-prefix-table-entry.cpp.
bool nlsr::operator== | ( | const NamePrefixTableEntry & | lhs, |
const ndn::Name & | rhs | ||
) |
Definition at line 100 of file name-prefix-table-entry.cpp.
bool nlsr::operator== | ( | NexthopList & | lhs, |
NexthopList & | rhs | ||
) |
std::istream & nlsr::operator>> | ( | std::istream & | is, |
Lsa::Type & | type | ||
) |
|
static |
Definition at line 174 of file routing-table.cpp.
const ndn::PartialName nlsr::ADJACENCIES_DATASET = ndn::PartialName("lsdb/adjacencies") |
Definition at line 34 of file dataset-interest-handler.cpp.
const ndn::PartialName nlsr::COORDINATES_DATASET = ndn::PartialName("lsdb/coordinates") |
Definition at line 35 of file dataset-interest-handler.cpp.
const auto nlsr::FIXED_SESSION = ndn::name::Component::fromNumber(0) |
Definition at line 29 of file sync-protocol-adapter.cpp.
const std::string nlsr::LSA_COMPONENT = "LSA" |
Definition at line 32 of file sync-logic-handler.cpp.
const ndn::PartialName nlsr::NAMES_DATASET = ndn::PartialName("lsdb/names") |
Definition at line 36 of file dataset-interest-handler.cpp.
const std::string nlsr::NLSR_COMPONENT = "nlsr" |
Definition at line 31 of file sync-logic-handler.cpp.
const ndn::PartialName nlsr::RT_DATASET = ndn::PartialName("routing-table") |
Definition at line 37 of file dataset-interest-handler.cpp.
const ndn::time::seconds nlsr::TIME_ALLOWED_FOR_CANONIZATION = ndn::time::seconds(4) |
Definition at line 40 of file common.hpp.