FD.io VPP  v21.01.1
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_add_del_vip_t_handler (vl_api_lb_add_del_vip_t *mp)
 
static void vl_api_lb_add_del_as_t_handler (vl_api_lb_add_del_as_t *mp)
 
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 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:592

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 347 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 208 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_handler()

static void vl_api_lb_add_del_as_t_handler ( vl_api_lb_add_del_as_t mp)
static

Definition at line 134 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 307 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 327 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 70 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 247 of file api.c.

+ Here is the call graph for this function:
+ Here is the caller 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_flush_vip_t_handler()

static void vl_api_lb_flush_vip_t_handler ( vl_api_lb_flush_vip_t mp)
static

Definition at line 280 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 166 of file api.c.

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