aboutsummaryrefslogtreecommitdiffstats
path: root/utils/src/hiperf.cc
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-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-27[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm everywhereMauro Sardara1-6/+6
Change-Id: Iddbc427611c888b28059170a70c0925ebb299cb5 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-26[HICN-534] Major rework on libtransport organizationMauro Sardara1-8/+10
Change-Id: I361b83a18b4fd59be136d5f0817fc28e17e89884 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-21[HICN-2] Added P2P confidential communication on hICNAlberto Compagno1-144/+416
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-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 Sardara1-60/+151
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 Mantellini1-216/+197
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-08[HICN-99] Destroy in the correct order and in the correct event loop the ↵Mauro Sardara1-20/+25
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 Sardara1-34/+37
Change-Id: I6683ec5b494238dc93591c103d25275e89b9f267 Signed-off-by: Mauro Sardara <msardara@cisco.com>
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-18[HICN-50] Added udp application connector.Mauro Sardara1-13/+26
Change-Id: I0c5afad4b404ec485f50b1342b81e70ef85a5163 Signed-off-by: Mauro Sardara <msardara@cisco.com> Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-11[HICN-47] Remove warnings utils on windowsAngelo Mantellini1-9/+12
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 Mantellini1-0/+34
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 Mantellini1-0/+0
Change-Id: I3a43b22194aa13ae5de1746e3d4bd9a275070261 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-01-21- Code style fixMauro Sardara1-2/+2
- 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 Muscariello1-0/+724
Change-Id: I6f2544ad9b9f8891c88cc4bcce3cf19bd3cc863f Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>