aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/faces/udp/face_udp.c
AgeCommit message (Collapse)AuthorFilesLines
2020-05-04[HICN-590] Removed andjacency type specific face implementationAlberto Compagno1-456/+0
Changes in the new implementation are: - the adjacency index is replaced with a dpo that allows the single face node to dispatch the packet to the right vlib node. - local and remote address in the face are replaced with a single nat address which is used to perform the nat operation when rewriting an interest or a data (in case of tunnels the nat address will be equal to 0) - the list of next hop in the load balance is no longer a list of dpos but a list of face id (this makes the code easier and increases the number of next hop we supports) Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I4ac2b4eb09425bfe1b3ca9f82d7d0ff564297b0d
2020-04-27[HICN-604] using host order port value to punt udp packetAlberto Compagno1-2/+2
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I9c135c76b881fecafe673517501d9539d2e30b2d
2020-04-27[HICN-604] Added missing punting for udp facesAlberto Compagno1-1/+8
Every time a udp face is created, a punting on the source port of the face is added Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I2b6205cdeb0ef8f527e2ce9a2046c345275b3bca
2020-03-19[HICN-547] Removing punting through acl for interestsAlberto Compagno1-14/+8
Change-Id: I71767f732ec6ede1efc66e5a99f09c3207367dcb Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-01-30[HICN-445] Update to vpp 20.01Alberto Compagno1-4/+4
Change-Id: I19a442080b6ca8b0477a8f92f161282288c395ee Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-12-11[HICN-447] Converting incomplete udp face into a complete oneAlberto Compagno1-8/+4
When inserting a udp face through cli or binary api, if an incomplete udp face already exist with the same local and remote addresses and port, the face is converted into a complete face Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I8e7b5eee6c492367f663b2b97d50b6ca166b4824
2019-11-22[HICN-405] Added application face deleteAlberto Compagno1-19/+24
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-225] Added generic binary api for handling facesAlberto Compagno1-1/+1
Supported messages are add, del, get, dump, get. Each message contains a face id and the expected message has different fields based on the face type. The binary api specific for ip faces is still available for compatibility but deprecated. Change-Id: I899c6cf31a56abd39ad287ea3128993857997fcb Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-08-01[HICN-255] the api vnet_get_sw_interface_safe is now ↵Alberto Compagno1-6/+6
vnet_get_sw_interface_or_null Change-Id: I080e7e216b779ce8beb292edadff0cc6c468549b Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
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-03-23[HICN-138] Added number of received/transmitted bytes and packets on each faceAlberto Compagno1-10/+26
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-33/+50
Change-Id: Id87483597b0259ed1b940948f2de7e2138ca97f9 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-14[HICN-112] Fixed bug on dymanic udp face creation. Fixed visualization of ↵Alberto Compagno1-9/+11
udp faces with "hicn show" command Change-Id: I8d2898427b19abc707ac7a0c2942576f81094ef9 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 Compagno1-0/+1
show the hicn name Change-Id: I74426c541324d66c2d1b0353afcca17c5aedceba Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-20[HICN-71]Alberto Compagno1-18/+48
- 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-12[HICN-54] Fixed udp face visualizationAlberto Compagno1-2/+2
Change-Id: Id6bb058bfb54e76ab08afae89db8cf489629f306 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-01-30[HICN-18] first commit of libtransport for windowsAngelo Mantellini1-0/+0
Change-Id: I3a43b22194aa13ae5de1746e3d4bd9a275070261 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-01-17This is the first commit of the hicn projectv19.01Luca Muscariello1-0/+371
Change-Id: I6f2544ad9b9f8891c88cc4bcce3cf19bd3cc863f Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>