summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2019-12-11Merge "[HICN-430] Rework on CMake"Luca Muscariello1-4/+4
2019-12-10[HICN-438] facemgr should allow face creation with physical interface downJordan Augé1-10/+18
Change-Id: I6487fbec0607464a625daa01455ddac8fdd75ee2 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-10[HICN-430] Rework on CMakeMauro Sardara1-4/+4
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-11-20[HICN-394] Add route commands add, list, del for the hicn-pluginAlberto Compagno1-2/+2
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I41641f6d27babaa1c413ecf2fe6eae0e499df97d
2019-11-17[HICN-395] Static face/route maintainance though face managerJordan Augé2-3/+6
Change-Id: I8f2287a262412bacc50f3c89756ec9fd6ce30d33 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-15[HICN-386] Improve API error management in libhicnctrlJordan Augé3-8/+7
Change-Id: I3f5e3840303265ccc3d4b864d026b63a2ccb7fdf Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-14[HICN-386] Improve API error management in libhicnctrlJordan Augé9-40/+958
Change-Id: I332e74ebcd89798c93de50ae7a20f7af8f59f54c Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-12[HICN-376] Add manual connection/route setting to face managerJordan Augé2-3/+28
Change-Id: I5c24f687e8e815d0e2f437ff8ce7fbb2c76e0579 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-08[HICN-385] fix route removal in hicnctrl, code uniformization in hicn-light ↵Jordan Augé4-95/+148
control api Change-Id: Id097368dcde993775f206623195cc5aa57b4fe12 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-04[HICN-262] Fix binary api to prevent byteswapping of ip addresses in vapiAlberto Compagno5-32/+31
Change-Id: If3f9a7db1e1310fdc08d1003b28e5e1d4006b61e Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-24[HICN-352] facemgr event loop enhancement; timer support & async hicn-light ↵Jordan Augé1-5/+3
interface Change-Id: I920a0eb091d826e1eb0d1f786fb0b437487f7ff7 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-22[HICN-343] fix hicn_name_create_from_ip_prefix function declarationmichele papalini1-1/+1
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I0d42192b04ca7f3536864018a2acd606ed253826
2019-10-21[HICN-320] HICN Light only configuring the first entry on FIBJordan Augé1-3/+8
Change-Id: Ica111f54b23a9a56433e9b195a3fccd913952ad0 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-09[HICN-311] Incorrect copying of ip_prefix_t data & uninitialized bytes ↵Jordan Augé2-3/+4
causes invalid writes Change-Id: Ia171dac11f65dab295b3523222145215f21a6f4f Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-08Merge "[HICN-306] Wrong representation format in ip_prefix_ntop causes ↵Mauro Sardara2-1/+14
parsing issues"
2019-10-08[HICN-306] Wrong representation format in ip_prefix_ntop causes parsing issuesJordan Augé2-1/+14
Change-Id: I16c8059ce537f338c15434acc87ac0e4baf87049 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-10-08Merge "[HICN-303] Fixed reading size of authentication header which might ↵Jordan Augé1-2/+4
have caused a bufferoverflow"
2019-10-08[HICN-303] Fixed reading size of authentication header which might have ↵Alberto Compagno1-2/+4
caused a bufferoverflow Change-Id: I46ae0539a51c9a2a11d8acfe4146470f2d4fa21d Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-07[HICN-298] Release new hICN app for AndroidJordan Augé37-302/+1002
Change-Id: I43adc62fadf00690b687078d739788dffdc5e566 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-09-24[HICN-279] Added libmemif packaging.Mauro Sardara1-2/+2
Change-Id: Ie8662059163b7a01211bb18fb8f6b77bbbc07279 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-08-27HICN-270 correcly create hicn name from ip address in libmichele papalini1-10/+4
Change-Id: Ie2ebe1db4ad5bddb7a9b1a67e38bf7e16b873ac0 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-07-29[HICN-252] Add per-application policy framework to hicn-light forwarderJordan Augé2-8/+14
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 Sardara2-4/+5
Change-Id: I1e8a14f9255f04bddbb87f74a6d6163a02dedb22 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-07-08[HICN-242] Perform only one allocation for the whole buffer passed to produce()Mauro Sardara2-2/+2
Change-Id: Ib4628d0a7711e2d7175b3dbb5c152dd22616ff32 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-05-16[HICN-195] Generate static libs for androidAngelo Mantellini1-11/+23
Change-Id: Ib78e0ba5108713c6fac0e422eb7bb6f7ba10abc7 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-05-13[HICN-194] support for android environmentAngelo Mantellini3-43/+39
Change-Id: I11a614709152035784e492ccd99bc383765a0aa1 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-03-12[HICN-106]Mauro Sardara2-6/+26
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-03-06Merge "[HICN-88] fix bug in function ipv4_get_interest_name_suffix"Jordan Augé1-1/+1
2019-03-06[HICN-88] fix bug in function ipv4_get_interest_name_suffixjerryian1-1/+1
Change-Id: Id876eabbb6ec98db4cef4f27a921ab11a556c3cf Signed-off-by: jerryian <gu.jian1@zte.com.cn>
2019-03-05[HICN-11] Rework on transport protocols improving components modularityMauro Sardara2-3/+3
Change-Id: I6683ec5b494238dc93591c103d25275e89b9f267 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-12[HICN-52] Fix signature computation and verification in libtransportMauro Sardara1-15/+15
Change-Id: I9b30a9c9e95e2cb2f135fe7efd43e633235196d9 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-12[HICN-51] Add static assert for ensuring correct struct size in libhicn ↵Mauro Sardara12-57/+198
definitions. Change-Id: Ib41e9cbdd2ea84a40eb4e7b01da131cbad9575c4 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-12[HICN-44] Remove warnings libhicn (lib) on windowsAngelo Mantellini9-35/+45
Change-Id: I637e9c1e05de8a9e6743ea729b62d3eedd6ca54b Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-02-11[HICN-43] Fix AH_FLAG set during packet forging.Mauro Sardara1-1/+1
Change-Id: I6aa224b17e9e1ec30d6f7d263ddaf628f179a5f0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-08[HICN-43] Fixed packet lifetime and setting AH flag when a data packet ↵Alberto Compagno3-5/+9
carries a signature Change-Id: I5e14716bc9bfcd8ffc3ab8cda8aa9ba0ca5c6d82 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-07[HICN-39] Added api that return a pointer to the signature hold in a packetAlberto Compagno9-4/+55
[HICN-40] Fixed signature calculation by allocating a contiguous portion of memory that holds the entire hICN header (IP+TCP+AH) Change-Id: I9d40bab0e3ecb82949b8b3a00e2cc1214457e4e3 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-06[HICN-34] Fixed bug on struct size and implemented initialization methodAlberto Compagno2-9/+14
Change-Id: I975fce31c2da5ad42d6787b0c5f305c60390d68c Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-04[HICN-9] Fix version number in libhicn doc.Mauro Sardara3-5/+13
Change-Id: I7b136665e12951604da2a08ae0af5fe506fa62dd Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-31Merge "[HICN-23] Fix ICMP types for MAP-Me Ack"Luca Muscariello1-2/+2
2019-01-31HICN-9 make doc libJordan Augé3-4/+6
Change-Id: I349c53b527df2445cd2d521555ff64af2400a8b2 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-01-31[HICN-23] Fix ICMP types for MAP-Me AckJordan Augé1-2/+2
Change-Id: Ieb9fcb87f75be62270df6e2f599182fd9fba5e5b Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-01-30[HICN-19] Add support for Windows 10 x64 for libhicn (lib)Angelo Mantellini8-8/+46
Change-Id: I5109d5ce293265fca557c2ef952fcb1c13b9d816 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-01-30[HICN-18] first commit of libtransport for windowsAngelo Mantellini33-0/+0
Change-Id: I3a43b22194aa13ae5de1746e3d4bd9a275070261 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-01-28[HICN-10] First version of build script.Mauro Sardara1-5/+6
Change-Id: Iaddb38e56280ddb6cddf3b2186a206c58fd45233 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-22[HICN-3] First version of packaging system based on cmake.Mauro Sardara4-11/+54
Change-Id: I576f84f4c12f932e17e9169f2c6ffdaed128ca10 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-21HICN-4 - Fix Windows compilation issue with named struct initializersJordan Augé5-366/+385
Change-Id: I9c9e8780ec1132d3d74b6202b9b142ed64b4e13f Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-01-21- Code style fixMauro Sardara1-4/+5
- Improved vpp binary api interface - Correction in object pool destructor - Fix error in Memif Connector Change-Id: Id1dd9219fc1ac0b3717ae019ebff17373bebc635 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-17This is the first commit of the hicn projectv19.01Luca Muscariello33-0/+7106
Change-Id: I6f2544ad9b9f8891c88cc4bcce3cf19bd3cc863f Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>