summaryrefslogtreecommitdiffstats
path: root/hicn-plugin
AgeCommit message (Collapse)AuthorFilesLines
2019-11-04[HICN-262] Fix binary api to prevent byteswapping of ip addresses in vapiAlberto Compagno14-364/+346
Change-Id: If3f9a7db1e1310fdc08d1003b28e5e1d4006b61e Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-24Merge "[HICN-355] Update Readme with missing dependency"Alberto Compagno1-1/+2
2019-10-24[HICN-355] Update Readme with missing dependencyAlberto Compagno1-1/+2
Change-Id: Ibb709d45f9572e5cde11f9a64f4a1b9212b6cc92 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-22[HICN-342] No need to take a lock on the hash entry if the lookup forAlberto Compagno2-35/+45
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-09Merge "[HICN-226] Reworked incoming face identification on receiving a data ↵Alberto Compagno10-231/+417
packet. The output is now a list of possible incoming faces, plus a preferred one which cover the case in which the face is a local producer face. In that case we can identify the face uniquely as we are sure that we have one face for memif."
2019-10-09Merge "[HICN-169] Fixed counters that were decrementing or negative."Alberto Compagno4-21/+25
2019-10-09[HICN-169] Fixed counters that were decrementing or negative.Alberto Compagno4-21/+25
Change-Id: I9165a863ac29e9386f49fdbc09da85e2fcc57750 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-08Merge "[HICN-300] Improved script to search for "hicn {" in ↵Luca Muscariello2-2/+4
/etc/vpp/startup.conf"
2019-10-07[HICN-300] Improved script to search for "hicn {" in /etc/vpp/startup.confAlberto Compagno2-2/+4
Change-Id: Ib977e10968a78917b6af0f5691370d6df9fcf473 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-07Merge "[HICN-298] Release new hICN app for Android"Mauro Sardara1-16/+23
2019-10-07[HICN-298] Release new hICN app for AndroidJordan Augé1-16/+23
Change-Id: I43adc62fadf00690b687078d739788dffdc5e566 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-07[HICN-226]Alberto Compagno10-231/+417
Reworked incoming face identification on receiving a data packet. The output is now a list of possible incoming faces, plus a preferred one which cover the case in which the face is a local producer face. In that case we can identify the face uniquely as we are sure that we have one face for memif. Change-Id: Ic48475a36e37a28cec8cc1448b4b4ee6c001efc0 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-06[HICN-287] Adding hicn section to the startup.confAlberto Compagno14-218/+210
Checking if the size of the CS is greater than the number of vlib buffers available and size it accordingly. Removed unused parameters to set PIT lifetime Change-Id: I47679466542d4338e447d9e0b956038143164020 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-09-24Merge "[HICN-279] Added libmemif packaging."Alberto Compagno1-4/+21
2019-09-24[HICN-279] Added libmemif packaging.Mauro Sardara1-4/+21
Change-Id: Ie8662059163b7a01211bb18fb8f6b77bbbc07279 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-09-24Merge "[HICN-260] Added a dump binary api for hicn routes"Alberto Compagno3-4/+232
2019-09-24[HICN-260] Added a dump binary api for hicn routesAlberto Compagno3-4/+232
Change-Id: Ic2f7b1edeb35603f6d1fa5f40f7fff441aa43203 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-08-22[HICN-267] Fixed dependencies on hicn-apps and hicn-light packagesAlberto Compagno1-1/+1
Change-Id: If6615a0b263287b6c1660b636b5b6770da1a3b24 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-08-22[HICN-263] DO_NOT_MERGEv19.08Alberto Compagno4-13/+11
Updating hicn-plugin and libtransport to vpp_1908 Change-Id: I8bdad9725ec50597d79b3dc9a8d151ca149c3808 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-08-14[HICN-259] Moving header files to the package hicn-plugin-devAlberto Compagno2-9/+10
Change-Id: I4859025964862dbb0bd2113edb24e716ccb7c5cc Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-08-01[HICN-255] the api vnet_get_sw_interface_safe is now ↵Alberto Compagno3-10/+10
vnet_get_sw_interface_or_null Change-Id: I080e7e216b779ce8beb292edadff0cc6c468549b Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-07-18[HICN-248] Install libraries under correct folder (lib/x86_64-linux-gnu on ↵Mauro Sardara1-3/+5
ubuntu/debian and lib64 on centos) Change-Id: I9c8fc206f2f93b9eae1060387ab6d0833da80124 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-07-05[HICN-239] Removed unused cli command for MapMeAlberto Compagno2-80/+0
Change-Id: I338ca1856538e9b2d3723c54ca2ca6949568a264 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-07-05Merge "[HICN-237] Updated README for vpp 19.04"Mauro Sardara1-9/+32
2019-07-05[HICN-237] Updated README for vpp 19.04Alberto Compagno1-9/+32
Change-Id: I6e372f1c366ecfc67b6ecc438fcd24d2cd26aba8 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-06-08[HICN-216] Fixed problem that was deleating any pending IU (for ↵Alberto Compagno2-4/+4
retrasmission) when a new IU was received Change-Id: I8d41445b5ba455f7613efd1419f5410cd945011d Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-06-07[HICN-216] Remove check on the invalid sequence number 0Alberto Compagno2-11/+11
Change-Id: I1434b5f15b4bb6f0a144512e92276a07676d53e8 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-06-07[HICN-216] Fixed dpo initializatinoAlberto Compagno4-26/+36
Change-Id: I45104ab815cf93969d1f25a77ea7e79ef295acdc Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-06-07[HICN-215] Sequence number starts from 0Alberto Compagno1-1/+1
Change-Id: Ibbc8af9da31f9acd21edc9a88135cc85d4bdbb3e Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-06-06[HICN-214] Updating next_node in the face that mapme add to the fib in order ↵Alberto Compagno7-51/+86
to forward interests Change-Id: I97c408c9e910df0ea7c43c0341c0025521ced125 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-06-06[HICN-212] Fixed bug on ipv6 test in udp faces. Uniformed test with a single ↵Alberto Compagno4-12/+18
function. Change-Id: I79cd1c0233c841d5eb111ba6247f46c7510a09bb Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-06-05[HICN-211] Missing parentesis on vlib_validate_buffer_enqueue_x2 was causing ↵Alberto Compagno2-3/+1
a priority problem between * and [] Change-Id: I423e58bc91db9dc16a75bdc8065a2740d0160c1d Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-29[HICN-209] Fixed the copy of packet with size less than 2 cache lines.Alberto Compagno2-2/+2
Change-Id: I05969411c2807c5e0fb434e08b216315cee8e9c1 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-28Merge "[HICN-208] Removing udp face reference from the internal hash table"Alberto Compagno1-4/+21
2019-05-28[HICN-208] Removing udp face reference from the internal hash tableAlberto Compagno1-4/+21
Change-Id: I15306e87a1e8b4207c116b57cbca9fb5b686cf41 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-24[HICN-197] Supporting multiple local faces for the same prefix. Fixed buffer ↵Alberto Compagno5-19/+66
deallocation when data are pushed from the application. Change-Id: Ibc9625e420d0c8579be3d7f1310a08a5e37f765a Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-20[HICN-197] Added further information about the hashtable when executing the ↵Alberto Compagno1-1/+6
commanf hicn show internals Change-Id: I29ddf4652b8fbf265d8053770c082e26f0a75a6f Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-19[HICN-197] Reworked PIT/CS entry initialization to correctly initialize it ↵Alberto Compagno2-1/+9
when data are pushed to the CS from a local application. Change-Id: I64a2bab413e74460b048f7c716630d9fcd5200cc Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-16[HICN-197] Fixed missing deallocation when data was pushed from a local ↵Alberto Compagno1-2/+4
application Change-Id: I9f7d8bf0ffbebd43ee82112407da39473fa2ad7c Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-10[HICN-193] Fixed faceid convertion from network to host orderAlberto Compagno1-1/+1
Change-Id: Idf28a2ae624231481b03556665a7360388229c8a Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-07[HICN-181] Added round robin strategyAlberto Compagno9-6/+659
Change-Id: I301ffaeed6f43b7db6701810167f02947439d20c Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-07[HICN-189] In case the adj is not complete, we look if a better one exists ↵Alberto Compagno6-74/+195
and we follow the new adjacency. The adj in the face is updated accordingly. Change-Id: Ieb5c02ee66146475d54ee99a77fc795c9bdf3130 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-03[HICN-186] Dependencies on the deb packages do not reflect the new packaging ↵Alberto Compagno1-1/+1
of vpp 19.04. fixed Change-Id: I85b9ca07778b4826d72c4eaa92f23ae24a626638 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-03[HICN-180] Updating plugin to run on vpp 19.04Alberto Compagno5-41/+22
Change-Id: I23d44747edf65b9cbf1cd7cb174541dce55152aa Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-18[HICN-179] Increased size of vector that holds the counters to the right size.Alberto Compagno1-1/+3
Change-Id: I054754ff722106a5be45324c1ace25447deeef2c Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-11[HICN-176] Fixed bitmap size in pit entry and added static assert to avoid ↵Alberto Compagno7-166/+34
misconfiguration of parameters in param.h Change-Id: Ia64eaebe267f87bd5f93abf3e5a9e80bab735765 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-03Merge "[HICN-166] Assign a /127 or a /31 ip6/4 address to the memif used to ↵Mauro Sardara1-16/+24
create a producer face"
2019-04-03[HICN-166] Assign a /127 or a /31 ip6/4 address to the memif used to create ↵Alberto Compagno1-16/+24
a producer face Change-Id: Ic1d72ed2046549cd575cefec0303ae2c78c96322 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-03[HICN-162] Resolved warning about version comparison when installing ↵Mauro Sardara1-1/+1
hicn-plugin from deb Change-Id: Ia4e6efccbff78fa9fd352f3f9b516d627fa1ff58 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-04-03[HICN-161] Fixed bug that prevents to create an ip face when the code is ↵Alberto Compagno1-4/+4
compiled with -O3 Change-Id: I2dca28f02867a2de92a9bb92183c2c2d0b2fc055 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>