FD.io VPP  v20.09-64-g4f7b92f0a
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 ip46_type_t ip46_type_from_af (ip_address_family_t af)
 
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 375 of file ip_neighbor_api.c.

Typedef Documentation

◆ ip_neighbor_dump_ctx_t

Function Documentation

◆ ip46_type_from_af()

static ip46_type_t ip46_type_from_af ( ip_address_family_t  af)
static

Definition at line 42 of file ip_neighbor_api.c.

+ Here is the caller graph for this function:

◆ ip_neighbor_api_init()

static clib_error_t* ip_neighbor_api_init ( vlib_main_t vm)
static

Definition at line 382 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 61 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 200 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 48 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 72 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 148 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 213 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 314 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 170 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 357 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 331 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 344 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 258 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 287 of file ip_neighbor_api.c.

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

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( ip_neighbor_api_init  )
+ Here is the caller graph for this function:

Variable Documentation

◆ msg_id_base

u16 msg_id_base
static

Definition at line 33 of file ip_neighbor_api.c.