32 const uint64_t ConfParameter::SYNC_VERSION = 4;
41 NLSR_LOG_INFO(
"ChronoSync sync Prefix: " << m_chronosyncPrefix);
43 NLSR_LOG_INFO(
"Hello Interest retry number: " << m_interestRetryNumber);
44 NLSR_LOG_INFO(
"Hello Interest resend second: " << m_interestResendTime);
45 NLSR_LOG_INFO(
"Info Interest interval: " << m_infoInterestInterval);
47 NLSR_LOG_INFO(
"FIB Entry refresh time: " << m_lsaRefreshTime * 2);
50 NLSR_LOG_INFO(
"Max Faces Per Prefix: " << m_maxFacesPerPrefix);
54 for (
auto const& value: m_corTheta) {
60 NLSR_LOG_INFO(
"Adjacency LSA build interval: " << m_adjLsaBuildInterval);
61 NLSR_LOG_INFO(
"First Hello Interest interval: " << m_firstHelloInterval);
62 NLSR_LOG_INFO(
"Routing calculation interval: " << m_routingCalcInterval);
68 m_network = networkName;
70 m_chronosyncPrefix.append(
"localhop");
71 m_chronosyncPrefix.append(m_network);
72 m_chronosyncPrefix.append(
"NLSR");
73 m_chronosyncPrefix.append(
"sync");
74 m_chronosyncPrefix.appendVersion(SYNC_VERSION);
76 m_lsaPrefix.append(
"localhop");
77 m_lsaPrefix.append(m_network);
78 m_lsaPrefix.append(
"NLSR");
79 m_lsaPrefix.append(
"LSA");
void setNetwork(const ndn::Name &networkName)
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California.
const ndn::time::seconds & getLsaInterestLifetime() const
#define INIT_LOGGER(name)
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
uint32_t getRouterDeadInterval() const