summaryrefslogtreecommitdiffstats
path: root/libtransport/src
AgeCommit message (Collapse)AuthorFilesLines
2019-03-08[HICN-99] Destroy in the correct order and in the correct event loop the ↵Mauro Sardara12-149/+128
attributes of connectors and sockets. Cleanup of prints. Change-Id: Ie7eef1d186e581aa950f47df20d57681dc33be55 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-08[HICN-85] Added state to connectors.Mauro Sardara11-95/+79
Change-Id: I26d1b37fec4a2482b97a80fa5648f243745908f7 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-05[HICN-89] Preallocate memory for timer handlers just with memif connector.Mauro Sardara1-2/+19
Change-Id: I74b3a249961390b6441c45c91dde21f587a426a5 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-05[HICN-73] Performance improvements of interest/data transmission and ↵Mauro Sardara13-143/+333
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 Sardara80-4222/+2859
Change-Id: I6683ec5b494238dc93591c103d25275e89b9f267 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-01[HICN-86] Fix include file order in libtransport and hicn-light.Mauro Sardara1-1/+1
Change-Id: Id4e8e6aedcdb529971583a20f34a96d1cfdcccc9 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-22Merge "[HICN-80] Avoid segfault when deleting memif interface on VPP."Alberto Compagno4-13/+14
2019-02-22[HICN-80] Avoid segfault when deleting memif interface on VPP.Mauro Sardara4-13/+14
Change-Id: Ie36cfc0ade82b38815d61a7ead2c72fc640236ed Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-22[HICN-79] epoll timeout is now set to 1 secondAlberto Compagno1-2/+2
Change-Id: Ibec7ff2064ac69833e9c1bb1d8aaa064c02e64be Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-19[HICN-69] Include libtransport config file in raw_socket_connector.h.Mauro Sardara1-0/+1
Change-Id: Ieac743f5c46edd6568d48e689216bb8723d44e2c Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-18[HICN-69] add compiler definitions for programs using hicnmichele papalini6-2/+9
Change-Id: If20c1e487ca4d9c00ffeebe09f31b475b354e293 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-18Merge "[HICN-50] Added udp application connector."Alberto Compagno19-136/+533
2019-02-18[HICN-50] Added udp application connector.Mauro Sardara19-136/+533
Change-Id: I0c5afad4b404ec485f50b1342b81e70ef85a5163 Signed-off-by: Mauro Sardara <msardara@cisco.com> Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-18[HICN-67] add interest callback in RTC producer socketmichele papalini1-2/+5
Change-Id: I8b2075d71f272956e213b0b1505d7af46844d387 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-13[HICN-61] Compile Error in libtransport in windows environmentAngelo Mantellini2-3/+5
Change-Id: I25642a194996e449b91d492b22a379466c524940 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-02-13Merge "[HICN-62] Using the new API in libparc to remove a per-packet copy of ↵Mauro Sardara1-1/+1
the signature"
2019-02-13[HICN-62] Using the new API in libparc to remove a per-packet copy of the ↵Alberto Compagno1-1/+1
signature Change-Id: I4d2dee75d7ba3ed94a1676fd4ab892c6bcad958a Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-13[HICN-60] Solved concurrent memory access which was leading to seg-faultAlberto Compagno5-22/+15
Change-Id: I7b9fcf79bb97650346f7d92af8cbb419f0a5cb95 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-13[HICN-59] Do not call clear on membuf sharing same underlying memory. Use ↵Mauro Sardara2-1/+5
trimEnd instead. Change-Id: I69463ede2b32f1d625b6161fabd08daca41c3483 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-12[HICN-52] Fix signature computation and verification in libtransportMauro Sardara3-31/+44
Change-Id: I9b30a9c9e95e2cb2f135fe7efd43e633235196d9 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-11[HICN-46] Remove warnings libtransport on windowsAngelo Mantellini26-100/+122
Change-Id: I09456770dcbca979491cdcadb310eab95a0dea17 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-02-10[HICN-48] remove hole detection in RTCmichele papalini2-121/+0
Change-Id: I5e8700b6e26660acbe5e9a7a6716d322acb03466 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-08Merge "[HICN-43] Fixed packet lifetime and setting AH flag when a data ↵Alberto Compagno2-5/+5
packet carries a signature"
2019-02-08[HICN-43] Fixed packet lifetime and setting AH flag when a data packet ↵Alberto Compagno2-5/+5
carries a signature Change-Id: I5e14716bc9bfcd8ffc3ab8cda8aa9ba0ca5c6d82 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-07[HICN-41] rename define variables in rtc transportmichele papalini2-104/+96
Change-Id: I2235f319a02aed43657db4954b68f00a28b0c9d8 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-07[HICN-39] Added api that return a pointer to the signature hold in a packetAlberto Compagno9-56/+39
[HICN-40] Fixed signature calculation by allocating a contiguous portion of memory that holds the entire hICN header (IP+TCP+AH) Change-Id: I9d40bab0e3ecb82949b8b3a00e2cc1214457e4e3 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-05[HICN-25] Test docs script.Mauro Sardara1-0/+1
Change-Id: I37cb7b34a737323862619c198ff4e3b570217887 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-04[HICN-29] fixed consumer socket connectionmichele papalini1-1/+0
Change-Id: Id2214262196999fedeb46d3cddbe543e1b181a46 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-01[HICN-10] Compile libtransport with libmemif supportMauro Sardara5-39/+46
Change-Id: I81d1cb4d5f16a61c35f66fe347985f05d8c97383 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-31[HICN-20] This source upgrade allows to compile ping_client, ping_server and ↵Angelo Mantellini3-5/+19
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 Mantellini122-123/+216
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 Sardara7-20/+34
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-1/+1
Change-Id: Iab6deb14157f81c9f2f8ba6762e93e9860b108bd Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-28[HICN-15] add include in socket_connectormichele papalini1-0/+1
Change-Id: I362fdde5004a0ec36ca4a256a10d005592b2ac61 Signed-off-by: michele papalini <micpapal+fdio@cisco.com>
2019-01-25[HICN-13] sendInterest with customized callbacksmichele papalini3-23/+82
Change-Id: Ie4b2aac7f5f356f8afc7aaf83b723596dcbb4532 Signed-off-by: michele papalini <micpapal+fdio@cisco.com>
2019-01-24new constructors for RTC producer/consumer socketsmichele papalini4-0/+26
Change-Id: Icb982937e1f4cb38a2487f17c5a6b0cb1ef89cc2 Signed-off-by: michele papalini <micpapal+fdio@cisco.com>
2019-01-24Fix format string for printing size_t typeMauro Sardara1-1/+1
Change-Id: Iee4ea1fbb4f9f1f68dbced2d11030dde2d3d88fb Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-22Merge "[HICN-3] First version of packaging system based on cmake."Luca Muscariello1-2/+6
2019-01-22[HICN-3] First version of packaging system based on cmake.Mauro Sardara1-2/+6
Change-Id: I576f84f4c12f932e17e9169f2c6ffdaed128ca10 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-22jira issue HICN-7michele papalini2-13/+15
Change-Id: Id07bd589e06852f0788b823735af1b95e09bba0a Signed-off-by: michele papalini <micpapal+fdio@cisco.com>
2019-01-21- Code style fixMauro Sardara65-634/+578
- 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 Muscariello168-0/+25386
Change-Id: I6f2544ad9b9f8891c88cc4bcce3cf19bd3cc863f Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>