Junxiao Shi
5b3feb6008
table: rename StrategyInfoHost::getOrCreateStrategyInfo to insertStrategyInfo
...
refs #3205
Change-Id: Icd3ab9e4fdb5a2ffc39a8d0e0c713e22f13fe28c
2016-08-19 01:51:41 +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
340d5533ea
table: make name_tree::Node the sole owner of name_tree::Entry
...
This commit also improves name_tree::Entry test coverage.
refs #3687
Change-Id: I92375f29fbebab82c67da7dff2ea7a2952ba2cca
2016-08-13 04:00:35 +00:00
Junxiao Shi
7f35843d58
table: NameTree::lookup return Entry& instead of shared_ptr
...
refs #3687
Change-Id: Ie86057337dd36ff2bc6ef3ea0c73fd4ffc4b13d0
2016-08-11 17:06:33 +00:00
Junxiao Shi
811c010098
table: NameTree findExactMatch, findLongestPrefixMatch return Entry*
...
refs #3687
Change-Id: I32752fd711b9641228fbb7f356e72144780cf9ec
2016-08-10 04:12:45 +00:00
Junxiao Shi
e3cf285ee7
table: delete deprecated functions in NameTree
...
NameTree::eraseEntryIfEmpty is renamed to eraseIfEmpty;
the deprecated overload that accepts shared_ptr<name_tree::Entry> is deleted.
name_tree::Entry::getPrefix is deleted in favor of getName.
This commit also improves Doxygen in NameTree class.
refs #3687
Change-Id: Ia98ca676ce6d3bc7b2e97328adccac911c8167d7
2016-08-09 03:50:56 +00:00
Junxiao Shi
b660b4c9c0
table: refactor NameTree hashtable
...
refs #3687
Change-Id: I908c1d7e67da861fc86a756fc0bc69b99ee696f7
2016-08-06 20:47:44 +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
80f9fcdaa1
table: don't use shared_ptr in Measurements
...
refs #3164
Change-Id: I7705d00ac155b15b5db69809610b68e96360a0ae
2016-07-24 22:52:28 -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
a6de4290c8
table: don't use shared_ptr in FIB
...
refs #3164
Change-Id: I5b5eb47d60f6bf5b6389c32ac840f793767e4334
2016-07-12 02:08:10 +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
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
4370fde844
table: fix PIT not matching full name
...
refs #3363
Change-Id: I4ff3d02aaf43c3aaba843cfcf6221c218c1cea99
2016-02-24 13:28:45 -08: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
8c0500fd97
table: fix Measurements::get(Fib::s_emptyEntry) crash
...
refs #3275
Change-Id: Ie630111a3421f470756412896154f8a51f60d23d
2015-11-11 08:30: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
Davide Pesavento
01f8dba914
Use make_unique where appropriate
...
Change-Id: I30c9f0fb2033a810df73a1c9147fcf09d610f763
Refs: #3093
2015-09-19 21:56:34 +02: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
Minsheng Zhang
0315269228
table: add CS policy LRU
...
Change-Id: Ief9e3d993782730069cedc8a99b8011d5d18ce7c
refs: #2219
2015-08-04 12:32:08 -07:00
Minsheng Zhang
cb6e05f2dd
table: add CS policy interface
...
Change-Id: I1946fe03ca00150b1ff9f08acae48c01bc569904
Refs: #1207
2015-06-12 10:03:17 -05:00
mzhang4
eab7249b74
table: change ContentStore lookup API to allow async implementations
...
refs: #2411
Change-Id: Ifbb4179c34cf10a7913f8113a2f9238476d8eafa
2015-03-19 04:59:33 -07:00
Alexander Afanasyev
e84044e87d
tests: Fix segfault in TableNameTree test suite when all test logs are enabled
...
Change-Id: I0acb886d38a09b764cb3e324490a7c52b945d4fa
Refs: #2564
2015-02-27 11:31:19 -08:00
Junxiao Shi
35b16b1984
table: ContentStore recognizes CachingPolicy-NoCache
...
refs #2185
Change-Id: Id3dab8936c4dafc96c5d8933d7e75c6cc2e31ff2
2015-02-21 21:42:11 -07:00
Spyridon Mastorakis
d0381c05a6
tests: Change to updated naming conventions
...
Change-Id: I9351c669282c3c02fd533237489beeb10fe7d15e
Refs: #2497
2015-02-21 13:02:47 -08:00
Junxiao Shi
04cf5a99d9
Merge branch 'feature-cs' into master
...
refs #2254
Change-Id: Iafd4b8d51477fc11340156cc65c2732923e16354
2015-01-22 17:35:49 -07:00
Junxiao Shi
fc20696c59
table: ContentStore enumeration
...
refs #2254
Change-Id: Ic440afea2197f12f7720adb559b836d08e864bed
2015-01-20 12:16:43 -07:00
Alexander Afanasyev
319f2c8dbc
src: Update copyright notices for files modified in 2015
...
Change-Id: Ia52e6e891a06fcc7ace06eafd2fffecd7bd55a95
Refs: #2352
2015-01-19 21:45:21 -08:00
Junxiao Shi
b283128b6f
table: use UnitTestTimeFixture in DeadNonceList test suite
...
refs #2359
Change-Id: I8ccec1970d89268b0550b8b10e87ebd2d594c25e
2015-01-09 19:26:16 -08:00
Junxiao Shi
35353963db
table: MeasurementsAccessor findLongestPrefixMatch & findExactMatch
...
This commit also improves unit testing of MeasurementsAccessor,
and changes signature of MeasurementsAccessor constructor.
refs #2314
Change-Id: Ie0494628c6d3faac0473bc4cfb21998f89270aaf
2015-01-09 14:04:43 -08:00
Junxiao Shi
767cb33632
table: Measurements::findLongestPrefixMatch(pit::Entry)
...
refs #2314
Change-Id: Iebe80240760b22b573da1e6d23b43273ff3efbeb
2015-01-08 09:35:49 -07:00
Junxiao Shi
b30c7b0596
table: accept predicate in Measurements::findLongestPrefixMatch
...
This commit also deletes unused Measurements::s_defaultLifetime constant.
refs #2314
Change-Id: I6ffce7dee828f1f9aa47099777df6ee0615ce4f1
2015-01-07 23:52:58 -08:00
Alexander Afanasyev
c91ebfa900
table: Allow iteration over CS entries
...
Change-Id: I23bf0da9a853de70187c9e72a0f7a5cb98107fbd
Refs: #2340
2015-01-06 10:50:27 -08:00
Alexander Afanasyev
750fa1cf86
table: Allow iteration over PIT entries
...
Change-Id: If48d7f827ccb5df0480cfa27bd2f3db4e3f796fa
Refs: #2339
2015-01-06 10:50:27 -08:00
Junxiao Shi
39ef261a29
table: StrategyInfoHost stores multiple StrategyInfo of distinct types
...
refs #2240
Change-Id: I25062260e3bb4f2f36989305431d4b718d320505
2015-01-04 04:55:45 -08:00
Junxiao Shi
a938818047
table: rewrite ContentStore
...
This is the first of a series of commits that rewrites the ContentStore
with a cleaner design.
refs #2254
Change-Id: I6595dca63137760d2283934a8f311a14dc2183bf
2014-12-15 21:48:30 -07:00
Junxiao Shi
1c93cae6c5
fw: add override specifier to Strategy triggers
...
refs #2281
Change-Id: I5357ac6a93260492900d24c8955fdd7397ef2d27
2014-12-12 06:47:59 -08:00
Junxiao Shi
e368d999a1
table: simplify Measurements with C++11 features
...
This commit also changes TableMeasurements test suite to use UnitTestTimeFixture.
refs #2100
Change-Id: I6af9fbae435fb50d26f6ec54abc7219680c8ade8
2014-12-07 19:56:27 -07:00
Junxiao Shi
4b2e6cb321
table: fix Fib::removeNextHopFromAllEntries invalidating NameTree iterator
...
refs #2177
Change-Id: I19b8234d94b804273404176d6751a91f082653b7
2014-12-03 10:36:27 -08:00
Junxiao Shi
60607c734d
table: make NameTree enumeration usable with range-based for
...
NameTree::fullEnumerate and NameTree::partialEnumerate are changed
to return a type usable with range-based for.
NameTree enumeration test cases are also simplified.
refs #2155
Change-Id: I315d9502d2194670aa7054ab956ededefb0c7ca0
2014-11-29 10:35:06 -08:00
Junxiao Shi
2b73ca3216
table: make NameTree::findAllMatches usable with range-based for
...
refs #2155
Change-Id: I298825145cf544faaeeb9e558f6deb6703d434c0
2014-11-19 09:30:08 -08:00
Junxiao Shi
b2bcbcd866
table: simplify PIT with C++11 features
...
refs #2100
Change-Id: I1159761d9439f0a2ff9f6463f89f39372a696e48
2014-11-14 15:03:18 -08:00
Alexander Afanasyev
3651fd75f7
tests: Marking some cs test cases with expected failures
...
The marked test cases are failing because of the changes with implicit
digest processing.
Change-Id: I6827223c53f576d4377998339cc0e122ae81e52d
Refs: #2157 , #1640
2014-11-10 10:41:47 -08:00
Junxiao Shi
838c4f1a2a
table: simplify StrategyChoice with C++11 features
...
refs #2100
Change-Id: If0082c8561d706df86e92c14cb87762962ff200b
2014-11-09 19:16:07 -08:00