aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/faces/ip
AgeCommit message (Collapse)AuthorFilesLines
2020-03-19[HICN-547] Removing punting through acl for interestsAlberto Compagno1-228/+238
Change-Id: I71767f732ec6ede1efc66e5a99f09c3207367dcb Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-01-30[HICN-445] Update to vpp 20.01Alberto Compagno3-4/+4
Change-Id: I19a442080b6ca8b0477a8f92f161282288c395ee Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-01-07[HICN-462] Adding probing protocol to hicn-pluginAlberto Compagno1-4/+126
Change-Id: I44bc9aed26d35fadf66f65aa33a8d7880e149e59 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-22[HICN-405] Added application face deleteAlberto Compagno2-17/+27
Added two new messages in the binary api: - hicn_api_face_cons_del to delete a consumer face - hicn_api_face_prod_del to delete a producer face Added the corresponding commands in the vpp_api_test for debugging and testing Reworked the cache policy structure to add a new function that flash the content store from the content coming from the destroyed producer face. This is required since the CS while each producer face has its own lru list. Removing only the producer face without flushing the CS from the content coming from the producer face will lead to a segfault in case there is a hit in the CS as the lru no longer exists and it won't be possible to update the head of the lru. Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I8776c86952d50900aa504dd22aec521ed25c1dae
2019-11-18[HICN-391] Supporting midchain as adjacencies for an ip faceAlberto Compagno1-1/+1
Michain support is important to get a netx hop in a face whose locator is resolved in the fib through a via. Change-Id: Id0ff1522cedd5a093f242499e310a24625a3852a Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-07[HICN-226]Alberto Compagno6-226/+407
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-08-01[HICN-255] the api vnet_get_sw_interface_safe is now ↵Alberto Compagno2-4/+4
vnet_get_sw_interface_or_null Change-Id: I080e7e216b779ce8beb292edadff0cc6c468549b 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 Compagno1-2/+11
to forward interests Change-Id: I97c408c9e910df0ea7c43c0341c0025521ced125 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 Compagno1-10/+27
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-04-02[HICN-160] Bug in the command parsing that prevented to correctly parse the ↵Alberto Compagno1-5/+6
command hicn face ip add Change-Id: I606fcc8c777124879659623749eb049c9e3929f9 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-02Merge "[HICN-158] Fixed ip face deletion from binary api"Mauro Sardara1-51/+53
2019-04-02[HICN-158] Fixed ip face deletion from binary apiAlberto Compagno1-51/+53
Change-Id: I7a793e3664e30f765861fd5153c99fecb47ce863 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-01[HICN-156] Ip face now support the remote address to be reachable through a ↵Alberto Compagno1-20/+28
"via" route. Change-Id: Ic5e217ea997e8e86db1c21371839dfde03c641cf Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-29[HICN-151] The source address in the IP face is optional. If not provided it ↵Alberto Compagno1-4/+57
will be used one of the ip addresses available in the interface Change-Id: If800a07c0a61cde9152efdee01dd6ae9b12615dc Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-23[HICN-138] Added number of received/transmitted bytes and packets on each faceAlberto Compagno4-24/+138
Change-Id: Icfe9cd84bdc72afef3d714064e695d1abef368f5 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-20[HICN-132] Prevent to show interface details if the interface does not existAlberto Compagno1-30/+31
Change-Id: Id87483597b0259ed1b940948f2de7e2138ca97f9 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-12[HICN-109] Added missing parameter to the face ip add binary api.Alberto Compagno1-8/+12
Added check if the swif exists on the face ip binary api, before calling the internal api to add the face. Change-Id: I6e23d20290755707194bc86c93baee8932a03c40 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-06[HICN-93] Added documentation in the README.md about cli commands, ↵Alberto Compagno1-7/+1
configuration file and binary api. Added simple example with two vpp forwarders, client and server ping application Change-Id: I170500cd23c9a08b18ac902307a60e7558eb4ea0 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-21[HICN-75] fixed forwarding issue in udp face and improved packet tracing to ↵Alberto Compagno2-8/+8
show the hicn name Change-Id: I74426c541324d66c2d1b0353afcca17c5aedceba Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-20[HICN-71]Alberto Compagno4-34/+99
- 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-01-30[HICN-18] first commit of libtransport for windowsAngelo Mantellini9-0/+0
Change-Id: I3a43b22194aa13ae5de1746e3d4bd9a275070261 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-01-19Improved performance on data-fwd node:Alberto Compagno4-28/+43
- Removed full pit entry initialization in favor of a lighter initialization on few fields - Squeezed pit entry size in order to store only the number of incomplete faces (as set in HICN_PARAM_PIT_ENTRY_PHOPS_MAX). The bitmap size is now determined by HICN_PARAM_FACES_MAX and optimized to do a fast lookup Replaced the field is_appface with the field flags in the hicn_buffer_t: - is_appface is now a flag with value 0x01 (HICN_BUFFER_FLAGS_FACE_IS_APP) - Added flag HICN_BUFFER_FLAGS_PKT_LESS_TWO_CL (0x02) to handle the copy of pkt with length < than 2*CACHE_LINES (in this case cloning is prevented by the cloning function in vpp). Such flag is initialized by the incoming face of the pkt. Change-Id: Ia956fd5719a28ee29f7fa2fd23d283964743efd8 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-01-17This is the first commit of the hicn projectv19.01Luca Muscariello9-0/+2848
Change-Id: I6f2544ad9b9f8891c88cc4bcce3cf19bd3cc863f Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>