summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-11-14[HICN-392] Assign independent suffixes for manifests/contentsOlivier Roques9-42/+270
This patch introduces a new class, SuffixStrategy and two sub-classes, SuffixContent and SuffixManifest which allow to independently assign suffixes to contents and manifests respectively. The produce() function in socket_producer.cc has also been changed to use them. Given a strategy and an offset (and optionally the capacity of a manifest), these classes automatically compute the correct next suffixes for both type of data (manifest or content). This removes the burden of having to manage suffixes for instance when producing or when retrieving content, and could be expanded to add more strategy in the future. Currently the only existing strategy is "INCREMENTAL": manifests with capacity N have a suffix multiple of N+1: 0, N+1, 2(N+1) etc. Contents have a suffix incremented by 1 except when it conflicts with a manifest: 1, 2, ..., N, N+2, N+3, ..., 2N+1, 2N+3... Signed-off-by: Olivier Roques <olvrqs@gmail.com> Change-Id: Ia7692d7325240de7bea6e38b668077042e5f8758 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-12Merge "[HICN-376] Add manual connection/route setting to face manager"Michele Papalini21-205/+1317
2019-11-12[HICN-389] facemgr calls unregister_all multiple times in case of errorJordan Augé1-1/+0
Change-Id: Iaac34a53ae95b511594a5dcd6b1e614eba9ff135 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-12[HICN-376] Add manual connection/route setting to face managerJordan Augé21-205/+1317
Change-Id: I5c24f687e8e815d0e2f437ff8ce7fbb2c76e0579 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-11Merge "[HICN-383] Code cleanup"Jordan Augé2-36/+39
2019-11-08[HICN-385] fix route removal in hicnctrl, code uniformization in hicn-light ↵Jordan Augé31-332/+616
control api Change-Id: Id097368dcde993775f206623195cc5aa57b4fe12 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-05[HICN-383] Code cleanupJordan Augé2-36/+39
Change-Id: I41ca0f411053992625dec0b32ffe6a444c5bc51c Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-05[HICN-382] Misc compilation issues on MacOS (incl. Catalina specific code)Jordan Augé4-20/+20
Change-Id: I4cb2378b2e44afbaedb984409a221b2e3f0e99b4 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-05Merge "[HICN-372] Code clean up"Jordan Augé8-26/+38
2019-11-05Merge "[HICN-380] add libhicnctrl example (create face)"Michele Papalini2-0/+154
2019-11-05[HICN-380] add libhicnctrl example (create face)Jordan Augé2-0/+154
Change-Id: I230d4cc51710fa4ce7ce24c97cd72b1fc7d1f573 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-04[HICN-262] Fix binary api to prevent byteswapping of ip addresses in vapiAlberto Compagno39-526/+533
Change-Id: If3f9a7db1e1310fdc08d1003b28e5e1d4006b61e Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-04[HICN-357] sysrepo plugin updatemasoud6-37/+22
Signed-off-by: masoud <mhemmatp@cisco.com> Change-Id: Idabe9d3a3b03139ad3cdb20c8c822e6dd7d4c553
2019-11-04Merge "[HICN-356] Fix uninitialized pointer"Alberto Compagno1-0/+2
2019-10-31[HICN-371] Fix invalid read reported by Valgrind when many timeouts happen.Mauro Sardara1-2/+3
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ib31e731c02341234169bd5163eb86fe1da900e40 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-10-31[HICN-356] Fix uninitialized pointerOlivier Roques1-0/+2
The signature verification method verify() in verifier.cc would try to initialize a pointer to the current packet's payload, which was never set in the first place. This fix calls the packet's method responsible for initializing that pointer. Signed-off-by: Olivier Roques <olvrqs@gmail.com> Change-Id: Ie5ab08036186ea4b766f6825c129ee68d01fc2b6
2019-10-31[HICN-372] Code clean upJordan Augé8-26/+38
Change-Id: Ic0ce2d01a05c2724eeaf91f76aafa2facedcbaf3 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-31Merge "[HICN-220] Build for arm64 Ubuntu18"Mauro Sardara1-2/+2
2019-10-31Merge "[HICN-371] Solve memory leaks in libtransport."Jordan Augé4-10/+30
2019-10-31[HICN-220] Build for arm64 Ubuntu18Angelo Mantellini1-2/+2
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I23dfdbfc79a8e0bf385ae8ab0d56b90fecaf8c53 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-10-31Merge "[HICN-354] Fixed bug on raaqm when reassemblying packets"Michele Papalini5-106/+61
2019-10-31[HICN-371] Solve memory leaks in libtransport.Mauro Sardara4-10/+30
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I654843c3361c7bdb4b160f2441f08e8d91e97384 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-10-31[HICN-354] Fixed bug on raaqm when reassemblying packetsAlberto Compagno5-106/+61
Moved rescheduleOnIOService in the header file to allow its usage together with inheritance Change-Id: I15e4b92535e1478d0dd09828d2d13e2b77e000b3 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-31Merge "[HICN-369] Implement reconciliation state machine in face manager ↵Jordan Augé25-489/+1066
incl. reattempts in case of errors"
2019-10-31[HICN-369] Implement reconciliation state machine in face manager incl. ↵Jordan Augé25-489/+1066
reattempts in case of errors Change-Id: Ia4ecf621fbd513d9e29313d2aaa487aa65811183 Signed-off-by: Jordan Augé <jordan.auge@cisco.com>
2019-10-31[HICN-361] speed up the socket start upmichele papalini1-16/+31
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Id8f59c9c52d7c1fa21edbae9ee1b965b25fe6800
2019-10-31[HICN-318] schedule rounds using timers in rtc conusmermichele papalini2-15/+13
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I2e52d002533706abdd82fbca5ebb80e81374de86
2019-10-30[HICN-220] Build for arm64 Ubuntu18Angelo Mantellini1-1/+4
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ie41760070d027d2b28c9eb8b7c27ad5438c746ae
2019-10-30Merge "[HICN-363] Fix memory leaks"Jordan Augé15-120/+193
2019-10-30[HICN-363] Fix memory leaksJordan Augé15-120/+193
Change-Id: I7617becdb520f20caca341be11fbb8c1054de021 Signed-off-by: Jordan Augé <jordan.auge@cisco.com>
2019-10-30[HICN-360] retransmit pending interests when all of them get lost without ↵michele papalini2-8/+105
wainting for the timeout Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I84074d106bf2cfd3f7a3fb02947198179b0b5b74
2019-10-30Merge "[HICN-366] Installing python3-ply"Alberto Compagno1-1/+7
2019-10-30[HICN-366] Installing python3-plyAlberto Compagno1-1/+7
Adding missing python3-ply package on the build-package script Change-Id: I3fa536483bb3e8f3a6bd81011515172b00cce4ff Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-25Merge "[HICN-358] Enable systemctl service after package installation."Jordan Augé7-4/+35
2019-10-25[HICN-358] Enable systemctl service after package installation.Mauro Sardara7-4/+35
Change-Id: I1c9a7099fbf59c09fb22475e9695373f316d0b6e Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-10-24Merge "[HICN-355] Update Readme with missing dependency"Alberto Compagno1-1/+2
2019-10-24[HICN-355] Update Readme with missing dependencyAlberto Compagno1-1/+2
Change-Id: Ibb709d45f9572e5cde11f9a64f4a1b9212b6cc92 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-23Merge "[HICN-351] Support for new RemoveListener API in libhicnctrl + added ↵Jordan Augé1-1/+1
missing commands in CLI"
2019-10-24[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing ↵Jordan Augé1-1/+1
commands in CLI Change-Id: I999b8321715fca1d09f89eacf7fac4029e32cbba Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-23Merge "[HICN-351] Support for new RemoveListener API in libhicnctrl + added ↵Jordan Augé2-10/+10
missing commands in CLI"
2019-10-24[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing ↵Jordan Augé2-10/+10
commands in CLI Change-Id: I2a5d04d6fab06344e5b89ea52d76c7a3f016004c Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-23Merge "[HICN-351] Support for new RemoveListener API in libhicnctrl + added ↵Jordan Augé4-102/+414
missing commands in CLI"
2019-10-24[HICN-352] facemgr event loop enhancement; timer support & async hicn-light ↵Jordan Augé30-961/+2069
interface Change-Id: I920a0eb091d826e1eb0d1f786fb0b437487f7ff7 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-23[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing ↵Jordan Augé4-102/+414
commands in CLI Change-Id: Ifc743b65493b87a5156bca7ad63f8cae516460d8 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-23Merge "[HICN-350] Minor cleanup in control API"Mauro Sardara10-61/+65
2019-10-23Merge "[HICN-349] Asynchronous API for libhicnctrl"Mauro Sardara2-0/+447
2019-10-23[HICN-349] Asynchronous API for libhicnctrlJordan Augé2-0/+447
Change-Id: I901ef6cd52d83537d70e3bb49af9e4540fd26c6f Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-23[HICN-350] Minor cleanup in control APIJordan Augé10-61/+65
Change-Id: I5c3705aa439a1cf6bdca915f82c0c014771cc542 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-23Merge "[HICN-319] facemgr should allow face creation even though already in ↵Mauro Sardara6-36/+110
cache"
2019-10-23[HICN-349] Asynchronous API for libhicnctrlJordan Augé3-300/+715
Change-Id: I00f68cab6d23fe95639684de69cc4a086db60c02 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>