FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
fib_api.h File Reference
+ Include dependency graph for fib_api.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void fib_api_path_encode (const fib_route_path_t *api_rpath, struct _vl_api_fib_path *out)
 Encode and decode functions from the API types to internal types. More...
 
int fib_api_path_decode (struct _vl_api_fib_path *in, fib_route_path_t *out)
 
int fib_api_table_id_decode (fib_protocol_t fproto, u32 table_id, u32 *fib_index)
 
int fib_api_route_add_del (u8 is_add, u8 is_multipath, u32 fib_index, const fib_prefix_t *prefix, fib_entry_flag_t entry_flags, fib_route_path_t *rpaths)
 Adding routes from the API. More...
 
u8format_vl_api_fib_path (u8 *s, va_list *args)
 
int fib_proto_from_api_address_family (vl_api_address_family_t af, fib_protocol_t *out)
 
vl_api_address_family_t fib_proto_to_api_address_family (fib_protocol_t fproto)
 

Function Documentation

◆ fib_api_path_decode()

int fib_api_path_decode ( struct _vl_api_fib_path *  in,
fib_route_path_t out 
)

◆ fib_api_path_encode()

void fib_api_path_encode ( const fib_route_path_t api_rpath,
struct _vl_api_fib_path *  out 
)

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

◆ fib_api_route_add_del()

int fib_api_route_add_del ( u8  is_add,
u8  is_multipath,
u32  fib_index,
const fib_prefix_t prefix,
fib_entry_flag_t  entry_flags,
fib_route_path_t rpaths 
)

Adding routes from the API.

Definition at line 460 of file fib_api.c.

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

◆ fib_api_table_id_decode()

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

Definition at line 45 of file fib_api.c.

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

◆ fib_proto_from_api_address_family()

int fib_proto_from_api_address_family ( vl_api_address_family_t  af,
fib_protocol_t out 
)

Definition at line 541 of file fib_api.c.

+ Here is the caller graph for this function:

◆ fib_proto_to_api_address_family()

vl_api_address_family_t fib_proto_to_api_address_family ( fib_protocol_t  fproto)

Definition at line 557 of file fib_api.c.

+ Here is the caller graph for this function:

◆ format_vl_api_fib_path()

u8* format_vl_api_fib_path ( u8 s,
va_list *  args 
)

Definition at line 510 of file fib_api.c.

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