Davide Pesavento
e422f9e1e9
Refactor and modernize namespace declarations
...
Move all unit tests to namespace nfd::tests
Delete unused header core/algorithm.hpp
Change-Id: I5591f0c5f3bb5db67f8b45fae95471f8a555ca68
2022-06-11 20:10:26 -04:00
Davide Pesavento
a3a7a4e330
Use more C++17 features
...
Mainly structured bindings, inline variables, and class template
argument deduction, plus many more smaller things.
Change-Id: I810d17e0adb470426e4e30c898e03b3140ad052f
2022-06-04 20:26:02 -04:00
Davide Pesavento
412c982a63
Reduce usage of std::bind()
...
C++14 lambdas are easier to read, easier to debug,
and can usually be better optimized by the compiler.
Change-Id: I294f275904f91942a8de946fe63e77078a7608a6
2021-07-02 00:21:05 -04:00
Eric Newberry
22974904d3
face: use /run/nfd.sock on Linux
...
refs #5039
Change-Id: I10902725912a8f194ce6da6590378c1029955f80
2020-04-07 19:33:57 -07:00
Jongseok Lee
854866f424
rib: fix logic bug in config file validation
...
Closes: https://github.com/named-data/NFD/pull/9
Change-Id: I3b7c53c475098ec83fd469ceb40a306dfcd80cf3
2020-03-10 20:23:02 -04:00
Teng Liang
18c2b29e41
mgmt: use a separate validator for prefix announcements
...
This commit also configures the default prefix_announcement_validation
section in nfd.conf.sample to accept any prefix announcement.
refs: #5031
Change-Id: I82e34ce783dfe77c170dd02e78a4bc86faa0147a
2019-11-14 14:00:41 -05:00
Wenkai Zheng
6598fb0881
rib: error out if both localhop_security and auto_prefix_propagate are enabled
...
Refs: #4989
Change-Id: Ib742880736a8f5c25e2531d2669a8b993f9f1cd6
2019-10-31 23:13:51 -04:00
Davide Pesavento
2cae8cacf0
core: move nfd-specific files to daemon/
...
Refs: #4922
Change-Id: I2243dbb87c63f9cbaf7d7051d7a0d4bca2f9fdb5
2019-04-21 22:15:03 -04:00
Davide Pesavento
0a71dd3a00
mgmt+rib: use getScheduler() in RibManager and Readvertise
...
Refs: #4528
Change-Id: Ie6dd2b0fbe5d57cd7878d86b0185ae5d9bd92cf0
2019-03-19 16:05:24 -04:00
Davide Pesavento
3dade00499
core+daemon: eliminate scheduler::{schedule,cancel} wrappers
...
Also move core/global-io.hpp to daemon/global.hpp
Refs: #4528 , #4883
Change-Id: I0b99029f1a19d7451aab57099cd3303b7eb42ff3
2019-03-19 11:29:56 -06:00
Davide Pesavento
1b077f6028
rib: move entire subdir to daemon/rib
...
Refs: #4528
Change-Id: I7de03631ddef0f014f12f979373aa449f42486d1
2019-02-21 12:37:03 -05:00