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

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   lisp_base_msg_id
 

Functions

static locator_tunformat_lisp_locs (vl_api_remote_locator_t *rmt_locs, u32 rloc_num)
 
static void vl_api_lisp_add_del_locator_set_t_handler (vl_api_lisp_add_del_locator_set_t *mp)
 
static void vl_api_lisp_add_del_locator_t_handler (vl_api_lisp_add_del_locator_t *mp)
 
static void vl_api_lisp_add_del_local_eid_t_handler (vl_api_lisp_add_del_local_eid_t *mp)
 
static void vl_api_lisp_eid_table_add_del_map_t_handler (vl_api_lisp_eid_table_add_del_map_t *mp)
 
static void vl_api_lisp_add_del_map_server_t_handler (vl_api_lisp_add_del_map_server_t *mp)
 
static void vl_api_lisp_add_del_map_resolver_t_handler (vl_api_lisp_add_del_map_resolver_t *mp)
 
static void vl_api_lisp_map_register_enable_disable_t_handler (vl_api_lisp_map_register_enable_disable_t *mp)
 
static void vl_api_lisp_rloc_probe_enable_disable_t_handler (vl_api_lisp_rloc_probe_enable_disable_t *mp)
 
static void vl_api_lisp_enable_disable_t_handler (vl_api_lisp_enable_disable_t *mp)
 
static void vl_api_show_lisp_map_request_mode_t_handler (vl_api_show_lisp_map_request_mode_t *mp)
 
static void vl_api_lisp_map_request_mode_t_handler (vl_api_lisp_map_request_mode_t *mp)
 
static void vl_api_lisp_pitr_set_locator_set_t_handler (vl_api_lisp_pitr_set_locator_set_t *mp)
 
static void vl_api_lisp_use_petr_t_handler (vl_api_lisp_use_petr_t *mp)
 
static void vl_api_show_lisp_use_petr_t_handler (vl_api_show_lisp_use_petr_t *mp)
 
static void vl_api_lisp_add_del_map_request_itr_rlocs_t_handler (vl_api_lisp_add_del_map_request_itr_rlocs_t *mp)
 
static void vl_api_lisp_add_del_remote_mapping_t_handler (vl_api_lisp_add_del_remote_mapping_t *mp)
 
static void vl_api_lisp_add_del_adjacency_t_handler (vl_api_lisp_add_del_adjacency_t *mp)
 
static void send_lisp_locator_details (lisp_cp_main_t *lcm, locator_t *loc, vl_api_registration_t *reg, u32 context)
 
static void vl_api_lisp_locator_dump_t_handler (vl_api_lisp_locator_dump_t *mp)
 
static void send_lisp_locator_set_details (lisp_cp_main_t *lcm, locator_set_t *lsit, vl_api_registration_t *reg, u32 context, u32 ls_index)
 
static void vl_api_lisp_locator_set_dump_t_handler (vl_api_lisp_locator_set_dump_t *mp)
 
static void send_lisp_eid_table_details (mapping_t *mapit, vl_api_registration_t *reg, u32 context, u8 filter)
 
static void vl_api_lisp_eid_table_dump_t_handler (vl_api_lisp_eid_table_dump_t *mp)
 
static void send_lisp_map_server_details (ip_address_t *ip, vl_api_registration_t *reg, u32 context)
 
static void vl_api_lisp_map_server_dump_t_handler (vl_api_lisp_map_server_dump_t *mp)
 
static void send_lisp_map_resolver_details (ip_address_t *ip, vl_api_registration_t *reg, u32 context)
 
static void vl_api_lisp_map_resolver_dump_t_handler (vl_api_lisp_map_resolver_dump_t *mp)
 
static void send_eid_table_map_pair (hash_pair_t *p, vl_api_registration_t *reg, u32 context)
 
static void vl_api_lisp_eid_table_map_dump_t_handler (vl_api_lisp_eid_table_map_dump_t *mp)
 
static void send_eid_table_vni (u32 vni, vl_api_registration_t *reg, u32 context)
 
static void lisp_adjacency_copy (vl_api_lisp_adjacency_t *dst, lisp_adjacency_t *adjs)
 
static void vl_api_show_lisp_rloc_probe_state_t_handler (vl_api_show_lisp_rloc_probe_state_t *mp)
 
static void vl_api_show_lisp_map_register_state_t_handler (vl_api_show_lisp_map_register_state_t *mp)
 
static void vl_api_lisp_adjacencies_get_t_handler (vl_api_lisp_adjacencies_get_t *mp)
 
static void vl_api_lisp_eid_table_vni_dump_t_handler (vl_api_lisp_eid_table_vni_dump_t *mp)
 
static void vl_api_show_lisp_status_t_handler (vl_api_show_lisp_status_t *mp)
 
static void vl_api_lisp_get_map_request_itr_rlocs_t_handler (vl_api_lisp_get_map_request_itr_rlocs_t *mp)
 
static void vl_api_show_lisp_pitr_t_handler (vl_api_show_lisp_pitr_t *mp)
 
static clib_error_tlisp_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (lisp_api_hookup)
 

Variables

static u32 lisp_base_msg_id
 Base message ID fot the plugin. More...
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   lisp_base_msg_id

Definition at line 40 of file lisp_api.c.

Function Documentation

◆ lisp_adjacency_copy()

static void lisp_adjacency_copy ( vl_api_lisp_adjacency_t *  dst,
lisp_adjacency_t adjs 
)
static

Definition at line 846 of file lisp_api.c.

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

◆ lisp_api_hookup()

static clib_error_t* lisp_api_hookup ( vlib_main_t vm)
static

Definition at line 1050 of file lisp_api.c.

+ Here is the call graph for this function:

◆ send_eid_table_map_pair()

static void send_eid_table_map_pair ( hash_pair_t p,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 785 of file lisp_api.c.

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

◆ send_eid_table_vni()

static void send_eid_table_vni ( u32  vni,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 832 of file lisp_api.c.

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

◆ send_lisp_eid_table_details()

static void send_lisp_eid_table_details ( mapping_t mapit,
vl_api_registration_t reg,
u32  context,
u8  filter 
)
static

Definition at line 607 of file lisp_api.c.

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

◆ send_lisp_locator_details()

static void send_lisp_locator_details ( lisp_cp_main_t lcm,
locator_t loc,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 478 of file lisp_api.c.

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

◆ send_lisp_locator_set_details()

static void send_lisp_locator_set_details ( lisp_cp_main_t lcm,
locator_set_t lsit,
vl_api_registration_t reg,
u32  context,
u32  ls_index 
)
static

Definition at line 548 of file lisp_api.c.

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

◆ send_lisp_map_resolver_details()

static void send_lisp_map_resolver_details ( ip_address_t ip,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 751 of file lisp_api.c.

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

◆ send_lisp_map_server_details()

static void send_lisp_map_server_details ( ip_address_t ip,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 717 of file lisp_api.c.

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

◆ unformat_lisp_locs()

static locator_t* unformat_lisp_locs ( vl_api_remote_locator_t *  rmt_locs,
u32  rloc_num 
)
static

Definition at line 45 of file lisp_api.c.

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

◆ vl_api_lisp_add_del_adjacency_t_handler()

static void vl_api_lisp_add_del_adjacency_t_handler ( vl_api_lisp_add_del_adjacency_t mp)
static

Definition at line 456 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_add_del_local_eid_t_handler()

static void vl_api_lisp_add_del_local_eid_t_handler ( vl_api_lisp_add_del_local_eid_t mp)
static

Definition at line 157 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_add_del_locator_set_t_handler()

static void vl_api_lisp_add_del_locator_set_t_handler ( vl_api_lisp_add_del_locator_set_t mp)
static

Definition at line 69 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_add_del_locator_t_handler()

static void vl_api_lisp_add_del_locator_t_handler ( vl_api_lisp_add_del_locator_t mp)
static

Definition at line 121 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_add_del_map_request_itr_rlocs_t_handler()

static void vl_api_lisp_add_del_map_request_itr_rlocs_t_handler ( vl_api_lisp_add_del_map_request_itr_rlocs_t mp)
static

Definition at line 376 of file lisp_api.c.

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

◆ vl_api_lisp_add_del_map_resolver_t_handler()

static void vl_api_lisp_add_del_map_resolver_t_handler ( vl_api_lisp_add_del_map_resolver_t mp)
static

Definition at line 234 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_add_del_map_server_t_handler()

static void vl_api_lisp_add_del_map_server_t_handler ( vl_api_lisp_add_del_map_server_t mp)
static

Definition at line 218 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_add_del_remote_mapping_t_handler()

static void vl_api_lisp_add_del_remote_mapping_t_handler ( vl_api_lisp_add_del_remote_mapping_t mp)
static

Definition at line 399 of file lisp_api.c.

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

◆ vl_api_lisp_adjacencies_get_t_handler()

static void vl_api_lisp_adjacencies_get_t_handler ( vl_api_lisp_adjacencies_get_t mp)
static

Definition at line 895 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_eid_table_add_del_map_t_handler()

static void vl_api_lisp_eid_table_add_del_map_t_handler ( vl_api_lisp_eid_table_add_del_map_t mp)
static

Definition at line 208 of file lisp_api.c.

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

◆ vl_api_lisp_eid_table_dump_t_handler()

static void vl_api_lisp_eid_table_dump_t_handler ( vl_api_lisp_eid_table_dump_t mp)
static

Definition at line 678 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_eid_table_map_dump_t_handler()

static void vl_api_lisp_eid_table_map_dump_t_handler ( vl_api_lisp_eid_table_map_dump_t mp)
static

Definition at line 802 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_eid_table_vni_dump_t_handler()

static void vl_api_lisp_eid_table_vni_dump_t_handler ( vl_api_lisp_eid_table_vni_dump_t mp)
static

Definition at line 918 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_enable_disable_t_handler()

static void vl_api_lisp_enable_disable_t_handler ( vl_api_lisp_enable_disable_t mp)
static

Definition at line 274 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_get_map_request_itr_rlocs_t_handler()

static void vl_api_lisp_get_map_request_itr_rlocs_t_handler ( vl_api_lisp_get_map_request_itr_rlocs_t mp)
static

Definition at line 967 of file lisp_api.c.

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

◆ vl_api_lisp_locator_dump_t_handler()

static void vl_api_lisp_locator_dump_t_handler ( vl_api_lisp_locator_dump_t mp)
static

Definition at line 505 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_locator_set_dump_t_handler()

static void vl_api_lisp_locator_set_dump_t_handler ( vl_api_lisp_locator_set_dump_t mp)
static

Definition at line 580 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_map_register_enable_disable_t_handler()

static void vl_api_lisp_map_register_enable_disable_t_handler ( vl_api_lisp_map_register_enable_disable_t mp)
static

Definition at line 253 of file lisp_api.c.

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

◆ vl_api_lisp_map_request_mode_t_handler()

static void vl_api_lisp_map_request_mode_t_handler ( vl_api_lisp_map_request_mode_t mp)
static

Definition at line 299 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_map_resolver_dump_t_handler()

static void vl_api_lisp_map_resolver_dump_t_handler ( vl_api_lisp_map_resolver_dump_t mp)
static

Definition at line 768 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_map_server_dump_t_handler()

static void vl_api_lisp_map_server_dump_t_handler ( vl_api_lisp_map_server_dump_t mp)
static

Definition at line 734 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_pitr_set_locator_set_t_handler()

static void vl_api_lisp_pitr_set_locator_set_t_handler ( vl_api_lisp_pitr_set_locator_set_t mp)
static

Definition at line 310 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lisp_rloc_probe_enable_disable_t_handler()

static void vl_api_lisp_rloc_probe_enable_disable_t_handler ( vl_api_lisp_rloc_probe_enable_disable_t mp)
static

Definition at line 264 of file lisp_api.c.

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

◆ vl_api_lisp_use_petr_t_handler()

static void vl_api_lisp_use_petr_t_handler ( vl_api_lisp_use_petr_t mp)
static

Definition at line 327 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_show_lisp_map_register_state_t_handler()

static void vl_api_show_lisp_map_register_state_t_handler ( vl_api_show_lisp_map_register_state_t mp)
static

Definition at line 881 of file lisp_api.c.

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

◆ vl_api_show_lisp_map_request_mode_t_handler()

static void vl_api_show_lisp_map_request_mode_t_handler ( vl_api_show_lisp_map_request_mode_t mp)
static

Definition at line 285 of file lisp_api.c.

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

◆ vl_api_show_lisp_pitr_t_handler()

static void vl_api_show_lisp_pitr_t_handler ( vl_api_show_lisp_pitr_t mp)
static

Definition at line 998 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_show_lisp_rloc_probe_state_t_handler()

static void vl_api_show_lisp_rloc_probe_state_t_handler ( vl_api_show_lisp_rloc_probe_state_t mp)
static

Definition at line 866 of file lisp_api.c.

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

◆ vl_api_show_lisp_status_t_handler()

static void vl_api_show_lisp_status_t_handler ( vl_api_show_lisp_status_t mp)
static

Definition at line 951 of file lisp_api.c.

+ Here is the call graph for this function:

◆ vl_api_show_lisp_use_petr_t_handler()

static void vl_api_show_lisp_use_petr_t_handler ( vl_api_show_lisp_use_petr_t mp)
static

Definition at line 340 of file lisp_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

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

Variable Documentation

◆ lisp_base_msg_id

u32 lisp_base_msg_id
static

Base message ID fot the plugin.

Definition at line 39 of file lisp_api.c.