fib: Allow the creation of new source on the API
[vpp.git] / src / vnet / fib / fib_api.h
index 2492c89..7fd7d16 100644 (file)
@@ -30,8 +30,8 @@ struct _vl_api_fib_prefix;
  * Encode and decode functions from the API types to internal types
  */
 extern void fib_api_path_encode(const fib_route_path_t * api_rpath,
-                                struct _vl_api_fib_path *out);
-extern int fib_api_path_decode(struct _vl_api_fib_path *in,
+                                vl_api_fib_path_t *out);
+extern int fib_api_path_decode(vl_api_fib_path_t *in,
                                fib_route_path_t *out);
 
 extern int fib_api_table_id_decode(fib_protocol_t fproto,
@@ -45,6 +45,7 @@ extern int fib_api_route_add_del (u8 is_add,
                                   u8 is_multipath,
                                   u32 fib_index,
                                   const fib_prefix_t * prefix,
+                                  fib_source_t src,
                                   fib_entry_flag_t entry_flags,
                                   fib_route_path_t *rpaths);