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
14e71f0fe8
tests+tools: minor code cleanup
...
Change-Id: Ic3356d4a18a8e5eeb45fc076fc0563c3d1549c8a
2019-03-28 18:46:47 -04:00
Davide Pesavento
cf7db2fd83
tests: unit-tests-{core,tools} no longer require a global io_service
...
BaseFixture is moved to tests/daemon and renamed to GlobalIoFixture
Refs: #4528
Change-Id: If9184e9f7f1d6072b0103d3ea3ca6c31a9e505c8
2019-03-26 22:52:16 -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
ashiqopu
c707948105
fw: add FaceEndpoint parameter in Forwarding and Strategy API
...
refs: #4849
Change-Id: Ibe22557488fa83a555fd13d6eb8e03f8d81d0b2b
2019-03-06 02:27:50 +00:00
ashiqopu
d3ae85dbad
pit: add EndpointId field in in-record and out-record
...
refs: #4842
Change-Id: Id4bca4ad9c2d7c8a2fd975c0b052fb9271b6e47d
2019-02-18 00:07:10 +00:00
ashiqopu
3ad49db6ea
fib: add EndpointId field in NextHop record
...
refs: #4284
Change-Id: If0cfc21cfa81d6fa3c1590ecdce8fbbc1ea95e13
2019-01-24 18:07:07 +00:00
Davide Pesavento
87fc0f8d6f
core: drop std::function and ndn::Exclude from common.hpp, add ndn::optional
...
Change-Id: Ie3983d8b6f9929430efd8ada8d942e3f95755cd4
2018-04-12 14:23:40 -04:00
Teng Liang
63086448bf
fw: remove onInterestUnsatisfied pipeline stage
...
Change-Id: Ic008bb26b87db176bac8d51230e53f923b19e5d2
refs: 4290
2018-02-27 13:20:11 -07:00
Junxiao Shi
06a1eab063
fw: Forwarder provides CS hit/miss counters
...
refs #4219
Change-Id: I7058c43bac4a5508d4b9907f6e684663b8953656
2017-09-04 13:13:02 +00:00
Junxiao Shi
fc2e13d58d
fw: replace Link with forwarding hint
...
Forwarding now processes forwarding hint on Interests,
and no longer considers the Link object.
refs #4055
Change-Id: I0331687ee8ec31afa2f1a105e903670689647c4d
2017-07-25 02:08:48 +00:00
Junxiao Shi
2fe3af0577
fw: duplicate Nonce from same face is not loop
...
refs #3888
Change-Id: I973f58281dca32b5f807d7be82a49d04314cbfb1
2017-03-04 17:24:19 +00:00
Junxiao Shi
0e4a1f112d
tests: register instead of install DummyStrategy
...
refs #3868
Change-Id: I5e44582625be51ef874e2a92e4bb7cc22d5b607b
2016-12-24 02:39:01 +00:00
Junxiao Shi
c5f651f014
fw: allow strategies to pick outgoing Interest
...
This commit changes outgoing Interest pipeline and Strategy API,
to give strategies an opportunity to pick an outgoing Interest that
matches the Interest table entry.
No strategy is updated in this commit.
refs #1756
Change-Id: Iffad77ef0078c437070039fca6b24a85df13bda7
2016-11-17 22:58:12 +00:00
Junxiao Shi
e342e8de70
fw: honor NextHopFaceId universally
...
NextHopFaceId usage no longer depends on client-control strategy.
refs #3783
Change-Id: Ie49c453f90fa34b517b576fe401c8e4e8f23eab7
2016-09-18 16:48:00 +00:00
Junxiao Shi
cbc8e947bf
daemon+rib: add proper #include line for NDNLPv2 tags
...
refs #3755
Change-Id: I3ab279405aca7c7139e8d0e8e662eb3ea7200045
2016-09-06 03:17:45 +00:00
Junxiao Shi
cf0f3ce319
fw: move Forwarder::lookupFib to Strategy::lookupFib
...
refs #3664
Change-Id: Ib4dd2354d853f7d6455bf08bb6b863b5f77076c1
2016-09-02 13:01:59 +00:00
Junxiao Shi
b9420cf0c1
fw: accept const shared_ptr<pit::Entry>& in Forwarder pipelines and Strategy actions
...
refs #3205
Change-Id: Ia683fb1a9e301270f99bcdd4d97493abf3dbec9f
2016-08-13 04:38: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
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
a6de4290c8
table: don't use shared_ptr in FIB
...
refs #3164
Change-Id: I5b5eb47d60f6bf5b6389c32ac840f793767e4334
2016-07-12 02:08:10 +00:00
Junxiao Shi
05cc50ae37
fw: Forwarder::lookupFib
...
refs #3664
Change-Id: I0e0cc3de997653c93db9b7c89e81ea73b4fb12ac
2016-07-11 22:38:21 +00: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
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
Junxiao Shi
4846f37117
table: simplify pit::Entry API
...
refs #3546
Change-Id: I6a9cb83b9e56ce1d1bb6047049378c51781605af
2016-04-05 13:39:30 -07:00
Minsheng Zhang
ffe8bbb8aa
table: allow setting CS capacity limit to zero
...
refs #3503
Change-Id: I6e1bfb64ea3a1f31070a7290c250fbcec46623fb
2016-03-10 13:40:37 -07:00
Junxiao Shi
330136a89e
fw: fix PIT leak from DNL-detected duplicate Nonce
...
refs #3484
Change-Id: Id5928356a39b2f8988b6d4969c15ac744d283e3f
2016-03-10 04:53:08 -07:00
Junxiao Shi
cde37ad608
face: face refactoring completion
...
* delete old Face
* rename LpFace as Face
* eliminate LpFaceWrapper and use new Face
refs #3172
Change-Id: I08c3a5dfb4cc1b9834b30cccd9ab634535d0608c
2015-12-24 01:02:05 -07:00
Junxiao Shi
0de23a29c5
face: use IncomingFaceId, NextHopFaceId, CachePolicy tags
...
This commit replaces all LocalControlHeader usages with these tags,
and deletes LocalFace.
This commit also does minor improvements in RIB test suites.
refs #3339
Change-Id: I14cbfc296a6723a5860bf8bd95d9804d3bac3da5
2015-12-03 20:07:02 +00:00
Junxiao Shi
da93f1fd0c
face: LpFace counters
...
FaceCounters for LpFace consist of LinkService::Counters and
Transport::Counters. Old FaceCounters class from 2014 face architecture is
renamed as OldFaceCounters, and can be wrapped with new FaceCounters class.
OldFaceCounters is only used in old Face subclasses.
This commit also updates existing face test suites to use new FaceCounters,
updates ForwarderStatus so that it does not rely on FaceCounters,
and moves the logic of copying face properties and counters into management
structs from face system into FaceManager.
refs #3177
Change-Id: I587e8a32fa72bac3af9d750b2c88342740aa08d6
2015-11-11 06:13:16 -07:00
Junxiao Shi
5e5e445182
fw: Nack in pipelines and best-route strategy
...
* in PIT out-record, add last incoming Nack field
* create incoming Nack pipeline
* create outgoing Nack pipeline
* modify Interest loop pipeline to send Nack upon duplicate Nonce
* in strategy API, add after receive Nack trigger and send Nack action
* in best-route strategy, send Nack-NoRoute before rejecting pending Interest
* in best-route strategy, process incoming Nack
Other changes include:
* Pit::find
* StrategyTester saved arguments structs
* TopologyTester transmit at Transport level
refs #3156
Change-Id: I7868561c0838231083d471261200aeb280cc6e9d
2015-09-26 14:38:03 -07:00
Junxiao Shi
0355e9fd06
fw: Forwarder processes Link for mobility
...
This commit also adds NetworkRegionTable to store producer region names,
and checks packets are well-formed before entering forwarding pipelines.
refs #3034 , #3155
Change-Id: I8de4c482e8a289b922be70139675bc4661f9a301
2015-09-02 07:24:53 -07:00
Spyridon Mastorakis
d0381c05a6
tests: Change to updated naming conventions
...
Change-Id: I9351c669282c3c02fd533237489beeb10fe7d15e
Refs: #2497
2015-02-21 13:02:47 -08:00