aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
AgeCommit message (Collapse)AuthorFilesLines
2021-05-03[HICN-703] correct minor cmake issues and memset in manifest_format_fixed.ccAngelo Mantellini1-1/+3
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I3ed763941fa58bdfc61b9462d3f3bd268d5a76ed
2021-04-30[HICN-703] Update windows-sdk and hicn codeAngelo Mantellini2-2/+5
Signed-off-by: Angelo Mantellini <@ngelo.mantellini@cisco.com> Change-Id: I05e4c92ce7de3640f0272afae127e1377862bd3e Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
2021-04-15[HICN-690] Transport Library Major RefactoryLuca Muscariello8-20/+212
The current patch provides a major refactory of the transportlibrary. A summary of the different components that underwent major modifications is reported below. - Transport protocol updates The hierarchy of classes has been optimized to have common transport services across different transport protocols. This can allow to customize a transport protocol with new features. - A new real-time communication protocol The RTC protocol has been optimized in terms of algorithms to reduce consumer-producer synchronization latency. - A novel socket API The API has been reworked to be easier to consumer but also to have a more efficient integration in L4 proxies. - Several performance improvements A large number of performance improvements have been included in particular to make the entire stack zero-copy and optimize cache miss. - New memory buffer framework Memory management has been reworked entirely to provide a more efficient infra with a richer API. Buffers are now allocated in blocks and a single buffer holds the memory for (1) the shared_ptr control block, (2) the metadata of the packet (e.g. name, pointer to other buffers if buffer is chained and relevant offsets), and (3) the packet itself, as it is sent/received over the network. - A new slab allocator Dynamic memory allocation is now managed by a novel slab allocator that is optimised for packet processing and connection management. Memory is organized in pools of blocks all of the same size which are used during the processing of outgoing/incoming packets. When a memory block Is allocated is always taken from a global pool and when it is deallocated is returned to the pool, thus avoiding the cost of any heap allocation in the data path. - New transport connectors Consumer and producer end-points can communication either using an hicn packet forwarder or with direct connector based on shared memories or sockets. The usage of transport connectors typically for unit and funcitonal testing but may have additional usage. - Support for FEC/ECC for transport services FEC/ECC via reed solomon is supported by default and made available to transport services as a modular component. Reed solomon block codes is a default FEC model that can be replaced in a modular way by many other codes including RLNC not avaiable in this distribution. The current FEC framework support variable size padding and efficiently makes use of the infra memory buffers to avoid additiona copies. - Secure transport framework for signature computation and verification Crypto support is nativelty used in hICN for integrity and authenticity. Novel support that includes RTC has been implemented and made modular and reusable acrosso different transport protocols. - TLS - Transport layer security over hicn Point to point confidentiality is provided by integrating TLS on top of hICN reliable and non-reliable transport. The integration is common and makes a different use of the TLS record. - MLS - Messaging layer security over hicn MLS integration on top of hICN is made by using the MLSPP implemetation open sourced by Cisco. We have included instrumentation tools to deploy performance and functional tests of groups of end-points. - Android support The overall code has been heavily tested in Android environments and has received heavy lifting to better run natively in recent Android OS. Co-authored-by: Mauro Sardara <msardara@cisco.com> Co-authored-by: Michele Papalini <micpapal@cisco.com> Co-authored-by: Olivier Roques <oroques+fdio@cisco.com> Co-authored-by: Giulio Grassi <gigrassi@cisco.com> Change-Id: If477ba2fa686e6f47bdf96307ac60938766aef69 Signed-off-by: Luca Muscariello <muscariello@ieee.org>
2021-04-09[HICN-696] packethicn: add support for native hicn and fix find wireshark ↵Marco Trinelli1-39/+0
for macOS Allow wireshark to parse native hicn traffic (decode IPv6 traffic as HICN, by default) Fix find_package(wireshark) for macOS, to automatically find wireshark sources in macOS Signed-off-by: Marco Trinelli <marcotrinelli@gmail.com> Change-Id: I95599a894b91685ab1f274b1fa8d75efe6b96178 Signed-off-by: Marco Trinelli <marcotrinelli@gmail.com>
2021-03-25[HICN-688] Include packethicn in hicn buildMarco Trinelli2-1/+47
Add license headers Add dependencies Fix build for Ubuntu 18.04 Move doc Signed-off-by: Marco Trinelli <marcotrinelli@gmail.com> Change-Id: Ie92268d2d3a47c47746107ac6f9c34b21949671c
2021-01-26[HICN-677] Add support for unit testing across all subprojectsMauro Sardara2-14/+40
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I7fa6442f53860fe8dcda3c17b63cfca15aa26c63 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2021-01-19[HICN-657] Remove common.h dependency in collectd pluginsOlivier Roques1-8/+2
In Ubuntu 20.04, the file common.h is not shipped with collectd packages anymore. This patch removes that dependency from the collectd plugins. Change-Id: I234389ee9cbfd1f1820efdb34d532a7b11618206 Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
2020-11-06[HICN-654] Fix versioning.Mauro Sardara1-10/+22
- Add rc0 tag for release candidate packages pushed in hicn repo - Fix version for centos and aarch64 packages Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I0b04d8164690635c19a0d429fb383268b9d3318e
2020-11-06[HICN-653] Cleanup build scripts.Mauro Sardara1-5/+12
Main changes: - Next VPP version is now counted 4 months (instead of 3) from the current one - CMake will now use Ninja as generator - Build functions are gathered under build/functions.sh and they are shared instead of being duplicated in build-extras and build-packages - Various bug fixes for dependencies and versioning. Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I3f482d2c87847a465019dd0992ee9375c88bb412 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-10-03[HICN-643] Fix check for release version.Mauro Sardara1-1/+1
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I4344315b771d35943cc78d3d358c2aebc0f72662
2020-10-03[HICN-643] Fix scripts for publishing release.v20.09-rc0Mauro Sardara1-25/+8
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I843e1111a6b3442bada9e4b29c74359a75b4b728 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-10-02[HICN-643] Fix scripts for publishing release.Mauro Sardara1-5/+26
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: If01c46dcf8981385e544c9cc6c31ce1efe3c2d96
2020-09-18Revert to [HICN-638] Check if systemd is running before enabling hicn-light ↵Mauro Sardara1-18/+7
service Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I1810d96e001a4e6e097e1efa331b682af750925d
2020-09-14[HICN-574] Host stack plugin for VPP.Mauro Sardara1-7/+18
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I8d8fdffef31a7013265d6529c5f52f3d5ec70d18 Signed-off-by: Mauro Sardara <msardara@cisco.com> Signed-off-by: Mauro <you@example.com> Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-03-31[HICN-581] update hicn stack to support windows, againAngelo Mantellini1-2/+35
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ic5cfeae600fde8140a076807fa1e411da1933a02
2020-02-18[HICN-510] Adding collectd plugins to get telemetry from vpp and hicn-pluginAlberto Compagno3-9/+108
Change-Id: Idb322dc712b52301c66c5256ad8d1a6a65b503b9 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-02-18[HICN-527] Do not create Unspecified DEB/RPM package anymore.Mauro Sardara2-2/+3
Change-Id: Id79b3885ca02b24a4c480ec10a0b2a1330ff8604 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-01-27[HICN-488] Adding lock to vapi calls and manage vapi_connect in order to ↵Alberto Compagno1-0/+40
connect only once. - Added library to hicn-plugin called safe_vapi that takes care of handling concurrent calls to the vapi. - Removed dependency of libhicnctrl from libtransport and added dependency to safe_vapi. - Added dependency to safe_vapi on libhicnctrl Change-Id: Ie49e8319f64a50e7ed6a56e041db977c3b184cc5 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-12-11[HICN-430] Build sysrepo and libyang extra with correct dependenciesMauro Sardara1-1/+1
Change-Id: Icc758938acac76a407d3a6d37a4896c331e47380 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-11[HICN-430] Update extra dependenciesMauro Sardara1-1/+1
Change-Id: I10a505ea638688f7a08fc92bdecffead5721ae8b Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-10[HICN-430] Rework on CMakeMauro Sardara1-1/+1
Change way targets are defined: each project defines targets. Fix project BUILD flags Add build-extras bash script Rework build tree of extras folder, using ExternalProject_Add Change-Id: I82fa29896e54c8a033490eba013c3f0431bec9d0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-04Merge "[HICN-428] Creating libctrl deb and rpm packages specific for ↵Alberto Compagno1-1/+1
hicn-plugin"
2019-12-04[HICN-432] Set CPACK_COMPONENT_ALL variable with the global list of components.Mauro Sardara1-0/+1
Change-Id: I6a8c4dba362914ce4d80c86adffc8ca98ab4c2a1 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-04[HICN-428] Creating libctrl deb and rpm packages specific for hicn-pluginAlberto Compagno1-1/+1
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I2460276eb400777105d3351dffdaf8452f01c51f
2019-11-29[HICN-403] update vapi communication with vppMasoud Hemmatpour2-4/+9
Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com> Change-Id: I6e05d96af049229a6dc2da0adf32707873cdc816 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-22[HICN-412] Added option LINK_FLAGSgto build_executable to specify link flagsAlberto Compagno1-2/+2
Change-Id: I6b382abe374d896c9ea1e0ef5573ba166fafec94 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-20[HICN-394] Add route commands add, list, del for the hicn-pluginAlberto Compagno4-35/+20
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I41641f6d27babaa1c413ecf2fe6eae0e499df97d
2019-11-15[HICN-386] Improve API error management in libhicnctrlJordan Augé1-0/+3
Change-Id: Ifab987a17255e20077242888b052e312f9e4c964 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-14[HICN-375] Move cmake in ctrl/sysrepo-plugins to the main cmke in rootmashemat3-0/+120
Signed-off-by: mashemat <mhemmatp@cisco.com> Change-Id: I6c2f65e61a2f13db8261a32482336b21f07d5e45
2019-11-04[HICN-262] Fix binary api to prevent byteswapping of ip addresses in vapiAlberto Compagno1-1/+8
Change-Id: If3f9a7db1e1310fdc08d1003b28e5e1d4006b61e Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-25[HICN-358] Enable systemctl service after package installation.Mauro Sardara1-1/+5
Change-Id: I1c9a7099fbf59c09fb22475e9695373f316d0b6e Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-10-22[HICN-346] Add version of the transport library in the config.h header file.Mauro Sardara1-15/+34
Change-Id: I1ce0b705db98f4042470a7b80b422720ba03c0f6 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-10-21[HICN-340] Install hicn-light service file.Mauro Sardara1-0/+42
Change-Id: I102d16327d74f0c69e88003045de6450aae32923 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-10-07Merge "[HICN-298] Release new hICN app for Android"Mauro Sardara2-10/+14
2019-10-07[HICN-298] Release new hICN app for AndroidJordan Augé2-10/+14
Change-Id: I43adc62fadf00690b687078d739788dffdc5e566 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-06[HICN-287] Adding hicn section to the startup.confAlberto Compagno1-0/+12
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-07-29[HICN-252] Add per-application policy framework to hicn-light forwarderJordan Augé4-4/+83
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-2/+2
Change-Id: I1e8a14f9255f04bddbb87f74a6d6163a02dedb22 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-07-18[HICN-248] Install libraries under correct folder (lib/x86_64-linux-gnu on ↵Mauro Sardara1-7/+14
ubuntu/debian and lib64 on centos) Change-Id: I9c8fc206f2f93b9eae1060387ab6d0833da80124 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-05-03[HICN-180] Updating plugin to run on vpp 19.04Alberto Compagno1-1/+8
Change-Id: I23d44747edf65b9cbf1cd7cb174541dce55152aa Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-25[HICN-141] Install headers in hicn-light component.Mauro Sardara1-2/+7
Change-Id: I3c7aef4f6ecd147156ecab6aaa6cb2845768645f Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-15[HICN-114] Update Hicn Http Server to hicn fdio stackAngelo Mantellini2-0/+116
Change-Id: Ic808c93c14f905fd403e60be82ce319757e84c9f Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-03-14[HICN-113] Fix packaging system.Mauro Sardara1-1/+21
Change-Id: I779bfffedac5c593de9789b79218475ec4698c01 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-12[HICN-106]Mauro Sardara1-16/+37
Added generation of .lib for dll shared libraries fixed warning for shift in csum_fold function in libhicn added declaration of external symbol in libtransport log. Change-Id: I9377eb6016a74f14eb8f05df2ced36ee41a27bfd Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-12[HICN-44] Remove warnings libhicn (lib) on windowsAngelo Mantellini1-3/+4
Change-Id: I637e9c1e05de8a9e6743ea729b62d3eedd6ca54b Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-02-10[HICN-49] Remove warnings hicn-light on windowsAngelo Mantellini1-1/+5
Change-Id: I106713c285ad5cc47cb5ae3aaf9c837685156e36 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-02-01[HICN-10] Compile libtransport with libmemif supportMauro Sardara2-3/+4
Change-Id: I81d1cb4d5f16a61c35f66fe347985f05d8c97383 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-01[HICN-10] Add support for building hicn-plugin packages. Do not build ↵Mauro Sardara1-1/+9
packages for components without name. Change-Id: I11eff1b9dc6e71e079baf65703192a7cbfb565e8 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-30[HICN-19] Add support for Windows 10 x64 for libhicn (lib)Angelo Mantellini1-3/+3
Change-Id: I5109d5ce293265fca557c2ef952fcb1c13b9d816 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-01-30[HICN-18] first commit of libtransport for windowsAngelo Mantellini18-0/+91
Change-Id: I3a43b22194aa13ae5de1746e3d4bd9a275070261 Signed-off-by: Angelo Mantellini <manangel@cisco.com>