FD.io VPP  v21.01.1
Vector Packet Processing
mfib_api.c File Reference
+ Include dependency graph for mfib_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

static vl_api_mfib_itf_flags_t mfib_api_path_itf_flags_encode (mfib_itf_flags_t flags)
 
void mfib_api_path_encode (const fib_route_path_t *in, vl_api_mfib_path_t *out)
 Encode and decode functions from the API types to internal types. More...
 
static void mfib_api_path_itf_flags_decode (vl_api_mfib_itf_flags_t in, mfib_itf_flags_t *out)
 
mfib_entry_flags_t mfib_api_path_entry_flags_decode (vl_api_mfib_entry_flags_t in)
 
int mfib_api_path_decode (vl_api_mfib_path_t *in, fib_route_path_t *out)
 
int mfib_api_table_id_decode (fib_protocol_t fproto, u32 table_id, u32 *fib_index)
 

Macro Definition Documentation

◆ vl_endianfun

#define vl_endianfun   /* define message structures */

Definition at line 29 of file mfib_api.c.

◆ vl_print

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

Definition at line 34 of file mfib_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 35 of file mfib_api.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 25 of file mfib_api.c.

Function Documentation

◆ mfib_api_path_decode()

int mfib_api_path_decode ( vl_api_mfib_path_t *  in,
fib_route_path_t out 
)

Definition at line 116 of file mfib_api.c.

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

◆ mfib_api_path_encode()

void mfib_api_path_encode ( const fib_route_path_t in,
vl_api_mfib_path_t *  out 
)

Encode and decode functions from the API types to internal types.

Definition at line 69 of file mfib_api.c.

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

◆ mfib_api_path_entry_flags_decode()

mfib_entry_flags_t mfib_api_path_entry_flags_decode ( vl_api_mfib_entry_flags_t  in)

Definition at line 96 of file mfib_api.c.

+ Here is the caller graph for this function:

◆ mfib_api_path_itf_flags_decode()

static void mfib_api_path_itf_flags_decode ( vl_api_mfib_itf_flags_t  in,
mfib_itf_flags_t out 
)
static

Definition at line 78 of file mfib_api.c.

+ Here is the caller graph for this function:

◆ mfib_api_path_itf_flags_encode()

static vl_api_mfib_itf_flags_t mfib_api_path_itf_flags_encode ( mfib_itf_flags_t  flags)
static

Definition at line 40 of file mfib_api.c.

+ Here is the caller graph for this function:

◆ mfib_api_table_id_decode()

int mfib_api_table_id_decode ( fib_protocol_t  fproto,
u32  table_id,
u32 fib_index 
)

Definition at line 125 of file mfib_api.c.

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