aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/hicn
AgeCommit message (Collapse)AuthorFilesLines
2019-10-31[HICN-371] Fix invalid read reported by Valgrind when many timeouts happen.Mauro Sardara1-2/+3
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ib31e731c02341234169bd5163eb86fe1da900e40 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-10-31[HICN-356] Fix uninitialized pointerOlivier Roques1-0/+2
The signature verification method verify() in verifier.cc would try to initialize a pointer to the current packet's payload, which was never set in the first place. This fix calls the packet's method responsible for initializing that pointer. Signed-off-by: Olivier Roques <olvrqs@gmail.com> Change-Id: Ie5ab08036186ea4b766f6825c129ee68d01fc2b6
2019-10-31Merge "[HICN-371] Solve memory leaks in libtransport."Jordan Augé3-10/+25
2019-10-31Merge "[HICN-354] Fixed bug on raaqm when reassemblying packets"Michele Papalini5-106/+61
2019-10-31[HICN-371] Solve memory leaks in libtransport.Mauro Sardara3-10/+25
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I654843c3361c7bdb4b160f2441f08e8d91e97384 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-10-31[HICN-354] Fixed bug on raaqm when reassemblying packetsAlberto Compagno5-106/+61
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-342] No need to take a lock on the hash entry if the lookup forAlberto Compagno4-6/+6
a data hit the CS. Data packets coming from the network are dropped, data packets coming from an application face are either dropped or sent to the push node (which does not require a lock on the hash entry) Change-Id: Icf662dffa33b9dda2e2a69fc2104a69a82ef19fd Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-22Merge "[HICN-346] Add version of the transport library in the config.h ↵Michele Papalini2-0/+6
header file."
2019-10-22[HICN-346] Add version of the transport library in the config.h header file.Mauro Sardara2-0/+6
Change-Id: I1ce0b705db98f4042470a7b80b422720ba03c0f6 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-10-22[HICN-328] Reworking setSocketOption and getSocketOption to be thread-safeAlberto Compagno17-1365/+1755
Change-Id: Ie22572822b9ac1e6c300fd7982035c799546bd76 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-18[HICN-339] improve rtc producer socket for low rate trafficmichele papalini2-19/+17
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I1e6fdada9a55e0a93b8d5db768124f2e47daf05b
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-16Merge "[HICN-333] fix addRetransmissions in RTC consumer socket"Alberto Compagno1-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-16Merge "[HICN-334] remove LOG for no pending interests in portal"Alberto Compagno1-1/+1
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-334] remove LOG for no pending interests in portalmichele papalini1-1/+1
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I80009d5e5fc89ede4f56a9c9a5e3c2940ae13562
2019-10-16[HICN-332] add output buffer to the RTC producer socketmichele papalini1-8/+37
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I119f2a4b4b7153e8da7ca891112f4f0ddf8251e5
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-14[HICN-322] fix timeouts inside portalmichele papalini1-2/+8
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I4ac176a11ed6f0b964274240dc0969051911183d
2019-10-10[HICN-317] schedule rounds using timers in rtc producermichele papalini2-28/+35
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I4a5fe9c954713dc266e7aeb5f461b460d508d8e3
2019-10-10[HICN-316] improve rtc for low rate streamsmichele papalini4-107/+26
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I29d9720450f8cee429eb02a494092f208c298355
2019-10-09[HICN-311] Incorrect copying of ip_prefix_t data & uninitialized bytes ↵Jordan Augé1-0/+2
causes invalid writes Change-Id: Ia171dac11f65dab295b3523222145215f21a6f4f Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-09[HICN-308] delete interests from interest mapmichele papalini1-6/+8
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ie69909e3984faac777f9fc3b3e0625e8de3a7771
2019-10-08Merge "[HICN-302] low rate traffic in RTC"Mauro Sardara3-11/+147
2019-10-08[HICN-306] Wrong representation format in ip_prefix_ntop causes parsing issuesJordan Augé1-1/+1
Change-Id: I16c8059ce537f338c15434acc87ac0e4baf87049 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-08[HICN-302] low rate traffic in RTCmichele papalini3-11/+147
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ib6511d82abc91e9008588cd2b7fd80022c6d232b
2019-10-07[HICN-298] Release new hICN app for AndroidJordan Augé16-80/+80
Change-Id: I43adc62fadf00690b687078d739788dffdc5e566 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
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 papalini2-19/+25
Change-Id: I1b02b9338e43de27cf90b4a11121c54a00ed428a Signed-off-by: michele papalini <micpapal@cisco.com>
2019-10-03[HICN-291] handle multiple paths in RTCmichele papalini6-132/+435
Change-Id: I69d331aa6e953e802e2f4b3e60325f852941fd94 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-10-02[HICN-290] Added check if ASIO_STANDALONE already defined. Removed openssl ↵Mauro Sardara1-0/+3
find performed by hicn-light. Change-Id: Ic1d3fe123b099e63a37bcb0c03e00a7c81f509f1 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-09-10[HICN-273] Add zero copy produce() API to RTC producer socket.Mauro Sardara3-12/+19
This API allows to transfer the ownership of the packet from the application to the libtransport, thus avoiding to copy the packet. Change-Id: Ic26b15783648b9e8821f71e47a2d9f5130474510 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-08-22Merge "[HICN-263] DO_NOT_MERGE Updating hicn-plugin and libtransport to ↵Alberto Compagno2-5/+13
vpp_1908"
2019-08-22[HICN-263] DO_NOT_MERGEv19.08Alberto Compagno2-5/+13
Updating hicn-plugin and libtransport to vpp_1908 Change-Id: I8bdad9725ec50597d79b3dc9a8d151ca149c3808 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-08-20[HICN-261] Incorrect handling of IPv6 link-local addresses / connections ↵ndnops1-0/+1
should not be created unless strictly needed. Signed-off-by: ndnops <manangel@cisco.com> Change-Id: I10722996a6bf8868f50a5ac2aff6a937d3f87837
2019-07-29[HICN-252] Add per-application policy framework to hicn-light forwarderJordan Augé1-3/+10
Change-Id: I0531cd7a7de179581295ae34766c81cd9cf3e172 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com> Signed-off-by: Mauro Sardara <msardara@cisco.com> Co-authored-by: Mauro Sardara <msardara@cisco.com>
2019-07-18Merge "[HICN-248] Install libraries under correct folder ↵Alberto Compagno2-2/+4
(lib/x86_64-linux-gnu on ubuntu/debian and lib64 on centos)"
2019-07-18[HICN-248] Install libraries under correct folder (lib/x86_64-linux-gnu on ↵Mauro Sardara2-2/+4
ubuntu/debian and lib64 on centos) Change-Id: I9c8fc206f2f93b9eae1060387ab6d0833da80124 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-07-17[HICN-246] Initializing vpp_api state only the first time a socket is created.Alberto Compagno1-5/+4
Change-Id: I1e56f2b65374777f72f2b264a417a213ad0d0320 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-07-08[HICN-242] Perform only one allocation for the whole buffer passed to produce()Mauro Sardara10-85/+71
Change-Id: Ib4628d0a7711e2d7175b3dbb5c152dd22616ff32 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-07-03[HICN-231] fix reinitialization of rtc socketmichele papalini3-20/+8
Change-Id: If8e11556afcd8828cb0aa7759e6c1194a1657f1d Signed-off-by: michele papalini <micpapal@cisco.com>
2019-07-03[HICN-232] fix concurrency problem on rtc producer socketmichele papalini2-28/+38
Change-Id: Ia873aa3c9b6ef4825df88fa05cc1d6dc40bb73a1 Signed-off-by: michele papalini <micpapal@cisco.com>