summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-03-05[HICN-89] Preallocate memory for timer handlers just with memif connector.Mauro Sardara1-2/+19
Change-Id: I74b3a249961390b6441c45c91dde21f587a426a5 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-05[HICN-73] Performance improvements of interest/data transmission and ↵Mauro Sardara14-145/+335
reception at low level in the stack (portal.h) Change-Id: I1525726f52040f1609e284bb9b995ea8794c5d5e Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-05[HICN-11] Rework on transport protocols improving components modularityMauro Sardara87-4264/+2915
Change-Id: I6683ec5b494238dc93591c103d25275e89b9f267 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-04[HICN-87] Updated compilation instructions according to the latest changes ↵Alberto Compagno1-5/+5
made in CMakeList.txt Change-Id: I6c1b4dbf626a1d7db55da2e87cccf784637103ea Signed-off-by: Alberto Compagno <acompagn@cisco.com>
2019-03-01[HICN-86] Fix include file order in libtransport and hicn-light.Mauro Sardara2-2/+2
Change-Id: Id4e8e6aedcdb529971583a20f34a96d1cfdcccc9 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-01[HICN-5] hicn sysrepo plugin initialMasoud Hemmatpour21-0/+3138
Change-Id: I4713465c39abd00fac709cfc908b9384ea75532f Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com> Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com> Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com> Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com> Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com>
2019-02-28Merge "[HICN-84] check if a UDP connection is local"Alberto Compagno2-0/+28
2019-02-28[HICN-84] check if a UDP connection is localmichele papalini2-0/+28
Change-Id: Ieca7f91c91013f336a4d570177aa0b089455fe6f Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-22[HICN-83] Added cmake flag "-DENABLE_PUNTING=[ON|OFF]" for ↵Mauro Sardara6-27/+45
enabling/disabling punting in hicnLightDaemon. Change-Id: I14f5e1ce21f2c2381359fa6184671d3cbe43b808 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-22Merge "[HICN-80] Avoid segfault when deleting memif interface on VPP."Alberto Compagno5-15/+14
2019-02-22Merge "[HICN-79] epoll timeout is now set to 1 second"Mauro Sardara1-2/+2
2019-02-22Merge "[HICN-81] UDP face data dropped due to struct sockaddr inconsistency"Mauro Sardara1-0/+4
2019-02-22Merge "[HICN-78] Added option -l to set data lifetime. If not set the data ↵Mauro Sardara1-10/+14
never expires."
2019-02-22[HICN-81] UDP face data dropped due to struct sockaddr inconsistencymichele papalini1-0/+4
Change-Id: I174b2b9beaaee8cab89044a1d9ad3aa686da6ca3 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-22[HICN-80] Avoid segfault when deleting memif interface on VPP.Mauro Sardara5-15/+14
Change-Id: Ie36cfc0ade82b38815d61a7ead2c72fc640236ed Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-22[HICN-78] Added option -l to set data lifetime. If not set the data never ↵Alberto Compagno1-10/+14
expires. Change-Id: I7f0734a4e29826f276cfab1c83d5878bfab5c900 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-22[HICN-79] epoll timeout is now set to 1 secondAlberto Compagno1-2/+2
Change-Id: Ibec7ff2064ac69833e9c1bb1d8aaa064c02e64be Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-22[HICN-74] Data with lifetime 0 are never cached in the CS. When such data is ↵Alberto Compagno4-46/+100
received the PIT entry is removed. If the data comes from the push node the data is dropped. Change-Id: I8780e16cca30ad8298f1a494f1138f8b35ae0fab Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-21Merge "[HICN-75] fixed forwarding issue in udp face and improved packet ↵Mauro Sardara5-35/+49
tracing to show the hicn name"
2019-02-21[HICN-77] adding sonarcube supportLuca Muscariello1-0/+43
Change-Id: Id0436d4688c747679acb41167528f828f7cf6805 Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>
2019-02-21[HICN-75] fixed forwarding issue in udp face and improved packet tracing to ↵Alberto Compagno5-35/+49
show the hicn name Change-Id: I74426c541324d66c2d1b0353afcca17c5aedceba Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-21Merge "[HICN-71] - Handling the case in which a pushed data hit an existing ↵Luca Muscariello19-282/+469
pit entry (created after the data has gone through the data_pcslookup_node). In this case the data packet is forwarded to the data_fwd_node - Handling the case in which the hash table (in pcs) is full and it is not possible to allocate another bucket. In this case the packet is dropped. - Copying packets whose length is less than 128B. VPP prevents to create a chain of vlib_buffer where the first, or middle, vlib_buffer are holding less then 128B."
2019-02-20[HICN-71]Alberto Compagno19-282/+469
- Handling the case in which a pushed data hit an existing pit entry (created after the data has gone through the data_pcslookup_node). In this case the data packet is forwarded to the data_fwd_node - Handling the case in which the hash table (in pcs) is full and it is not possible to allocate another bucket. In this case the packet is dropped. - Copying packets whose length is less than 128B. VPP prevents to create a chain of vlib_buffer where the first, or middle, vlib_buffer are holding less then 128B. [HICN-72] - Assign a /128 subnet to the producer app face. Change-Id: I6c19d6d127774a7f59ac69ac965d4bcd6a72becc Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-19[HICN-70] remove double htons in addListenermichele papalini2-2/+2
Change-Id: Iaf65c52ec45c737f3bb6cc85a66c0f1521921e5f Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-19[HICN-69] Include libtransport config file in raw_socket_connector.h.Mauro Sardara1-0/+1
Change-Id: Ieac743f5c46edd6568d48e689216bb8723d44e2c Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-18[HICN-69] add compiler definitions for programs using hicnmichele papalini7-4/+11
Change-Id: If20c1e487ca4d9c00ffeebe09f31b475b354e293 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-18[HICN-68] remove compiling warnign on MAC-OSmichele papalini1-1/+1
Change-Id: I6e238cd3ae20e081cfedec8c249eebec38af2028 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-18Merge "[HICN-50] Added udp application connector."Alberto Compagno37-426/+829
2019-02-18[HICN-50] Added udp application connector.Mauro Sardara37-426/+829
Change-Id: I0c5afad4b404ec485f50b1342b81e70ef85a5163 Signed-off-by: Mauro Sardara <msardara@cisco.com> Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-18Merge "[HICN-67] add interest callback in RTC producer socket"Mauro Sardara1-2/+5
2019-02-18[HICN-67] add interest callback in RTC producer socketmichele papalini1-2/+5
Change-Id: I8b2075d71f272956e213b0b1505d7af46844d387 Signed-off-by: michele papalini <micpapal@cisco.com>
2019-02-18[HICN-35] add vapiLuca Muscariello1-3/+28
Change-Id: I34dfeb05b2d2796129e68c3f38d73f1ec49699a1 Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>
2019-02-14Merge "- [HICN-65] Populating hash map of handler and crc in api_main - ↵Mauro Sardara3-14/+39
Added possibility to start the forwarder from binary api without setting any parameters - Changed pit lifetime values from seconds to milliseconds"
2019-02-14- [HICN-65] Populating hash map of handler and crc in api_mainAlberto Compagno3-14/+39
- Added possibility to start the forwarder from binary api without setting any parameters - Changed pit lifetime values from seconds to milliseconds Change-Id: I83706f22ddd8e825c1021fe70d4bf52e1b929be8 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-13[HICN-61] Compile Error in libtransport in windows environmentAngelo Mantellini3-4/+8
Change-Id: I25642a194996e449b91d492b22a379466c524940 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-02-13Merge "[HICN-62] Using the new API in libparc to remove a per-packet copy of ↵Mauro Sardara1-1/+1
the signature"
2019-02-13[HICN-62] Using the new API in libparc to remove a per-packet copy of the ↵Alberto Compagno1-1/+1
signature Change-Id: I4d2dee75d7ba3ed94a1676fd4ab892c6bcad958a Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-13[HICN-60] Solved concurrent memory access which was leading to seg-faultAlberto Compagno5-22/+15
Change-Id: I7b9fcf79bb97650346f7d92af8cbb419f0a5cb95 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-13[HICN-59] Do not call clear on membuf sharing same underlying memory. Use ↵Mauro Sardara2-1/+5
trimEnd instead. Change-Id: I69463ede2b32f1d625b6161fabd08daca41c3483 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-12[HICN-54] Fixed udp face visualizationAlberto Compagno1-2/+2
Change-Id: Id6bb058bfb54e76ab08afae89db8cf489629f306 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-12[HICN-52] Fix signature computation and verification in libtransportMauro Sardara5-49/+60
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 Mantellini10-38/+49
Change-Id: I637e9c1e05de8a9e6743ea729b62d3eedd6ca54b Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-02-11Merge "[HICN-47] Remove warnings utils on windows"Mauro Sardara4-17/+21
2019-02-11Merge "[HICN-46] Remove warnings libtransport on windows"Mauro Sardara27-103/+127
2019-02-11[HICN-47] Remove warnings utils on windowsAngelo Mantellini4-17/+21
Change-Id: Id8616bc6b68ec2854078ecfe3b30f4573e7d7c6c Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-02-11[HICN-46] Remove warnings libtransport on windowsAngelo Mantellini27-103/+127
Change-Id: I09456770dcbca979491cdcadb310eab95a0dea17 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-10Merge "[HICN-49] Remove warnings hicn-light on windows"Michele Papalini23-79/+76
2019-02-10[HICN-49] Remove warnings hicn-light on windowsAngelo Mantellini23-79/+76
Change-Id: I106713c285ad5cc47cb5ae3aaf9c837685156e36 Signed-off-by: Angelo Mantellini <manangel@cisco.com>