aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport
AgeCommit message (Collapse)AuthorFilesLines
2019-11-04Merge "[HICN-356] Fix uninitialized pointer"Alberto Compagno1-0/+2
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é17-82/+82
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-10-02[HICN-286] Link libmemif with libhicntransport when libmemif found in the ↵Mauro Sardara1-4/+4
system. Added libmemif-dev dependency libmemif. Change-Id: I3fc417da65c1dfc6717c56d92f94a12fc019a9bd Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-09-24[HICN-279] Added libmemif packaging.Mauro Sardara2-20/+35
Change-Id: Ie8662059163b7a01211bb18fb8f6b77bbbc07279 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é2-6/+13
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-26[HICN-253] Mark cmake target for library as static or shared.Mauro Sardara1-3/+4
Change-Id: I1e8a14f9255f04bddbb87f74a6d6163a02dedb22 Signed-off-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>