aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light
AgeCommit message (Collapse)AuthorFilesLines
2021-06-24[HICN-712] Fix listener table retrievalhicn-light-ngEnrico Loparco (eloparco)6-16/+70
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I8cd7c37a570011c2215255fab5e020291dfd0ef7
2021-06-24[HICN-711] Add tests for listener table and size check in bitmapEnrico Loparco (eloparco)6-20/+113
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I573477186fc9f0c294975b15b1c908444d5c5559
2021-06-24[HICN-710] Add support for new route creationEnrico Loparco (eloparco)5-24/+33
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: Ib3b6fa8260f3f2475ad5b6e4147c1f7116b11dc4
2021-06-24[HICN-709] Fix bugs in listener and connection tables and add unit testsEnrico Loparco (eloparco)10-11/+177
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: Idf86a3c6a1dd50d29c1a245a00352a553a5fdb42
2021-06-24[HICN-707] Add function for IP addr to string conversionEnrico Loparco (eloparco)5-19/+46
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: Ie9226963a6459661918678a3b1723bf87a2b15ab
2021-06-24[HICN-555, HICN-556] Add loop utility function and fix memory bug in bitmapEnrico Loparco (eloparco)4-8/+32
A helper function is added to the loop class to allow loop exit after empty event queue. This function is used when running tests. Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I7bbab32a7d7f53365439f0fba2b9a030d34ac823
2021-06-24[HICN-708] Rebase with masterEnrico Loparco (eloparco)19-450/+58
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I2122e1d61dd3b2e039972624ffbdbcb3c5610159
2021-04-03[HICN-558] Fix bug in pool_put and add tests for several pool_get / pool_putEnrico Loparco (eloparco)2-5/+40
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: Ie0ee6d17ab87586143ecf07e648d22b3af72bbcd
2021-03-31[HICN-558, HICN-556] Fix bugs in pool and bitmapEnrico Loparco (eloparco)4-13/+11
Fix element size in pool. Solve realloc problem in bitmap. Use the object size (not its pointer) when adding an object to the pool. Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: Id338e403b09bb22f3a326d2cb28cf09300c0de33 Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com>
2021-03-30[HICN-555] Fix loop data structure and khash initializationsEnrico Loparco (eloparco)4-17/+15
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I496315ede9b9e9ee2aed79a697e217b8c8b1c211
2021-03-30[HICN-645] Fix data structures to support hicn-light-daemon and ↵Enrico Loparco (eloparco)19-109/+123
hicn-light-control communication The daemon should be able to start, receive commands from hicn-light-control and execute them. Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I0ca5bb3d9bdfb37ac8cfa9f671f6c162c9a394f5 Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com>
2021-03-19[HICN-645] Control plane (WIP)Jordan Augé58-1065/+2322
Change-Id: I4be6a40b690b62f22f57de6d8c10b01a1be42a6d Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com> Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-09-28[HICN-570] Message buffer (incl. CS and PIT changes)Jordan Augé53-1218/+2090
Change-Id: I4c508e4b04dee3acbfc3da1d26e1770cb826f22b Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-09-21[HICN-563] listener and connection tablesJordan Augé9-104/+421
Change-Id: I88b85a61908d97bda1afb08d31c3bf10b4d9c5c5 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-09-18[HICN-555] Base data structures: vector, bitmap, pool (code + doc)Jordan Augé6-111/+492
Change-Id: I30b559974d4bdf57eb458f1c43a71f47598c2e70 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-09-18[HICN-636] correct bitmap testAngelo Mantellini1-12/+12
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Id5ffd685ad23530bb93011c1639920faea45639a
2020-09-18[HICN-636] add gtests for vector, pool, hash, khash, bitmapAngelo Mantellini9-6/+469
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I6f3dd773a520ac3f4c4c2e69988082ba326cd61e Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
2020-09-09[HICN-636] Add gtest framework and first tests for loop.Mauro Sardara7-5/+334
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I133c8adda125c430aa9c4a35fb63bf1d8585afe9 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-09-09[HICN-555] Reworked loopMauro Sardara15-315/+235
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ia837da43b797a3f4d30d832e7ad2b0ec8cc3fefe Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-04-27[HICN-554] hicn-light refactoringAngelo Mantellini205-23995/+14207
Change-Id: I36f2d393741d4502ce14d3791158e43e3e9cd4cf Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-03-31[HICN-581] update hicn stack to support windows, againAngelo Mantellini6-15/+23
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ic5cfeae600fde8140a076807fa1e411da1933a02
2020-03-17[HICN-552] don't use hicn socket on apple OSAngelo Mantellini3-4/+9
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ib555fb14d3240c85f5aa4eef065faad8f2ff9795
2020-02-13[HICN-518] new API in hicn-light to allow a producer to force MAP-Me ↵Jordan Augé6-25/+79
messages to be resent Change-Id: I2e17250c5e4f78341966507a4bf04d09b84bb9d0 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-02-12[HICN-512] documentation bundle using sphinxLuca Muscariello1-299/+0
Change-Id: I1dcbca50f7406ef2714683547b6bb32463e1baf8 Signed-off-by: Luca Muscariello <muscariello@ieee.org>
2020-02-06[HICN-507] RTT estimation at packet receptionmichele papalini1-2/+2
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I268370efd91a702c00bbea4b73dff9dfddbe7171
2020-02-03[HICN-489] Add iOS support to hicn stackAngelo Mantellini8-25/+30
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I8fa8c4eaa3218eb4be46f713b15ab789c6930aa0
2020-01-24[HICN-483] log strategy decisions using hicn-light logmichele papalini1-1/+1
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ic4bec67ed69170eb6585610d5a2833bc6d2e563f
2020-01-22[HICN-483] log strategy decisions using hicn-light logmichele papalini3-22/+34
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I70959ca8b534aea4682175cd755523201a5dc51b
2020-01-22[HICN-482] trigger map-me updates from the forwarding strategymichele papalini6-22/+107
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Icc41824f2f29580229ce8b3ce066f121870e012d Signed-off-by: michele papalini <micpapal@cisco.com>
2020-01-21[HICN-481] Add APIs to trigger MAP-Me updatesJordan Augé4-21/+35
Change-Id: I6faefcdcbd6a0e5786b57ca5403804a8fe31dd0d Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-01-21[HICN-442] new forwarding strategymichele papalini34-1459/+1622
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I62c03bddedc83e523fc60f4b50d2c69e38b50318 Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Signed-off-by: michele papalini <micpapal@cisco.com>
2020-01-20[HICN-480] add related prefixes to the forwarding strategy commandmichele papalini7-48/+137
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Id1bb559351d3f1f8af76326798740d6b13760e55 Signed-off-by: michele papalini <micpapal@cisco.com>
2020-01-09[HICN-469] execute hicn-light-control from remotemichele papalini5-30/+52
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I2a23a5f7648614213b83e2409e2ff3784b083758 Signed-off-by: michele papalini <micpapal@cisco.com>
2020-01-09Merge "[HICN-467] Priority settings on interfaces yet to be created should ↵Mauro Sardara2-2/+4
be cached for further application"
2020-01-09[HICN-468] FIB entry improperly cleared by MAP-Me in multihoming situationsJordan Augé1-2/+2
Change-Id: Ibf57032fccb8ea09322a2b4f447ea24db7b69986 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-01-07[HICN-467] Priority settings on interfaces yet to be created should be ↵Jordan Augé2-2/+4
cached for further application Change-Id: Ieeff69ee841583e40f5547f6f958ef964f42b4e5 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-15[HICN-460] Check of parchashmap before creating iteratorAngelo Mantellini2-30/+33
Change-Id: I559e86e269026be601a5735f77bbcfac40f24694 Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
2019-12-14[HICN-455] libhicnctrl incorrectly handles absence of forwarder in ↵Jordan Augé1-2/+7
synchronous mode after it has connected Change-Id: I3999c4f8706d3df6a003ebf2574bc20c41ce102a Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-13[HICN-454] Use-after-free during LRU eviction in hicn-light Content Storemichele papalini1-0/+5
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I18e6d6612a45cd8fb7a46155760b94e0fe4e2bbe
2019-12-13[HICN-420] MAP-Me code refactoring & face manager changes in support of mobilityJordan Augé2-0/+12
Change-Id: I78c37aa274a98089b994348e31e06418c7945d24 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-12[HICN-451] libhicnctrl creates collisions in created connection names when ↵Jordan Augé1-1/+1
two instances are started in the same second Change-Id: I70ccaf9199aa50074501d368d189c01521f37971 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-12Merge "[HICN-420] MAP-Me code refactoring & face manager changes in support ↵Jordan Augé1-0/+3
of mobility"
2019-12-12[HICN-420] MAP-Me code refactoring & face manager changes in support of mobilityJordan Augé1-0/+3
Change-Id: I0ee0c7e744c71d0345386c2886b0d6cfa05c07d1 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-12[HICN-450] Build hicn-light-control executable for android.Mauro Sardara1-26/+20
Change-Id: I222132401e225af63f2993b1794120e63d473cfe Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-10[HICN-430] Rework on CMakeMauro Sardara1-3/+4
Change way targets are defined: each project defines targets. Fix project BUILD flags Add build-extras bash script Rework build tree of extras folder, using ExternalProject_Add Change-Id: I82fa29896e54c8a033490eba013c3f0431bec9d0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-05[HICN-420] MAP-Me code refactoring & face manager changes in support of mobilityJordan Augé13-162/+273
Change-Id: Ifde50b4c161d1bda1326f18b705f575e539aea71 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-21[HICN-379] Add face priority support in face managerJordan Augé4-12/+6
Change-Id: Iae19e016aae833b4bc95ff6d91d51b188f398e25 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-19[HICN-400] fix NULL content name in PIT entry (temporary workaround)Jordan Augé1-0/+5
Change-Id: I6a1d93a4e6beb78741d8243fc78d6ecff77b9034 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-18[HICN-379] Add face priority support in face managerJordan Augé1-2/+2
Change-Id: I1055e49c93e81105996a77c088fafd4b55fdc337 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-17[HICN-379] Add face priority support in face managerJordan Augé13-7/+229
Change-Id: If4f75d44fc66414a4a70135de7827f5082b97112 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>