FD.io VPP  v20.01-46-g7006026de
Vector Packet Processing
api.c File Reference
+ Include dependency graph for api.c:

Go to the source code of this file.

Macros

#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define REPLY_MSG_ID_BASE   lbm->msg_id_base
 
#define FINISH
 

Functions

static void vl_api_lb_conf_t_handler (vl_api_lb_conf_t *mp)
 
static void * vl_api_lb_conf_t_print (vl_api_lb_conf_t *mp, void *handle)
 
static void vl_api_lb_add_del_vip_t_handler (vl_api_lb_add_del_vip_t *mp)
 
static void * vl_api_lb_add_del_vip_t_print (vl_api_lb_add_del_vip_t *mp, void *handle)
 
static void vl_api_lb_add_del_as_t_handler (vl_api_lb_add_del_as_t *mp)
 
static void * vl_api_lb_add_del_as_t_print (vl_api_lb_add_del_as_t *mp, void *handle)
 
static void vl_api_lb_vip_dump_t_handler (vl_api_lb_vip_dump_t *mp)
 
static void send_lb_as_details (vl_api_registration_t *reg, u32 context, lb_vip_t *vip)
 
static void vl_api_lb_as_dump_t_handler (vl_api_lb_as_dump_t *mp)
 
static void vl_api_lb_flush_vip_t_handler (vl_api_lb_flush_vip_t *mp)
 
static void vl_api_lb_add_del_intf_nat4_t_handler (vl_api_lb_add_del_intf_nat4_t *mp)
 
static void vl_api_lb_add_del_intf_nat6_t_handler (vl_api_lb_add_del_intf_nat6_t *mp)
 
static void * vl_api_lb_flush_vip_t_print (vl_api_lb_flush_vip_t *mp, void *handle)
 
static clib_error_tlb_api_init (vlib_main_t *vm)
 

Macro Definition Documentation

◆ FINISH

#define FINISH
Value:
vec_add1 (s, 0); \
vl_print (handle, (char *)s); \
vec_free (s); \
return handle;
#define vec_add1(V, E)
Add 1 element to end of vector (unspecified alignment).
Definition: vec.h:523

Definition at line 39 of file api.c.

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   lbm->msg_id_base

Definition at line 35 of file api.c.

◆ vl_print

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

Definition at line 33 of file api.c.

Function Documentation

◆ lb_api_init()

static clib_error_t* lb_api_init ( vlib_main_t vm)
static

Definition at line 429 of file api.c.

+ Here is the call graph for this function:

◆ send_lb_as_details()

static void send_lb_as_details ( vl_api_registration_t reg,
u32  context,
lb_vip_t vip 
)
static

Definition at line 277 of file api.c.

◆ vl_api_lb_add_del_as_t_handler()

static void vl_api_lb_add_del_as_t_handler ( vl_api_lb_add_del_as_t mp)
static

Definition at line 179 of file api.c.

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

◆ vl_api_lb_add_del_as_t_print()

static void* vl_api_lb_add_del_as_t_print ( vl_api_lb_add_del_as_t mp,
void *  handle 
)
static

Definition at line 215 of file api.c.

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

◆ vl_api_lb_add_del_intf_nat4_t_handler()

static void vl_api_lb_add_del_intf_nat4_t_handler ( vl_api_lb_add_del_intf_nat4_t mp)
static

Definition at line 376 of file api.c.

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

◆ vl_api_lb_add_del_intf_nat6_t_handler()

static void vl_api_lb_add_del_intf_nat6_t_handler ( vl_api_lb_add_del_intf_nat6_t mp)
static

Definition at line 396 of file api.c.

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

◆ vl_api_lb_add_del_vip_t_handler()

static void vl_api_lb_add_del_vip_t_handler ( vl_api_lb_add_del_vip_t mp)
static

Definition at line 83 of file api.c.

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

◆ vl_api_lb_add_del_vip_t_print()

static void* vl_api_lb_add_del_vip_t_print ( vl_api_lb_add_del_vip_t mp,
void *  handle 
)
static

Definition at line 146 of file api.c.

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

◆ vl_api_lb_as_dump_t_handler()

static void vl_api_lb_as_dump_t_handler ( vl_api_lb_as_dump_t *  mp)
static

Definition at line 316 of file api.c.

+ Here is the call graph for this function:

◆ vl_api_lb_conf_t_handler()

static void vl_api_lb_conf_t_handler ( vl_api_lb_conf_t mp)
static

Definition at line 47 of file api.c.

+ Here is the call graph for this function:

◆ vl_api_lb_conf_t_print()

static void* vl_api_lb_conf_t_print ( vl_api_lb_conf_t mp,
void *  handle 
)
static

Definition at line 69 of file api.c.

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

◆ vl_api_lb_flush_vip_t_handler()

static void vl_api_lb_flush_vip_t_handler ( vl_api_lb_flush_vip_t mp)
static

Definition at line 349 of file api.c.

+ Here is the call graph for this function:

◆ vl_api_lb_flush_vip_t_print()

static void* vl_api_lb_flush_vip_t_print ( vl_api_lb_flush_vip_t mp,
void *  handle 
)
static

Definition at line 416 of file api.c.

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

◆ vl_api_lb_vip_dump_t_handler()

static void vl_api_lb_vip_dump_t_handler ( vl_api_lb_vip_dump_t *  mp)
static

Definition at line 235 of file api.c.

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