FD.io VPP  v21.01.1
Vector Packet Processing
vrrp_api.c File Reference
+ Include dependency graph for vrrp_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   vrrp_main.msg_id_base
 

Functions

static void vl_api_vrrp_vr_add_del_t_handler (vl_api_vrrp_vr_add_del_t *mp)
 
static vl_api_vrrp_vr_state_t vrrp_vr_state_encode (vrrp_vr_state_t vr_state)
 
static void send_vrrp_vr_details (vrrp_vr_t *vr, vl_api_registration_t *reg, u32 context)
 
static void vl_api_vrrp_vr_dump_t_handler (vl_api_vrrp_vr_dump_t *mp)
 
static void vl_api_vrrp_vr_start_stop_t_handler (vl_api_vrrp_vr_start_stop_t *mp)
 
static void vl_api_vrrp_vr_set_peers_t_handler (vl_api_vrrp_vr_set_peers_t *mp)
 
static void send_vrrp_vr_peer_details (vrrp_vr_t *vr, vl_api_registration_t *reg, u32 context)
 
static void vl_api_vrrp_vr_peer_dump_t_handler (vl_api_vrrp_vr_peer_dump_t *mp)
 
static void vl_api_vrrp_vr_track_if_add_del_t_handler (vl_api_vrrp_vr_track_if_add_del_t *mp)
 
static void send_vrrp_vr_track_if_details (vrrp_vr_t *vr, vl_api_registration_t *reg, u32 context)
 
static void vl_api_vrrp_vr_track_if_dump_t_handler (vl_api_vrrp_vr_track_if_dump_t *mp)
 
static void send_vrrp_vr_event (vpe_client_registration_t *reg, vl_api_registration_t *vl_reg, vrrp_vr_t *vr, vrrp_vr_state_t new_state)
 
void vrrp_vr_event (vrrp_vr_t *vr, vrrp_vr_state_t new_state)
 
 pub_sub_handler (vrrp_vr_events, VRRP_VR_EVENTS)
 
clib_error_tvrrp_plugin_api_hookup (vlib_main_t *vm)
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   vrrp_main.msg_id_base

Definition at line 23 of file vrrp_api.c.

Function Documentation

◆ pub_sub_handler()

pub_sub_handler ( vrrp_vr_events  ,
VRRP_VR_EVENTS   
)
+ Here is the caller graph for this function:

◆ send_vrrp_vr_details()

static void send_vrrp_vr_details ( vrrp_vr_t vr,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 128 of file vrrp_api.c.

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

◆ send_vrrp_vr_event()

static void send_vrrp_vr_event ( vpe_client_registration_t reg,
vl_api_registration_t vl_reg,
vrrp_vr_t vr,
vrrp_vr_state_t  new_state 
)
static

Definition at line 483 of file vrrp_api.c.

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

◆ send_vrrp_vr_peer_details()

static void send_vrrp_vr_peer_details ( vrrp_vr_t vr,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 282 of file vrrp_api.c.

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

◆ send_vrrp_vr_track_if_details()

static void send_vrrp_vr_track_if_details ( vrrp_vr_t vr,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 413 of file vrrp_api.c.

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

◆ vl_api_vrrp_vr_add_del_t_handler()

static void vl_api_vrrp_vr_add_del_t_handler ( vl_api_vrrp_vr_add_del_t mp)
static

Definition at line 28 of file vrrp_api.c.

+ Here is the call graph for this function:

◆ vl_api_vrrp_vr_dump_t_handler()

static void vl_api_vrrp_vr_dump_t_handler ( vl_api_vrrp_vr_dump_t mp)
static

Definition at line 205 of file vrrp_api.c.

+ Here is the call graph for this function:

◆ vl_api_vrrp_vr_peer_dump_t_handler()

static void vl_api_vrrp_vr_peer_dump_t_handler ( vl_api_vrrp_vr_peer_dump_t mp)
static

Definition at line 334 of file vrrp_api.c.

+ Here is the call graph for this function:

◆ vl_api_vrrp_vr_set_peers_t_handler()

static void vl_api_vrrp_vr_set_peers_t_handler ( vl_api_vrrp_vr_set_peers_t mp)
static

Definition at line 249 of file vrrp_api.c.

+ Here is the call graph for this function:

◆ vl_api_vrrp_vr_start_stop_t_handler()

static void vl_api_vrrp_vr_start_stop_t_handler ( vl_api_vrrp_vr_start_stop_t mp)
static

Definition at line 231 of file vrrp_api.c.

+ Here is the call graph for this function:

◆ vl_api_vrrp_vr_track_if_add_del_t_handler()

static void vl_api_vrrp_vr_track_if_add_del_t_handler ( vl_api_vrrp_vr_track_if_add_del_t mp)
static

Definition at line 380 of file vrrp_api.c.

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

◆ vl_api_vrrp_vr_track_if_dump_t_handler()

static void vl_api_vrrp_vr_track_if_dump_t_handler ( vl_api_vrrp_vr_track_if_dump_t mp)
static

Definition at line 452 of file vrrp_api.c.

+ Here is the call graph for this function:

◆ vrrp_plugin_api_hookup()

clib_error_t* vrrp_plugin_api_hookup ( vlib_main_t vm)

Definition at line 528 of file vrrp_api.c.

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

◆ vrrp_vr_event()

void vrrp_vr_event ( vrrp_vr_t vr,
vrrp_vr_state_t  new_state 
)

Definition at line 507 of file vrrp_api.c.

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

◆ vrrp_vr_state_encode()

static vl_api_vrrp_vr_state_t vrrp_vr_state_encode ( vrrp_vr_state_t  vr_state)
static

Definition at line 115 of file vrrp_api.c.

+ Here is the caller graph for this function: