summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2020-07-17[HICN-633] compute the correct data packet size in hiperfmichele papalini1-1/+4
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: If3492136cfc41da94d4d80538694eae4428c6f8c
2020-07-17[HICN-632] Do not send packets larger more than 1400 bytes over RTC socketMauro Sardara1-217/+236
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ib0a3fbdd35d451c1892b66b22f1599141b92e213 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-04-11[HICN-595] Bring TLS up to dateOlivier Roques1-248/+231
HICN-2 would enable TLS only if OpenSSL 1.1.1 was present. However the mechanism to do so was broken and hiperf always ended up using normal consumer and producer sockets. This patch fixes that by updating the build files. It also fixes various bugs in the TLS implementation that went unnoticed and cleans up the code. Change-Id: Ifda75a9929e14460af43fe79d737d0c926bb671e Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-03-31[HICN-581] update hicn stack to support windows, againAngelo Mantellini1-1/+3
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I74f7c08ddd4494ce9ca6df7519785fe12cd1010f
2020-03-31Merge "[HICN-581] update hicn stack to support windows, again"Angelo Mantellini2-2/+3
2020-03-31[HICN-581] update hicn stack to support windows, againAngelo Mantellini2-2/+3
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ic5cfeae600fde8140a076807fa1e411da1933a02
2020-03-27[HICN-583] Remove obsolete code from hiperfOlivier Roques1-7/+0
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Change-Id: If8bea63ccb026be54293512d371d3a269e11385e
2020-03-27[HICN-458] Setting data packet size socket option when the payload size is ↵Alberto Compagno1-1/+6
passed Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: Ie0ee26a1e8bff3279cc88c4e7c09b0fdb23924c1
2020-03-10[HICN-544] Do not block reading incoming messages in memif connector.Mauro Sardara1-7/+20
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I844dfa64a977c9c41bfc103bb110c274802b1839 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-03-09[HICN-540] Optimizations for libhicntransportMauro Sardara1-19/+10
Change-Id: I8b46b4eb2ef5488c09041887cc8296a216440f33 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-27Merge "[HICN-539] Expose portal APIs to applications"Angelo Mantellini1-4/+7
2020-02-27[HICN-539] Expose portal APIs to applicationsMauro Sardara1-4/+7
Change-Id: Icbaad69981193119714f5689faf3518d2e152e11 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-27[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm everywhereMauro Sardara2-8/+8
Change-Id: Iddbc427611c888b28059170a70c0925ebb299cb5 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-26[HICN-534] Major rework on libtransport organizationMauro Sardara4-21/+36
Change-Id: I361b83a18b4fd59be136d5f0817fc28e17e89884 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-21[HICN-2] Added P2P confidential communication on hICNAlberto Compagno3-279/+532
P2P confidential communications exploit the TLS 1.3 protocol to let a consumer to establish a secure communication on an hICN name. Currently we don't support the consumer authentication (mutual authentication in TLS) and the 0-rtt session establishment. Change-Id: I2be073847c08a17f28c837d444081920c5e57a07 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-12[HICN-512] documentation bundle using sphinxLuca Muscariello1-325/+0
Change-Id: I1dcbca50f7406ef2714683547b6bb32463e1baf8 Signed-off-by: Luca Muscariello <muscariello@ieee.org>
2020-02-03[HICN-489] Add iOS support to hicn stackAngelo Mantellini1-26/+28
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I8fa8c4eaa3218eb4be46f713b15ab789c6930aa0
2019-12-11[HICN-449] [HICN-430] Build sysrepo plugin. Update sysrepo and libyang ↵Mauro Sardara1-1/+0
dependencies for centos. Change-Id: I92afec16346929e101e57466d5621e4ebe4dc4d2 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-10[HICN-430] Rework on CMakeMauro Sardara1-1/+3
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-11-22[HICN-412] Added option LINK_FLAGSgto build_executable to specify link flagsAlberto Compagno1-1/+4
Change-Id: I6b382abe374d896c9ea1e0ef5573ba166fafec94 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-04[HICN-262] Fix binary api to prevent byteswapping of ip addresses in vapiAlberto Compagno1-0/+1
Change-Id: If3f9a7db1e1310fdc08d1003b28e5e1d4006b61e Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-31[HICN-371] Solve memory leaks in libtransport.Mauro Sardara1-0/+5
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I654843c3361c7bdb4b160f2441f08e8d91e97384 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-10-22[HICN-328] Reworking setSocketOption and getSocketOption to be thread-safeAlberto Compagno1-9/+8
Change-Id: Ie22572822b9ac1e6c300fd7982035c799546bd76 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-09Merge "[HICN-280] Adding set interest lifetime option and deallocating data ↵Alberto Compagno1-8/+14
packet at consumer side before the content is completely downloaded in order to allow to use an endless hiper producer."
2019-10-09[HICN-280] Adding set interest lifetime option and deallocatingAlberto Compagno1-8/+14
data packet at consumer side before the content is completely downloaded in order to allow to use an endless hiper producer. Change-Id: I3613b5310a4f8b696818f9453d03682fd61b1f93 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-07[HICN-298] Release new hICN app for AndroidJordan Augé1-1/+1
Change-Id: I43adc62fadf00690b687078d739788dffdc5e566 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-04[HICN-293] remove stats in hiperf in RTC modemichele papalini1-2/+11
Change-Id: I6e577a4122042248900b4f48fd9f4fd45825aae9 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-09-24[HICN-279] Added libmemif packaging.Mauro Sardara52-12519/+1
Change-Id: Ie8662059163b7a01211bb18fb8f6b77bbbc07279 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-09-17[ HICN-277] Add README to router pluginmhemmatp1-0/+49
Signed-off-by: mhemmatp <mhemmatp@cisco.com> Change-Id: I838da25116f5fc4a674957510699bf5a00c99cad
2019-07-26[HICN-253] Mark cmake target for library as static or shared.Mauro Sardara1-4/+6
Change-Id: I1e8a14f9255f04bddbb87f74a6d6163a02dedb22 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-07-24[HICN-251] Renaming hicn_extra_plugin.so in hicn_router.so and adjusting ↵Alberto Compagno1-2/+5
installation path to cope with x86_64-linux-gnu Change-Id: I5314b871bd4143f7249f3a3f639e17a25b22380b Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-07-24Merge "[HICN-243] Adding router plugin"Luca Muscariello14-0/+3553
2019-07-24[HICN-243] Adding router pluginmasoud hemmatpour14-0/+3553
The original package is https://gerrit.fd.io/r/#/c/15062/ which was compatible with VPP 18.10. This patch is the modification of the original to be compatible with VPP 19.04. It was tested with FRR (i.e., OSPF). Change-Id: I85d579b26be2ef68f1b4a1d54e5c599b3665574b Signed-off-by: masoud hemmatpour <mhemmatp@cisco.com>
2019-07-08[HICN-242] Perform only one allocation for the whole buffer passed to produce()Mauro Sardara1-5/+13
Change-Id: Ib4628d0a7711e2d7175b3dbb5c152dd22616ff32 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-07-05[HICN-240] Open stdin fd only in interacrive mode.Mauro Sardara1-1/+6
Change-Id: I5978776bde6b013a0a9829d62d3d77d6ab1675ad Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-06-25[HICN-223] Utils tutorialMauro Sardara1-23/+211
Change-Id: Icfa91c6f939d073c358c146cd0cf2ab13733c603 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-05-19Merge "[HICN-202] Compile apps in release mode if no build mode is specified"Alberto Compagno1-0/+5
2019-05-19[HICN-202] Compile apps in release mode if no build mode is specifiedMauro Sardara1-0/+5
Change-Id: I23680a4a4f3863e9aef396dbb9aebe7cc75c3353 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-05-16[HICN-195] Generate static libs for androidAngelo Mantellini2-1/+8
Change-Id: Ib78e0ba5108713c6fac0e422eb7bb6f7ba10abc7 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-05-13Merge "[HICN-194] support for android environment"Mauro Sardara1-0/+2
2019-05-13[HICN-194] support for android environmentAngelo Mantellini1-0/+2
Change-Id: I11a614709152035784e492ccd99bc383765a0aa1 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-05-09[HICN-191]updating plugin to run on vpp 19.04Masoud Hemmatpour1-2/+2
Change-Id: I85ceabb1bde847edf030c6ccb3943be047d167f5 Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com>
2019-05-03[HICN-153] vapi definition warningMasoud Hemmatpour23-1728/+5560
Change-Id: I50f381540e171fe2808d4e56cc24ba6d66e8a2ab Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com>
2019-04-18[HICN-178] Sync send of control messages.v19.04Mauro Sardara1-0/+2
Change-Id: I9a07c6c806ceba10f80a5f67337dce2eee76120d Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-04-15[HICN-155] Consumer socket allows now to read N bytes from the network, ↵Mauro Sardara2-115/+211
where N is defined by the application. Change-Id: Ib20309b40e43e4c0db09b9b484e18cd2e3ebf581 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-04-15[HICN-163] check inside hiperf if the client receives all the packets in ↵michele papalini1-7/+86
case of RTC Change-Id: Ie418b4cdba3e4e17cfe302c0e79e9d786e40cbd4 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-04-03[HICN-164] hiperf RTC ratemichele papalini1-4/+4
Change-Id: I17eae19aaf717255c8812738868c27e4e5a9bb95 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-04-02[HICN-159] RTC traffic in hiperfmichele papalini1-160/+258
Change-Id: I6a6d791e97446aab03ea463046d24f98444e9a1c Signed-off-by: michele papalini <micpapal@cisco.com>
2019-03-29Merge "[HICN-90] adding hicn-light to sysrepo-plugins"Luca Muscariello36-299/+2384
2019-03-27[HICN-149] Build packages for applications.Mauro Sardara1-1/+8
Change-Id: Ia13bc4d2711b9897c0afb9b9b43cd04667e41bac Signed-off-by: Mauro Sardara <msardara@cisco.com>