From 058f80a04fb24404c3f4396a45051fbc4ba05b62 Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Tue, 17 Mar 2020 11:21:40 +0100 Subject: [HICN-551] Removed source code that uses acl - Removed punting from the sysrepo-plugin - Removed calls to the punting functions of binary api in the libhicnctrl - Added documentation in vpp-plugin.md and doxygen related to pg Change-Id: I8936156d51524797441ec49f0d5e801a1ad3643a Signed-off-by: Alberto Compagno --- hicn-plugin/src/hicn.api | 87 ------------------------------------------------ 1 file changed, 87 deletions(-) (limited to 'hicn-plugin/src/hicn.api') diff --git a/hicn-plugin/src/hicn.api b/hicn-plugin/src/hicn.api index b226dfe4d..01e4da213 100644 --- a/hicn-plugin/src/hicn.api +++ b/hicn-plugin/src/hicn.api @@ -22,12 +22,6 @@ enum hicn_face_type UDP_FACE, }; -enum hicn_punt_type -{ - IP_PUNT = 0, - UDP_PUNT, -}; - typedef hicn_face_ip { /* IP local address */ @@ -76,39 +70,6 @@ typedef hicn_face_union vl_api_hicn_face_udp_t udp; }; -typedef hicn_punting_ip -{ - /* Prefix to match */ - vl_api_prefix_t prefix; - - /* Interface id */ - u32 swif; -}; - -typedef hicn_punting_udp -{ - /* Prefix to match */ - vl_api_prefix_t prefix; - - /* Source port to match */ - u16 sport; - - /* Destination port to match */ - u16 dport; - - /* Ip version (4 or 6) of the tunnel */ - vl_api_address_family_t ip_version; - - /* Interface id */ - u32 swif; -}; - -typedef hicn_punting_union -{ - vl_api_hicn_punting_ip_t ip; - vl_api_hicn_punting_udp_t udp; -}; - define hicn_api_node_params_set { /* Client identifier, set from api_main.my_client_index */ @@ -663,54 +624,6 @@ define hicn_api_strategy_get_reply i32 retval; }; -define hicn_api_punting_add -{ - /* Client identifier, set from api_main.my_client_index */ - u32 client_index; - - /* Arbitrary context, so client can match reply to request */ - u32 context; - - /* Type of punting rule */ - vl_api_hicn_punt_type_t type; - - /* Prefix to match */ - vl_api_hicn_punting_union_t rule; -}; - -define hicn_api_punting_add_reply -{ - /* From the request */ - u32 context; - - /* Return value, zero means all OK */ - i32 retval; -}; - -define hicn_api_punting_del -{ - /* Client identifier, set from api_main.my_client_index */ - u32 client_index; - - /* Arbitrary context, so client can match reply to request */ - u32 context; - - /* Type of punting rule */ - vl_api_hicn_punt_type_t type; - - /* Prefix to match */ - vl_api_hicn_punting_union_t rule; -}; - -define hicn_api_punting_del_reply -{ - /* From the request */ - u32 context; - - /* Return value, zero means all OK */ - i32 retval; -}; - define hicn_api_register_prod_app { /* Client identifier, set from api_main.my_client_index */ -- cgit 1.2.3-korg