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

Go to the source code of this file.

Data Structures

struct  ip_neighbor_dump_ctx_t_
 

Macros

#define REPLY_MSG_ID_BASE   msg_id_base
 
#define vl_msg_name_crc_list
 

Typedefs

typedef struct ip_neighbor_dump_ctx_t_ ip_neighbor_dump_ctx_t
 

Functions

static vl_api_ip_neighbor_flags_t ip_neighbor_flags_encode (ip_neighbor_flags_t f)
 
static void ip_neighbor_encode (vl_api_ip_neighbor_t *api, const ip_neighbor_t *ipn)
 
void ip_neighbor_handle_event (ip_neighbor_event_t *ipne)
 From the watcher to the API to publish a new neighbor. More...
 
static walk_rc_t send_ip_neighbor_details (index_t ipni, void *arg)
 
static void vl_api_ip_neighbor_dump_t_handler (vl_api_ip_neighbor_dump_t *mp)
 
static ip_neighbor_flags_t ip_neighbor_flags_decode (vl_api_ip_neighbor_flags_t v)
 
static void vl_api_ip_neighbor_add_del_t_handler (vl_api_ip_neighbor_add_del_t *mp, vlib_main_t *vm)
 
static void vl_api_want_ip_neighbor_events_t_handler (vl_api_want_ip_neighbor_events_t *mp)
 
static void vl_api_want_ip_neighbor_events_v2_t_handler (vl_api_want_ip_neighbor_events_v2_t *mp)
 
static void vl_api_ip_neighbor_config_t_handler (vl_api_ip_neighbor_config_t *mp)
 
static void vl_api_ip_neighbor_replace_begin_t_handler (vl_api_ip_neighbor_replace_begin_t *mp)
 
static void vl_api_ip_neighbor_replace_end_t_handler (vl_api_ip_neighbor_replace_end_t *mp)
 
static void vl_api_ip_neighbor_flush_t_handler (vl_api_ip_neighbor_flush_t *mp)
 
static clib_error_tip_neighbor_api_init (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (ip_neighbor_api_init)
 

Variables

static u16 msg_id_base
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   msg_id_base

Definition at line 34 of file ip_neighbor_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 361 of file ip_neighbor_api.c.

Typedef Documentation

◆ ip_neighbor_dump_ctx_t

Function Documentation

◆ ip_neighbor_api_init()

static clib_error_t* ip_neighbor_api_init ( vlib_main_t vm)
static

Definition at line 368 of file ip_neighbor_api.c.

+ Here is the call graph for this function:

◆ ip_neighbor_encode()

static void ip_neighbor_encode ( vl_api_ip_neighbor_t *  api,
const ip_neighbor_t ipn 
)
static

Definition at line 54 of file ip_neighbor_api.c.

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

◆ ip_neighbor_flags_decode()

static ip_neighbor_flags_t ip_neighbor_flags_decode ( vl_api_ip_neighbor_flags_t  v)
static

Definition at line 189 of file ip_neighbor_api.c.

+ Here is the caller graph for this function:

◆ ip_neighbor_flags_encode()

static vl_api_ip_neighbor_flags_t ip_neighbor_flags_encode ( ip_neighbor_flags_t  f)
static

Definition at line 41 of file ip_neighbor_api.c.

+ Here is the caller graph for this function:

◆ ip_neighbor_handle_event()

void ip_neighbor_handle_event ( ip_neighbor_event_t ipne)

From the watcher to the API to publish a new neighbor.

Definition at line 64 of file ip_neighbor_api.c.

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

◆ send_ip_neighbor_details()

static walk_rc_t send_ip_neighbor_details ( index_t  ipni,
void *  arg 
)
static

Definition at line 140 of file ip_neighbor_api.c.

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

◆ vl_api_ip_neighbor_add_del_t_handler()

static void vl_api_ip_neighbor_add_del_t_handler ( vl_api_ip_neighbor_add_del_t mp,
vlib_main_t vm 
)
static

Definition at line 202 of file ip_neighbor_api.c.

+ Here is the call graph for this function:

◆ vl_api_ip_neighbor_config_t_handler()

static void vl_api_ip_neighbor_config_t_handler ( vl_api_ip_neighbor_config_t mp)
static

Definition at line 300 of file ip_neighbor_api.c.

+ Here is the call graph for this function:

◆ vl_api_ip_neighbor_dump_t_handler()

static void vl_api_ip_neighbor_dump_t_handler ( vl_api_ip_neighbor_dump_t mp)
static

Definition at line 162 of file ip_neighbor_api.c.

+ Here is the call graph for this function:

◆ vl_api_ip_neighbor_flush_t_handler()

static void vl_api_ip_neighbor_flush_t_handler ( vl_api_ip_neighbor_flush_t mp)
static

Definition at line 343 of file ip_neighbor_api.c.

+ Here is the call graph for this function:

◆ vl_api_ip_neighbor_replace_begin_t_handler()

static void vl_api_ip_neighbor_replace_begin_t_handler ( vl_api_ip_neighbor_replace_begin_t mp)
static

Definition at line 317 of file ip_neighbor_api.c.

+ Here is the call graph for this function:

◆ vl_api_ip_neighbor_replace_end_t_handler()

static void vl_api_ip_neighbor_replace_end_t_handler ( vl_api_ip_neighbor_replace_end_t mp)
static

Definition at line 330 of file ip_neighbor_api.c.

+ Here is the call graph for this function:

◆ vl_api_want_ip_neighbor_events_t_handler()

static void vl_api_want_ip_neighbor_events_t_handler ( vl_api_want_ip_neighbor_events_t mp)
static

Definition at line 246 of file ip_neighbor_api.c.

+ Here is the call graph for this function:

◆ vl_api_want_ip_neighbor_events_v2_t_handler()

static void vl_api_want_ip_neighbor_events_v2_t_handler ( vl_api_want_ip_neighbor_events_v2_t mp)
static

Definition at line 274 of file ip_neighbor_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( ip_neighbor_api_init  )

Variable Documentation

◆ msg_id_base

u16 msg_id_base
static

Definition at line 33 of file ip_neighbor_api.c.