aboutsummaryrefslogtreecommitdiffstats
path: root/utils/src
AgeCommit message (Collapse)AuthorFilesLines
2020-11-20[HICN-658] Improve memif connector.Mauro Sardara1-2/+4
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ie3b48148dcb3f782a1ca906a5ba59d605f17f93e Signed-off-by: Mauro Sardara <msardara@cisco.com>
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 Mantellini1-1/+2
2020-03-31[HICN-581] update hicn stack to support windows, againAngelo Mantellini1-1/+2
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 Sardara3-21/+33
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>
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-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-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-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-05-16[HICN-195] Generate static libs for androidAngelo Mantellini1-0/+2
Change-Id: Ib78e0ba5108713c6fac0e422eb7bb6f7ba10abc7 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-05-13[HICN-194] support for android environmentAngelo Mantellini1-0/+2
Change-Id: I11a614709152035784e492ccd99bc383765a0aa1 Signed-off-by: Angelo Mantellini <manangel@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-20[HICN-128] README utils and renaming of executablesAngelo Mantellini3-388/+384
Change-Id: I5e3cd78306d9f4a25197b54ca5b2779e600891c8 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-03-19[HICN-125 HICN-126]Mauro Sardara1-2/+3
- Add MemBuf as return type of getPayload of transport::core::Packet - Fix incremental index manager Change-Id: Ib557d56b1bf42e3974364c611b825b21f1e3d3f1 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-14[HICN-116] Added RTC producer option to hiperf.Mauro Sardara1-38/+163
Change-Id: I665b7dd3c8eae222d62057bc3387daf6c73df1f8 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-12[HICN-106]Mauro Sardara1-0/+5
Added generation of .lib for dll shared libraries fixed warning for shift in csum_fold function in libhicn added declaration of external symbol in libtransport log. Change-Id: I9377eb6016a74f14eb8f05df2ced36ee41a27bfd Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-11[HICN-105] Errors during execution of ping and hiperfAngelo Mantellini1-0/+2
Change-Id: I92e26b1c2fd2e837825d3be8cfc991008b2aee7a Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-03-08[HICN-99] Destroy in the correct order and in the correct event loop the ↵Mauro Sardara2-21/+26
attributes of connectors and sockets. Cleanup of prints. Change-Id: Ie7eef1d186e581aa950f47df20d57681dc33be55 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-05[HICN-73] Performance improvements of interest/data transmission and ↵Mauro Sardara1-2/+2
reception at low level in the stack (portal.h) Change-Id: I1525726f52040f1609e284bb9b995ea8794c5d5e Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-05[HICN-11] Rework on transport protocols improving components modularityMauro Sardara2-35/+38
Change-Id: I6683ec5b494238dc93591c103d25275e89b9f267 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-22Merge "[HICN-80] Avoid segfault when deleting memif interface on VPP."Alberto Compagno1-2/+0
2019-02-22[HICN-80] Avoid segfault when deleting memif interface on VPP.Mauro Sardara1-2/+0
Change-Id: Ie36cfc0ade82b38815d61a7ead2c72fc640236ed Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-22[HICN-78] Added option -l to set data lifetime. If not set the data never ↵Alberto Compagno1-10/+14
expires. Change-Id: I7f0734a4e29826f276cfab1c83d5878bfab5c900 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-18[HICN-50] Added udp application connector.Mauro Sardara3-19/+40
Change-Id: I0c5afad4b404ec485f50b1342b81e70ef85a5163 Signed-off-by: Mauro Sardara <msardara@cisco.com> Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-12[HICN-52] Fix signature computation and verification in libtransportMauro Sardara1-3/+1
Change-Id: I9b30a9c9e95e2cb2f135fe7efd43e633235196d9 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-11[HICN-47] Remove warnings utils on windowsAngelo Mantellini3-17/+18
Change-Id: Id8616bc6b68ec2854078ecfe3b30f4573e7d7c6c Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-01-31[HICN-20] Windows compatibility for ping_client, ping_server and hiperfAngelo Mantellini1-5/+2
Change-Id: I15df978e9e4320f7e6b7c5b3f7db025dcfd6aa06 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-01-31[HICN-20] This source upgrade allows to compile ping_client, ping_server and ↵Angelo Mantellini3-5/+67
hiperf (utils folder) in Windows. Change-Id: I8253aa9aa640644b0daffd95dff202956371d814 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-01-30[HICN-18] first commit of libtransport for windowsAngelo Mantellini3-0/+0
Change-Id: I3a43b22194aa13ae5de1746e3d4bd9a275070261 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-01-29[HICN-17] Add possibility to destroy connection directly from stopEventsLoop ↵Mauro Sardara1-5/+8
with an additional parameter. Change-Id: I869a079a7b2f436768a62de66fd9281a7d1243cd Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-29[HICN-10] Treat warning as errors in compilation during verify jobs.Mauro Sardara1-0/+2
Change-Id: Iab6deb14157f81c9f2f8ba6762e93e9860b108bd Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-21- Code style fixMauro Sardara2-3/+3
- Improved vpp binary api interface - Correction in object pool destructor - Fix error in Memif Connector Change-Id: Id1dd9219fc1ac0b3717ae019ebff17373bebc635 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-17This is the first commit of the hicn projectv19.01Luca Muscariello3-0/+1452
Change-Id: I6f2544ad9b9f8891c88cc4bcce3cf19bd3cc863f Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>