FD.io VPP  v19.04.4-rc0-5-ge88582fac
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)
 
fib_protocol_t fib_proto_from_api_address_family (int af)
 
int fib_proto_to_api_address_family (fib_protocol_t fproto)
 

Macro Definition Documentation

◆ vl_endianfun

#define vl_endianfun   /* define message structures */

Definition at line 30 of file fib_api.c.

◆ vl_print

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

Definition at line 35 of file fib_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 36 of file fib_api.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 26 of file fib_api.c.

Function Documentation

◆ fib_api_path_copy_next_hop()

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

Definition at line 192 of file fib_api.c.

+ Here is the caller graph for this function:

◆ fib_api_path_encode()

void fib_api_path_encode ( const fib_route_path_encode_t api_rpath,
vl_api_fib_path_t out 
)

Definition at line 218 of file fib_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_path_api_parse()

int fib_path_api_parse ( const vl_api_fib_path_t in,
fib_route_path_t out 
)

Definition at line 43 of file fib_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_prefix_to_api()

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

Definition at line 173 of file fib_api.c.

◆ fib_proto_from_api_address_family()

fib_protocol_t fib_proto_from_api_address_family ( int  af)

Definition at line 326 of file fib_api.c.

+ Here is the caller graph for this function:

◆ fib_proto_to_api_address_family()

int fib_proto_to_api_address_family ( fib_protocol_t  fproto)

Definition at line 341 of file fib_api.c.

+ Here is the caller graph for this function: