api: split vl_api_prefix into two
[vpp.git] / src / vnet / ip / ip.api
index 2dae438..5d22bc5 100644 (file)
@@ -29,13 +29,13 @@ import "vnet/mfib/mfib_types.api";
 /** \brief An IP table
     @param is_ipv6 - V4 or V6 table
     @param table_id - table ID associated with the route
-                      This table ID will apply to both the unicats
+                     This table ID will apply to both the unicats
                      and mlticast FIBs
     @param name - A client provided name/tag for the table. If this is
                   not set by the client, then VPP will generate something
                  meaningfull.
 */
-typeonly define ip_table
+typedef ip_table
 {
   u32 table_id;
   u8  is_ip6;
@@ -82,7 +82,7 @@ manual_endian manual_print define ip_table_details
   @param n_paths The number of paths the route has
   @param paths The paths of the route
 */
-typeonly define ip_route
+typedef ip_route
 {
   u32 table_id;
   u32 stats_index;
@@ -496,7 +496,7 @@ define ip_address_details
 {
   u32 context;
   u32 sw_if_index;
-  vl_api_prefix_t prefix;
+  vl_api_address_with_prefix_t prefix;
 };
 
 define ip_address_dump
@@ -582,7 +582,7 @@ autoreply define ip_punt_police
     @param nh - the next-hop to redirect the traffic to.
     @param is_ipv6 - 1 for IPv6 neighbor, 0 for IPv4
 */
-typeonly define punt_redirect
+typedef punt_redirect
 {
   u32 rx_sw_if_index;
   u32 tx_sw_if_index;
@@ -841,7 +841,7 @@ autoreply define want_ip6_ra_events
     @param valid_time - RA prefix info valid time
     @param preferred_time - RA prefix info preferred time
 */
-typeonly define ip6_ra_prefix_info
+typedef ip6_ra_prefix_info
 {
   vl_api_prefix_t prefix;
   u8 flags;
@@ -887,7 +887,7 @@ service {
     @param low - Low address of the Proxy ARP range
     @param hi - High address of the Proxy ARP range
 */
-typeonly define proxy_arp
+typedef proxy_arp
 {
   u32 table_id;
   vl_api_ip4_address_t low;