FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
bier_api.c File Reference
+ Include dependency graph for bier_api.c:

Go to the source code of this file.

Data Structures

struct  bier_route_details_walk_t_
 
struct  bier_disp_entry_details_walk_t_
 

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
 
#define foreach_bier_api_msg
 
#define vl_msg_name_crc_list
 

Typedefs

typedef struct bier_route_details_walk_t_ bier_route_details_walk_t
 
typedef struct bier_disp_entry_details_walk_t_ bier_disp_entry_details_walk_t
 

Functions

static void vl_api_bier_table_add_del_t_handler (vl_api_bier_table_add_del_t *mp)
 
static void send_bier_table_details (vl_api_registration_t *reg, u32 context, const bier_table_t *bt)
 
static void vl_api_bier_table_dump_t_handler (vl_api_bier_table_dump_t *mp)
 
static void vl_api_bier_route_add_del_t_handler (vl_api_bier_route_add_del_t *mp)
 
static void send_bier_route_details (const bier_table_t *bt, const bier_entry_t *be, void *args)
 
static void vl_api_bier_route_dump_t_handler (vl_api_bier_route_dump_t *mp)
 
static void vl_api_bier_imp_add_t_handler (vl_api_bier_imp_add_t *mp)
 
static void vl_api_bier_imp_del_t_handler (vl_api_bier_imp_del_t *mp)
 
static void send_bier_imp_details (vl_api_registration_t *reg, u32 context, const bier_imp_t *bi)
 
static void vl_api_bier_imp_dump_t_handler (vl_api_bier_imp_dump_t *mp)
 
static void vl_api_bier_disp_table_add_del_t_handler (vl_api_bier_disp_table_add_del_t *mp)
 
static void send_bier_disp_table_details (vl_api_registration_t *reg, u32 context, const bier_disp_table_t *bdt)
 
static void vl_api_bier_disp_table_dump_t_handler (vl_api_bier_disp_table_dump_t *mp)
 
static void vl_api_bier_disp_entry_add_del_t_handler (vl_api_bier_disp_entry_add_del_t *mp)
 
static void send_bier_disp_entry_details (const bier_disp_table_t *bdt, const bier_disp_entry_t *bde, u16 bp, void *args)
 
static void vl_api_bier_disp_entry_dump_t_handler (vl_api_bier_disp_entry_dump_t *mp)
 
static void setup_message_id_table (api_main_t *am)
 
static clib_error_tbier_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (bier_api_hookup)
 

Macro Definition Documentation

◆ foreach_bier_api_msg

#define foreach_bier_api_msg
Value:
_(BIER_TABLE_ADD_DEL, bier_table_add_del) \
_(BIER_TABLE_DUMP, bier_table_dump) \
_(BIER_ROUTE_ADD_DEL, bier_route_add_del) \
_(BIER_ROUTE_DUMP, bier_route_dump) \
_(BIER_IMP_ADD, bier_imp_add) \
_(BIER_IMP_DEL, bier_imp_del) \
_(BIER_IMP_DUMP, bier_imp_dump) \
_(BIER_DISP_TABLE_ADD_DEL, bier_disp_table_add_del) \
_(BIER_DISP_TABLE_DUMP, bier_disp_table_dump) \
_(BIER_DISP_ENTRY_ADD_DEL, bier_disp_entry_add_del) \
_(BIER_DISP_ENTRY_DUMP, bier_disp_entry_dump)

Definition at line 54 of file bier_api.c.

◆ vl_endianfun

#define vl_endianfun   /* define message structures */

Definition at line 41 of file bier_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 676 of file bier_api.c.

◆ vl_print

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

Definition at line 46 of file bier_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 47 of file bier_api.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 37 of file bier_api.c.

Typedef Documentation

◆ bier_disp_entry_details_walk_t

◆ bier_route_details_walk_t

Function Documentation

◆ bier_api_hookup()

static clib_error_t* bier_api_hookup ( vlib_main_t vm)
static

Definition at line 689 of file bier_api.c.

+ Here is the call graph for this function:

◆ send_bier_disp_entry_details()

static void send_bier_disp_entry_details ( const bier_disp_table_t bdt,
const bier_disp_entry_t bde,
u16  bp,
void *  args 
)
static

Definition at line 603 of file bier_api.c.

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

◆ send_bier_disp_table_details()

static void send_bier_disp_table_details ( vl_api_registration_t reg,
u32  context,
const bier_disp_table_t bdt 
)
static

Definition at line 441 of file bier_api.c.

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

◆ send_bier_imp_details()

static void send_bier_imp_details ( vl_api_registration_t reg,
u32  context,
const bier_imp_t bi 
)
static

Definition at line 367 of file bier_api.c.

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

◆ send_bier_route_details()

static void send_bier_route_details ( const bier_table_t bt,
const bier_entry_t be,
void *  args 
)
static

Definition at line 241 of file bier_api.c.

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

◆ send_bier_table_details()

static void send_bier_table_details ( vl_api_registration_t reg,
u32  context,
const bier_table_t bt 
)
static

Definition at line 117 of file bier_api.c.

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

◆ setup_message_id_table()

static void setup_message_id_table ( api_main_t am)
static

Definition at line 681 of file bier_api.c.

+ Here is the caller graph for this function:

◆ vl_api_bier_disp_entry_add_del_t_handler()

static void vl_api_bier_disp_entry_add_del_t_handler ( vl_api_bier_disp_entry_add_del_t mp)
static

Definition at line 476 of file bier_api.c.

+ Here is the call graph for this function:

◆ vl_api_bier_disp_entry_dump_t_handler()

static void vl_api_bier_disp_entry_dump_t_handler ( vl_api_bier_disp_entry_dump_t mp)
static

Definition at line 659 of file bier_api.c.

+ Here is the call graph for this function:

◆ vl_api_bier_disp_table_add_del_t_handler()

static void vl_api_bier_disp_table_add_del_t_handler ( vl_api_bier_disp_table_add_del_t mp)
static

Definition at line 415 of file bier_api.c.

+ Here is the call graph for this function:

◆ vl_api_bier_disp_table_dump_t_handler()

static void vl_api_bier_disp_table_dump_t_handler ( vl_api_bier_disp_table_dump_t mp)
static

Definition at line 460 of file bier_api.c.

+ Here is the call graph for this function:

◆ vl_api_bier_imp_add_t_handler()

static void vl_api_bier_imp_add_t_handler ( vl_api_bier_imp_add_t mp)
static

Definition at line 310 of file bier_api.c.

+ Here is the call graph for this function:

◆ vl_api_bier_imp_del_t_handler()

static void vl_api_bier_imp_del_t_handler ( vl_api_bier_imp_del_t mp)
static

Definition at line 352 of file bier_api.c.

+ Here is the call graph for this function:

◆ vl_api_bier_imp_dump_t_handler()

static void vl_api_bier_imp_dump_t_handler ( vl_api_bier_imp_dump_t mp)
static

Definition at line 399 of file bier_api.c.

+ Here is the call graph for this function:

◆ vl_api_bier_route_add_del_t_handler()

static void vl_api_bier_route_add_del_t_handler ( vl_api_bier_route_add_del_t mp)
static

Definition at line 161 of file bier_api.c.

+ Here is the call graph for this function:

◆ vl_api_bier_route_dump_t_handler()

static void vl_api_bier_route_dump_t_handler ( vl_api_bier_route_dump_t mp)
static

Definition at line 287 of file bier_api.c.

+ Here is the call graph for this function:

◆ vl_api_bier_table_add_del_t_handler()

static void vl_api_bier_table_add_del_t_handler ( vl_api_bier_table_add_del_t mp)
static

Definition at line 68 of file bier_api.c.

+ Here is the call graph for this function:

◆ vl_api_bier_table_dump_t_handler()

static void vl_api_bier_table_dump_t_handler ( vl_api_bier_table_dump_t mp)
static

Definition at line 139 of file bier_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( bier_api_hookup  )