aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/hicn/transport/protocols
AgeCommit message (Collapse)AuthorFilesLines
2019-11-22[HICN-410] reduce sentinel timer aggressivenessmichele papalini1-2/+2
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I538d8266912fea244505e4d2ceccef0dd9a242bc
2019-11-20[HICN-402] Limit in-flight interests for manifestsOlivier Roques2-2/+20
Currently, interests for manifests are sent independently of the transport protocol. When receiving a manifest, interests for next manifests are sent until the next window would be full of data segments. But there is no limit on the number of interests for manifests that can be sent. After a while, the interest input buffer in the producer's side is full of them and cannot satisfy the requests quickly enough. This results in a large drop of bandwidth on the consumer side. This patch allows to limit the number of in-flight interests for manifests. Signed-off-by: Olivier Roques <olvrqs@gmail.com> Change-Id: Ic497bd55fd92233e4b47b04635fb9bf75506375e
2019-11-14[HICN-393] Fix various issues related to manifestsOlivier Roques5-17/+31
The current manifest implementation is broken: 1. ManifestIndexingManager, responsible for validating manifests and segments and retrieving the next ones, assumes that all manifests have the same size. This assumption affects the retrieval of next manifests which is based on the number of segments the current manifest contains. Therefore when a non-full manifests arrives, the computed suffix of the next manifest is wrong and refer to a content instead, which results in an error. 2. Manifests are used to update a suffix queue which stores all the segments listed in manifests. This queue is used to retrieve content sequentially via a pointer indicating the next content to fetch. When the pointer reaches the end of the suffix queue, the consumer stops sending interests. The correct behavior would be to wait for a new manifest which would update the queue. This patch fixes these two issues: 1. Issue 1 was fixed by using SuffixManifest (HICN-392). This allows to set the capacity of a manifest at the start of the consumption instead of checking each time the size of the current manifest and then using that (non-constant) value to retrieve the next manifests. 2. Issue 2 was fixed by passing to ManifestIndexingManager a reference to an object capable of calling the scheduleNextInterest function, which is then called after a new manifest is retrieved to make sure interests for content kept being sent. This is not an optimal solution but rather a temporary one, until the retrieval of manifests is done at the transport level rather than in ManifestIndexingManager. This patch also changes the order of production: manifests are now sent before content. To do so, contents are added into a queue until the manifest is complete. Signed-off-by: Olivier Roques <olvrqs@gmail.com> Change-Id: I1a1bb92ca1cf2d3c745c1b65f6c7376f916c679b
2019-10-31Merge "[HICN-354] Fixed bug on raaqm when reassemblying packets"Michele Papalini1-1/+1
2019-10-31[HICN-354] Fixed bug on raaqm when reassemblying packetsAlberto Compagno1-1/+1
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-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-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-22[HICN-328] Reworking setSocketOption and getSocketOption to be thread-safeAlberto Compagno4-159/+168
Change-Id: Ie22572822b9ac1e6c300fd7982035c799546bd76 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-18Merge "[HICN-337] correlty set timers for rtx in rtc consumer"Alberto Compagno2-24/+54
2019-10-18[HICN-337] correlty set timers for rtx in rtc consumermichele papalini2-24/+54
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Iaf947ac6c7763ba0a648f9cc865ca0f11cb3e31f
2019-10-18[HICN-338] correctly compute the estimated production rate in rtc socketmichele papalini1-4/+4
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I5ab36c5dde449ff0f3e0372372c09dbb227aecf5
2019-10-16Merge "[HICN-335] fix max win computation in RTC consumer"Mauro Sardara1-1/+1
2019-10-16[HICN-335] fix max win computation in RTC consumermichele papalini1-1/+1
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I735764cf2520182ae46bd2b18f1dc87355a57d85
2019-10-16[HICN-333] fix addRetransmissions in RTC consumer socketmichele papalini1-1/+1
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Id9fb3a5ae6355e901ba2f2d4a93e8ad241b4410c
2019-10-16[HICN-331] schedule rtx at the right timemichele papalini2-14/+13
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Iae4e0bbc5a1e534fd3727d02804aba370378af00
2019-10-15[HICN-239] retransmissions on RTCmichele papalini1-33/+37
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I9777e445acf0dd0f70af0a9446b3b9a1424c0c6f
2019-10-10[HICN-316] improve rtc for low rate streamsmichele papalini2-61/+14
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I29d9720450f8cee429eb02a494092f208c298355
2019-10-08[HICN-302] low rate traffic in RTCmichele papalini1-1/+1
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ib6511d82abc91e9008588cd2b7fd80022c6d232b
2019-10-04[HICN-296] handle first packet received in RTC consumer socketmichele papalini2-2/+31
Change-Id: I2edb971f43ed4ad2165349345999a7af871323da Signed-off-by: michele papalini <micpapal@cisco.com>
2019-10-04[HICN-292] fix inflight interests countingmichele papalini1-19/+20
Change-Id: I1b02b9338e43de27cf90b4a11121c54a00ed428a Signed-off-by: michele papalini <micpapal@cisco.com>
2019-10-03[HICN-291] handle multiple paths in RTCmichele papalini5-131/+432
Change-Id: I69d331aa6e953e802e2f4b3e60325f852941fd94 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-07-18[HICN-248] Install libraries under correct folder (lib/x86_64-linux-gnu on ↵Mauro Sardara1-1/+1
ubuntu/debian and lib64 on centos) Change-Id: I9c8fc206f2f93b9eae1060387ab6d0833da80124 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-07-03[HICN-231] fix reinitialization of rtc socketmichele papalini2-19/+7
Change-Id: If8e11556afcd8828cb0aa7759e6c1194a1657f1d Signed-off-by: michele papalini <micpapal@cisco.com>
2019-05-24[HICN-205] Update statistics across different download sessions in RAAQMMauro Sardara1-0/+1
Change-Id: I75f074413f5b829769ca9908253ffe389ec3bd3d Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-05-16[HICN-199] Fix retransmissions when there is no space left in the window.Mauro Sardara1-0/+8
Change-Id: Id1f6d61fd316ec2ef6f1fc0c6b758e79275cfae6 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-04-18[HICN-178] Sync send of control messages.v19.04Mauro Sardara1-1/+1
Change-Id: I9a07c6c806ceba10f80a5f67337dce2eee76120d Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-04-16[HICN-171] remove RTCP from the RTC socketmichele papalini2-142/+2
Change-Id: I1e088c782ba727131ddd71ffe1fb1d8edd2cdec2 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-04-15[HICN-155] Consumer socket allows now to read N bytes from the network, ↵Mauro Sardara4-125/+227
where N is defined by the application. Change-Id: Ib20309b40e43e4c0db09b9b484e18cd2e3ebf581 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-04-15[HICN-168] RTC retransmissionsmichele papalini2-132/+228
Change-Id: Ie7c24674715e593e1479b027226dbe8eda310421 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-04-04[HICN-170] do not send interests for already received contentmichele papalini2-11/+46
Change-Id: I87c9c0a0b556263582f451e73cb22091cdc0919a Signed-off-by: michele papalini <micpapal@cisco.com>
2019-04-03[HICN-96] add callbacks in RTCmichele papalini1-0/+7
Change-Id: Ide96e5798ab57f057de6a6f91078a5082f69e313 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-04-03[HICN-167] fixes on timeouts and nacksmichele papalini2-23/+43
Change-Id: I4b232bbe7edc4b09d9ebd750724761e7e6c75bf8 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-04-02[HICN-94] Handle nacks when the producer socket is not activemichele papalini2-37/+52
Change-Id: Ibc8b9ef65feaf6fbe12dbaa285ddcd738e1cd197 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-03-29[HICN-152] Fix window size in CBR.Mauro Sardara2-2/+6
Change-Id: Ib2d6658a6118b29f57b99ecc58ac001030092982 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-28[HICN-11] Fix retransmission count when sending first interest.Mauro Sardara1-1/+3
Change-Id: Ia4b754c555fa83746680d9dcfd2c73f7d55c72a5 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-27[HICN-11] Fix segfault in rtc due to typo in variable name.Mauro Sardara2-5/+4
Change-Id: Id8fe64fb6d0748b3708f0bbd1e6e7d154cc04437 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-23[HICN-6] ATS fixesMauro Sardara2-1/+5
Change-Id: I1e9a214ead9d4d9bacd98d797371783ad39909f7 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-19[HICN-125] Use getPayload once in rtc transport functions.Mauro Sardara1-5/+6
Change-Id: I23532b0609dba5b570c6f269e8f1d9889bcf624c Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-19[HICN-125 HICN-126]Mauro Sardara5-69/+27
- 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-18[HICN-103] Manifest retransmissions.Mauro Sardara2-2/+37
Change-Id: I1b61c79e99bb8da471d1e284ea2a629d48b9f308 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-08[HICN-102] Remove warnings and compilation errors in hicn on windowsAngelo Mantellini4-13/+13
Change-Id: Ibb5d90fe35097a29fa6edccd3c7859d043888717 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 Sardara1-1/+1
attributes of connectors and sockets. Cleanup of prints. Change-Id: Ie7eef1d186e581aa950f47df20d57681dc33be55 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-05[HICN-11] Rework on transport protocols improving components modularityMauro Sardara25-1191/+1505
Change-Id: I6683ec5b494238dc93591c103d25275e89b9f267 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-18[HICN-50] Added udp application connector.Mauro Sardara1-2/+2
Change-Id: I0c5afad4b404ec485f50b1342b81e70ef85a5163 Signed-off-by: Mauro Sardara <msardara@cisco.com> Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-11[HICN-46] Remove warnings libtransport on windowsAngelo Mantellini7-54/+58
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-07[HICN-41] rename define variables in rtc transportmichele papalini2-104/+96
Change-Id: I2235f319a02aed43657db4954b68f00a28b0c9d8 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-01-30[HICN-18] first commit of libtransport for windowsAngelo Mantellini20-61/+67
Change-Id: I3a43b22194aa13ae5de1746e3d4bd9a275070261 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-01-22jira issue HICN-7michele papalini1-0/+1
Change-Id: Id07bd589e06852f0788b823735af1b95e09bba0a Signed-off-by: michele papalini <micpapal+fdio@cisco.com>