diff options
Diffstat (limited to 'hicn-plugin/src/hicn.api')
-rw-r--r-- | hicn-plugin/src/hicn.api | 87 |
1 files changed, 0 insertions, 87 deletions
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 */ |