X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Ffib%2Ffib_api.h;h=caa993b78d050c8f0c37d880de56ca9da72fa256;hb=990f69450;hp=27335211df7157ffd91d860ff76146e4f1dfdd7f;hpb=c2ac2357fb0ff598ca1cb650a5766a552e017833;p=vpp.git diff --git a/src/vnet/fib/fib_api.h b/src/vnet/fib/fib_api.h index 27335211df7..caa993b78d0 100644 --- a/src/vnet/fib/fib_api.h +++ b/src/vnet/fib/fib_api.h @@ -18,6 +18,7 @@ #include #include +#include /** * Forward declare the API type, no need to include the generated api headers @@ -29,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, @@ -50,7 +51,7 @@ extern int fib_api_route_add_del (u8 is_add, extern u8* format_vl_api_fib_path(u8 * s, va_list * args); -extern fib_protocol_t fib_proto_from_api_address_family (int af); -extern int fib_proto_to_api_address_family (fib_protocol_t fproto); +extern int fib_proto_from_api_address_family (vl_api_address_family_t af, fib_protocol_t *out); +extern vl_api_address_family_t fib_proto_to_api_address_family (fib_protocol_t fproto); #endif /* __FIB_API_H__ */