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
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
Junxiao Shi
042a331582
table: attach PIT entry to NameTree node within depth limit
...
refs #4262
Change-Id: I64d76a337c3b491efa2f93c803046cea70c87000
2017-09-15 02:51:20 +00:00
Eric Newberry
f4056d0242
cs+fw: omitted FreshnessPeriod implies always stale
...
refs #3944
Change-Id: I018242b3ba5850e8a126f956af4150b512406efd
2017-05-26 17:31:53 +00:00
Junxiao Shi
a274292b93
table: pit::Entry checks Interest matches entry when updating in/out-record
...
pit::Entry::canMatch is the single place to determine whether an Interest
matches an Interest table entry. This condition is asserted when an in/out-
record is inserted or updated. This prevents a strategy from incorrectly
picking an Interest that is incompatible with the Interest table entry.
refs #1756
Change-Id: Ibf61a0e2e32b7a0e04e581f01ef07b791c6010a2
2016-11-17 22:53:23 +00:00
Junxiao Shi
dbef6dc8e2
table: Pit::erase accepts Entry* instead of shared_ptr
...
refs #3164
Change-Id: I9ff47c80865da42b09870c632707dffd78ed76b9
2016-08-15 02:58:36 +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
2879779804
table: fix Pit::find leak of NameTreeEntry
...
refs #3619
Change-Id: If1043a08c9f4f8bb53cad77d2b6f21991553e1cc
2016-05-26 18:10:18 +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
Junxiao Shi
4846f37117
table: simplify pit::Entry API
...
refs #3546
Change-Id: I6a9cb83b9e56ce1d1bb6047049378c51781605af
2016-04-05 13:39:30 -07:00
Junxiao Shi
fef73e4b86
table+fw: move forwarding semantics out of PIT entry
...
refs #3546
Change-Id: I1e6f87fd81176c116b6d758156da1cf96ea03608
2016-03-29 14:15:05 -07:00
Junxiao Shi
4370fde844
table: fix PIT not matching full name
...
refs #3363
Change-Id: I4ff3d02aaf43c3aaba843cfcf6221c218c1cea99
2016-02-24 13:28:45 -08: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
Spyridon Mastorakis
d0381c05a6
tests: Change to updated naming conventions
...
Change-Id: I9351c669282c3c02fd533237489beeb10fe7d15e
Refs: #2497
2015-02-21 13:02:47 -08:00