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
Junxiao Shi
38f4ce9f25
tools: refactor nfd-status
...
refs #3658
Change-Id: Ia347074bea802eba5f539208e276e849a60db8a4
2016-08-04 10:01:52 +00:00
Junxiao Shi
9cff779038
table: pit::FaceRecord stores Face& instead of shared_ptr
...
refs #3164
Change-Id: Ib23ab2341a37213fee791f2070f13b76da851d53
2016-08-01 21:45:11 +00:00
Junxiao Shi
02b73f5705
table: delete PIT in-record and out-record when face is destroyed
...
refs #3685
Change-Id: I3c20417c9a30db69c90c9d59a30af1529bc1f98e
2016-07-28 01:48:27 +00:00
Junxiao Shi
2570f3ec4f
table: NameTree code style corrections
...
refs #3687
Change-Id: I25cfac1d8b11236c251c2ab717facb82b62dcb10
2016-07-27 02:48:29 +00:00
Junxiao Shi
dcffdaafb5
fw: decouple Forwarder and FaceTable
...
refs #3679
Change-Id: I449e20e58a0a67a7172bdf3ab02b0d655149690f
2016-07-26 02:23:56 +00:00
Junxiao Shi
80f9fcdaa1
table: don't use shared_ptr in Measurements
...
refs #3164
Change-Id: I7705d00ac155b15b5db69809610b68e96360a0ae
2016-07-24 22:52:28 -07:00
Junxiao Shi
71d12148c8
daemon: display extended exception information in NfdRunner::run
...
refs #2541
Change-Id: I1fdc22571e7bce74d430b7938951170765b72bff
2016-07-23 20:10:18 +00:00
Junxiao Shi
d23de8b9ef
tests: don't inline functions in test-common.hpp
...
This commit also adds a signData(Data&) overload.
refs #1694
Change-Id: I8e3ff5be7c6734dec8b481d6c20eb6b6eaef0725
2016-07-23 20:05:42 +00:00
Eric Newberry
4a4ccfe7d6
face: Set FaceScope to local for IPv4-mapped IPv6 loopback addresses
...
refs #3682
Change-Id: I33c22d3585c8fee081b1317cdd6587ec0f0e4ef5
2016-07-23 09:40:27 -07:00
Junxiao Shi
5149320e5b
tools: don't use deprecated ndn::encoding::dataBlock
...
refs #2950
Change-Id: Ibda4af7ab50df5a7f5700d7db5de1da938b7e020
2016-07-23 02:03:08 +00:00
Eric Newberry
cb27ea8185
build: Fix build issue with Boost.Asio on Ubuntu+clang
...
refs #3588
Change-Id: Ica155f22fa615eed8a14b5765cdce0f6e480b1de
2016-07-20 19:59:57 +02:00
Junxiao Shi
ae04d34c17
fw: FaceTable signals use Face& instead of shared_ptr
...
refs #3205
Change-Id: I53ecd0d6a13d379eb1dfb872041bdde8501f05e7
2016-07-19 13:20:22 +00:00
Junxiao Shi
b84e6743be
fw: FaceTable iterator dereferences to Face& instead of shared_ptr
...
This commit also improves the speed and reliability of
Mgmt/TestFaceManager/CreateFace test suite.
refs #3205
Change-Id: Idd013488ced2d7f8072ef8a3d910f94da2e0c8ac
2016-07-19 13:16:22 +00:00
Junxiao Shi
5b43f9a74d
fw: FaceTable::get returns Face* instead of shared_ptr
...
refs #3205
Change-Id: I1c61493382fe065389266ff3519ab2b265fe4f79
2016-07-19 13:15:56 +00:00
Junxiao Shi
581cf00ee8
core: fix NFD_LOG compilation error with Boost 1.59
...
refs #3674
Change-Id: I58ea54478cc333fbfb57c8319d0ccd94c944c75f
2016-07-18 11:48:20 -07:00
Junxiao Shi
a49a1abf12
table: StrategyChoice uses unique_ptr instead of shared_ptr
...
refs #3164
Change-Id: Id3110f72aab83982b0768e596a04bad9f7336975
2016-07-15 18:24:36 +00:00
Junxiao Shi
3978c92af1
table: fix uninitialised memory error in DeadNonceList test suite
...
refs #2359
Change-Id: I90c1597e4b49edc036cad8225f85edb9ed1437a6
2016-07-15 18:24:11 +00:00
Junxiao Shi
221b6fec69
tests: don't use makeDummyClientFace
...
refs #3383
Change-Id: I1803a6f482a4e6bf43363cd08a73c4bbcb26d0a2
2016-07-14 18:21:56 +00:00
Junxiao Shi
ff10da6575
table: attach unique_ptr<strategy_choice::Entry> onto NameTree
...
refs #3164
Change-Id: I5cce7e43dba77cdaaa07347ec7ffca13f242113c
2016-07-13 17:57:43 +00:00
Junxiao Shi
af9aa366fd
docs: ndn-tlv-ping => ndn-tools in INSTALL
...
refs #2525
Change-Id: I4c137dc838f399bab3dc1dc4128ea4e39d003b13
2016-07-13 13:18:07 +00:00
Junxiao Shi
a6de4290c8
table: don't use shared_ptr in FIB
...
refs #3164
Change-Id: I5b5eb47d60f6bf5b6389c32ac840f793767e4334
2016-07-12 02:08:10 +00:00
Junxiao Shi
8d843148d2
fw: eliminate fibEntry in Strategy API
...
Strategy::lookupFib can be used to obtain FIB entry.
FIB lookup is skipped when strategy does not need it.
refs #3205
Change-Id: Icba67229cbc261d9def44ffa91461ea4b09982b2
2016-07-11 22:42:42 +00:00
Junxiao Shi
05cc50ae37
fw: Forwarder::lookupFib
...
refs #3664
Change-Id: I0e0cc3de997653c93db9b7c89e81ea73b4fb12ac
2016-07-11 22:38:21 +00:00
Junxiao Shi
b260017fec
rib+tools: delete NRD
...
refs #3570
Change-Id: I9a6e8eb6c74ea5e09a2e724805f07ca4e58af51c
2016-07-11 08:53:53 +00:00
Vince Lehman
8a4c29e8db
fw: Adaptive SRTT-based Forwarding strategy
...
refs: #3566
Change-Id: Idae198bb0c2ae25e25aeceec0552b1c11be89c14
2016-07-11 08:49:35 +00:00
Junxiao Shi
fde3f54d67
rib: register /localhost|localhop/nfd/rib in FIB
...
refs #2857
Change-Id: If3a471c1c5dbe514929ce5d02a4741960dedc02b
2016-07-10 19:54:53 +00:00
Yanbiao Li
cf0db02ced
rib: refactor RibManager to use ManagementDispatcher
...
Change-Id: I3f689de7d043e85531f0b3f4accf65345cde5d9e
refs: #2857
2016-07-09 09:43:19 +08:00
Eric Newberry
25a84074ab
websocketpp: Update WebSocket++ to version 0.7.0
...
refs #3588
Change-Id: Ief26695554bf0bfff374ba47496aaf9b75f9c630
2016-06-20 20:13:33 -07:00
Junxiao Shi
891f47bcfa
fw: outgoing Interest pipeline prefers newest in-record
...
refs #3642
Change-Id: I591a9a9c2efdcb4607b69f2c3be584110f9e14aa
2016-06-20 00:02:11 +00:00
Junxiao Shi
d41d6077ce
fw: use UnitTestTimeFixture in Forwarder tests
...
refs #3642
Change-Id: I284716a6e6b4bd83bd9eaf9e952f4b966f0d57e5
2016-06-19 23:35:27 +00:00
Alexander Afanasyev
3d1874af59
build: Adjust order of link flags
...
The previous order of flags (unintentionally) had `-lboost_log` flag
specified before `-lndn-cxx`. Incidentally, the order adjustment avoids
a symbol collision between the two libraries that prevented nfd-status
and nfdc from working on Ubuntu 14.04. A proper fix will follow (see #2859 ).
Change-Id: I68a5d37b013c1bf91b25e707a04ab1f66298a7f4
Refs: #3650
2016-06-19 12:30:15 -07:00
Alexander Afanasyev
6ca6cf7474
core: Specify fully-qualified namespaces in logging macros
...
Without the full specification, compilation may fail if the logging
used outside ::nfd namespace, e.g., in NFD tools.
Change-Id: I24d733acf920bc90521ac457ae1fe6c846a1fe3e
2016-06-17 16:24:01 -07:00
Alexander Afanasyev
67079664ae
ci: Add installation of openssl dependency
...
Change-Id: Iea19a3a617d770687b4f131a068601255a6c94cf
Refs: #3643
2016-06-15 12:36:08 -07:00
Weiwei Liu
f5aee94f15
tests: fix running with non-root user
...
Refs: #3418
Change-Id: If7f5c05baaff0cf748c87c77057517928539df0d
2016-05-31 11:44:00 -07:00
Junxiao Shi
2879779804
table: fix Pit::find leak of NameTreeEntry
...
refs #3619
Change-Id: If1043a08c9f4f8bb53cad77d2b6f21991553e1cc
2016-05-26 18:10:18 +00:00
Junxiao Shi
b184e5324d
table: NameTree::getEntry
...
NameTree::get is renamed to NameTree::lookup.
NameTree::getEntry is introduced to return the NameTreeEntry on which a table entry is attached.
tableEntry::m_nameTreeEntry is changed to weak_ptr to avoid circular shared_ptr reference.
refs #3608 , #3619
Change-Id: I425b6a2eb5fe3024bbaff4ff766eb6739be54b02
2016-05-26 18:09:57 +00:00
spirosmastorakis
ff920303df
table: fix Pit::erase crash when Interest name contains implicit digest
...
refs #3608
Change-Id: I41e0cd327b9dcc5f2d3a83f4cebff40c2d302fc1
2016-05-26 18:09:31 +00:00
Alexander Afanasyev
e0d71b0bc0
build+tests: Correct detection of privilege elevation/drop and the corresponding test case
...
Change-Id: I005c2846474a00aeeb3e63a1e9761a3f8bc0a572
Refs: #3494 , #3632 , #3633
2016-05-25 19:07:11 -07:00
Yumin Xia
ab49745afe
core: use Boost.Log for logging
...
This makes the logging backend asynchronous
Change-Id: Ib3417e2ae424c5ae7237c071dc4698ca9769a33c
Refs: #2513
2016-05-11 11:33:13 +08:00
Weiwei Liu
ace83ac938
tools: display Nack counters in nfd-status
...
refs #3569
Change-Id: I59e76d421502417a13efbf088284d278da07bae4
2016-04-27 12:15:54 -07:00
Spencer Lee
75142a10be
face: improve UnixStreamChannel test suite
...
Change-Id: I41eaa3c7d1dea9effdc2e597926b110c9a703084
Refs: #3372
2016-04-27 12:15:06 -07:00
Davide Pesavento
b84bd3a8c4
common: remove DECL_FINAL/OVERRIDE macros; use C++11 keywords directly
...
Change-Id: I71a148b0df7c95387b2caa8e2b9fe93b03ca2399
Refs: #3599
2016-04-27 12:15:06 -07:00
Davide Pesavento
cafae24473
build: require gcc >= 4.8.2 and boost >= 1.54.0
...
Change-Id: I6778f55f43e517a3d1d28387e953412a5292f063
Refs: #3599
2016-04-27 12:15:06 -07:00
Davide Pesavento
cc7bee7d80
docs+ci: Ubuntu 12.04 is no longer supported
...
Change-Id: I423a0f22662383f52413d12dc26d2a4ed08579e2
Refs: #3599 , #3600
2016-04-27 12:15:06 -07:00
Alexander Afanasyev
6602b3b179
ci: Update Travis-CI to use Ubuntu Linux 14.04 (trusty) and OS X 10.9 VMs
...
Due to resource constraints, this commit also makes Travis-CI to build
only once (debug, without precompiled headers, with tests).
Change-Id: I65ec64bca545093efae384dd00b51bbeaf7d9b65
Refs: #3360
2016-04-26 18:43:19 -07:00
Weiwei Liu
4f1afaca16
tests: face system benchmark
...
Change-Id: Ia2d9125486c57f949e5c855ae6b8d95ffd5aa6e3
Refs: #3567
2016-04-17 20:53:55 -07:00
Yumin Xia
d72f092052
tests: PIT and FIB benchmark
...
Change-Id: I906f82f42dc6ca5dbf0871fae99c47fdda62c7a5
Refs: #3571
2016-04-14 09:00:55 -07:00
Junxiao Shi
8744c97a4d
fw: hasPendingOutRecords considers Nack
...
refs #3545
Change-Id: I986187f58e60090518df2a55a8bd9c1f05771b03
2016-04-12 16:20:35 -07:00
Yanbiao Li
df846e5904
core: allow ManagerBase be inherited by RibManager
...
Change-Id: Ie2613e32460fb109a9f9302a0cc4b4b3400ba9f4
refs: #2857
2016-04-12 14:10:55 -07:00