FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
fib_api.c File Reference
+ Include dependency graph for fib_api.c:

Go to the source code of this file.

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 

Functions

int fib_path_api_parse (const vl_api_fib_path_t *in, fib_route_path_t *out)
 
void fib_prefix_to_api (const fib_prefix_t *pfx, u8 address[16], u8 *length, u8 *is_ip6)
 
static void fib_api_path_copy_next_hop (const fib_route_path_encode_t *api_rpath, void *fp_arg)
 
void fib_api_path_encode (const fib_route_path_encode_t *api_rpath, vl_api_fib_path_t *out)
 

Macro Definition Documentation

#define vl_endianfun   /* define message structures */

Definition at line 29 of file fib_api.c.

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 34 of file fib_api.c.

#define vl_printfun

Definition at line 35 of file fib_api.c.

#define vl_typedefs   /* define message structures */

Definition at line 25 of file fib_api.c.

Function Documentation

static void fib_api_path_copy_next_hop ( const fib_route_path_encode_t api_rpath,
void *  fp_arg 
)
static

Definition at line 181 of file fib_api.c.

+ Here is the caller graph for this function:

void fib_api_path_encode ( const fib_route_path_encode_t api_rpath,
vl_api_fib_path_t out 
)

Definition at line 207 of file fib_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int fib_path_api_parse ( const vl_api_fib_path_t in,
fib_route_path_t out 
)

Definition at line 42 of file fib_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void fib_prefix_to_api ( const fib_prefix_t pfx,
u8  address[16],
u8 length,
u8 is_ip6 
)

Definition at line 162 of file fib_api.c.