Commit Graph

13 Commits

Author SHA1 Message Date
Junxiao Shi feddc3c054 core: use ndn-cxx scheduler::ScopedEventId
refs #4698

Change-Id: I5ab56855fb22824e129fd7e3ccfb53174cf34f82
2019-01-17 19:06:00 +00:00
Davide Pesavento 59769b1864 Make the exit status consistent across all programs
(except nfdc)

Change-Id: Ia3edb11b3f4284df5db8279b06e6fb708ae454e9
2017-11-20 10:41:07 -05:00
Davide Pesavento c0a5a39a4f Add -Wextra-semi -Wundefined-func-template to the default CXXFLAGS
And fix the resulting compilation errors.

Change-Id: I2f8a8406542d297bfeeb4c922812ff1879a4dff6
Refs: #4248
2017-08-20 14:29:18 -04:00
Junxiao Shi cb76686ecc tools: refactor ndn-autoconfig
Hub face creation and prefix registrations are moved into a new
Procedure class. Main function is simplified.

refs #4158

Change-Id: I15b660e3b8a1bde89498a1cb549a87788de46c7a
2017-07-07 22:21:04 +00:00
Junxiao Shi 83be1dae4b use FaceUri and NetworkMonitor from ndn-cxx/net
This commit also contains a quick fix in LpReliability to avoid
ndn::lp::Packet::wireEncode(EncodingEstimator&).

refs #3940, #4156

Change-Id: Ice8e3649be21dd023ed1f6562c185f9e6721e45e
2017-06-30 13:37:37 +00:00
Alexander Afanasyev 2a00194316 tools: Add NDN-FCH stage (service to get "closest" NDN hub) to ndn-autoconfig
Change-Id: Ia2b0bf93d3d25b45713eeba58924e64871715bdb
Refs: #3800
2016-12-18 15:08:13 -08:00
Junxiao Shi 52fa45c6ee tools: ndn-autoconfig code style corrections
refs #2426

Change-Id: Ied8de3b3f839e07090fc71f41cd01f4e5b4987f3
2016-11-29 21:18:13 +00:00
Junxiao Shi 9f5b01dfd8 core: move common.hpp to core/
Headers in core/ are now included as `#include "core/*.hpp"`.
This allows NFD to rely less on include paths when used as a submodule in
another codebase, such as ndnSIM and NFD-Android.

refs #3127

Change-Id: Ia38f3c97427e17ff7b5401281f1fe875b5d5313e
2016-08-05 03:54:28 +00:00
Alexander Afanasyev 5c47597be9 tools: Automatically start ndn-autoconfig in nfd-start, if enabled in autoconfig.conf
Change-Id: I09d3fff87f00ce8684e6e304e8327f9d03ca18bf
Refs: #2716
2015-12-28 14:15:50 -08:00
Spyridon Mastorakis 149e02cf7d Enhance exception throwing with Boost Exception library
Change-Id: I471023fc23ffaebe04d9668426b4c1b03e4919aa
Refs: #2541
2015-08-17 16:17:33 -07:00
Alexander Afanasyev ba3f79ec4f tools: Ensure that ndn-autoconfig quits after successful discovery in non-daemon mode
Change-Id: Ifde24e1800faba630cafb7b04d034b916a6c069d
Refs: #2469
2015-02-02 15:37:20 -08:00
Alexander Afanasyev e46279dc83 tools: Daemon mode for ndn-autoconfig (re-run detection when connectivity changes)
Change-Id: I3cb870b13ba60d255162862c7dd0053ec5b578c4
Refs: #2417
2015-01-31 21:16:39 -08:00
Alexander Afanasyev 2a655f70a1 tools: Refactoring ndn-autoconfig implementation
Change-Id: Ib92942ba40f04aaee83479177b9ba5d32a09af04
Refs: #2421
2015-01-28 14:17:10 -08:00