api: split vl_api_prefix into two
[vpp.git] / src / vnet / mpls / mpls.api
index 5d85812..535bcea 100644 (file)
@@ -26,8 +26,7 @@ import "vnet/ip/ip_types.api";
     @param mb_ip_table_id - The IP table-id of the IP prefix to bind to.
     @param mb_is_bind - Bind or unbind
     @param mb_is_ip4 - The prefix to bind to is IPv4
-    @param mb_address_length - Length of IP prefix
-    @param mb_address[16] - IP prefix/
+    @param mb_prefix - IP prefix
 */
 autoreply define mpls_ip_bind_unbind
 {
@@ -40,7 +39,7 @@ autoreply define mpls_ip_bind_unbind
   vl_api_prefix_t mb_prefix;
 };
 
-typeonly define mpls_tunnel
+typedef mpls_tunnel
 {
   u32 mt_sw_if_index;
   u32 mt_tunnel_index;
@@ -99,7 +98,7 @@ manual_endian manual_print define mpls_tunnel_details
                      is not set by the client, then VPP will generate
                     something meaningfull.
 */
-typeonly define mpls_table
+typedef mpls_table
 {
   u32 mt_table_id;
   u8  mt_name[64];
@@ -137,7 +136,7 @@ define mpls_table_details
     @param mr_n_paths - The number of paths
     @param mr_paths - The paths
 */
-typeonly define mpls_route
+typedef mpls_route
 {
   u32 mr_table_id;
   u32 mr_label;