FD.io VPP  v18.01-8-g0eacf49
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 (unix_shared_memory_queue_t *q, 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 (unix_shared_memory_queue_t *q, 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 (unix_shared_memory_queue_t *q, 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

#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 53 of file bier_api.c.

#define vl_endianfun   /* define message structures */

Definition at line 41 of file bier_api.c.

#define vl_msg_name_crc_list

Definition at line 679 of file bier_api.c.

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

Definition at line 46 of file bier_api.c.

#define vl_printfun

Definition at line 47 of file bier_api.c.

#define vl_typedefs   /* define message structures */

Definition at line 37 of file bier_api.c.

Typedef Documentation

Function Documentation

static clib_error_t* bier_api_hookup ( vlib_main_t vm)
static

Definition at line 692 of file bier_api.c.

+ Here is the call graph for this function:

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 611 of file bier_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_bier_disp_table_details ( unix_shared_memory_queue_t q,
u32  context,
const bier_disp_table_t bdt 
)
static

Definition at line 449 of file bier_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_bier_imp_details ( unix_shared_memory_queue_t q,
u32  context,
const bier_imp_t bi 
)
static

Definition at line 374 of file bier_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 260 of file bier_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_bier_table_details ( unix_shared_memory_queue_t q,
u32  context,
const bier_table_t bt 
)
static

Definition at line 109 of file bier_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void setup_message_id_table ( api_main_t am)
static

Definition at line 684 of file bier_api.c.

+ Here is the caller graph for this function:

static void vl_api_bier_disp_entry_add_del_t_handler ( vl_api_bier_disp_entry_add_del_t mp)
static

Definition at line 484 of file bier_api.c.

+ Here is the call graph for this function:

static void vl_api_bier_disp_entry_dump_t_handler ( vl_api_bier_disp_entry_dump_t mp)
static

Definition at line 662 of file bier_api.c.

+ Here is the call graph for this function:

static void vl_api_bier_disp_table_add_del_t_handler ( vl_api_bier_disp_table_add_del_t mp)
static

Definition at line 423 of file bier_api.c.

+ Here is the call graph for this function:

static void vl_api_bier_disp_table_dump_t_handler ( vl_api_bier_disp_table_dump_t mp)
static

Definition at line 468 of file bier_api.c.

+ Here is the call graph for this function:

static void vl_api_bier_imp_add_t_handler ( vl_api_bier_imp_add_t mp)
static

Definition at line 326 of file bier_api.c.

+ Here is the call graph for this function:

static void vl_api_bier_imp_del_t_handler ( vl_api_bier_imp_del_t mp)
static

Definition at line 359 of file bier_api.c.

+ Here is the call graph for this function:

static void vl_api_bier_imp_dump_t_handler ( vl_api_bier_imp_dump_t mp)
static

Definition at line 407 of file bier_api.c.

+ Here is the call graph for this function:

static void vl_api_bier_route_add_del_t_handler ( vl_api_bier_route_add_del_t mp)
static

Definition at line 153 of file bier_api.c.

+ Here is the call graph for this function:

static void vl_api_bier_route_dump_t_handler ( vl_api_bier_route_dump_t mp)
static

Definition at line 303 of file bier_api.c.

+ Here is the call graph for this function:

static void vl_api_bier_table_add_del_t_handler ( vl_api_bier_table_add_del_t mp)
static

Definition at line 67 of file bier_api.c.

+ Here is the call graph for this function:

static void vl_api_bier_table_dump_t_handler ( vl_api_bier_table_dump_t mp)
static

Definition at line 131 of file bier_api.c.

+ Here is the call graph for this function:

VLIB_API_INIT_FUNCTION ( bier_api_hookup  )

+ Here is the caller graph for this function: