|
static void | add_fwd_entry (lisp_cp_main_t *lcm, u32 src_map_index, u32 dst_map_index) |
|
static void | del_fwd_entry (lisp_cp_main_t *lcm, u32 src_map_index, u32 dst_map_index) |
|
static u8 | compare_locators (lisp_cp_main_t *lcm, u32 *old_ls_indexes, locator_t *new_locators) |
|
int | vnet_lisp_add_del_mapping (vnet_lisp_add_del_mapping_args_t *a, u32 *map_index_result) |
|
int | vnet_lisp_add_del_local_mapping (vnet_lisp_add_del_mapping_args_t *a, u32 *map_index_result) |
|
static clib_error_t * | lisp_add_del_local_eid_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | vnet_lisp_add_del_remote_mapping (gid_address_t *deid, gid_address_t *seid, ip_address_t *rlocs, u8 action, u8 is_add) |
| Adds/removes/updates static remote mapping. More...
|
|
static clib_error_t * | lisp_add_del_remote_mapping_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Handler for add/del remote mapping CLI. More...
|
|
static clib_error_t * | lisp_show_local_eid_table_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static void | clean_locator_to_locator_set (lisp_cp_main_t *lcm, u32 lsi) |
|
static uword * | get_locator_set_index (vnet_lisp_add_del_locator_set_args_t *a, uword *p) |
|
static int | is_locator_in_locator_set (lisp_cp_main_t *lcm, locator_set_t *ls, locator_t *loc) |
|
static void | remove_locator_from_locator_set (locator_set_t *ls, u32 *locit, u32 ls_index, u32 loc_id) |
|
int | vnet_lisp_add_del_locator (vnet_lisp_add_del_locator_set_args_t *a, locator_set_t *ls, u32 *ls_result) |
|
int | vnet_lisp_add_del_locator_set (vnet_lisp_add_del_locator_set_args_t *a, u32 *ls_result) |
|
clib_error_t * | vnet_lisp_enable_disable (u8 is_enabled) |
|
static clib_error_t * | lisp_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u8 | vnet_lisp_enable_disable_status (void) |
|
static u8 * | format_lisp_status (u8 *s, va_list *args) |
|
static clib_error_t * | lisp_show_status_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | lisp_add_del_locator_set_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | lisp_cp_show_locator_sets_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | vnet_lisp_add_del_map_resolver (vnet_lisp_add_del_map_resolver_args_t *a) |
|
static clib_error_t * | lisp_add_del_map_resolver_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u8 * | format_lisp_cp_lookup_trace (u8 *s, va_list *args) |
|
static u32 | ip_fib_lookup_with_table (lisp_cp_main_t *lcm, u32 fib_index, ip_address_t *dst) |
|
void | get_mr_and_local_iface_ip (lisp_cp_main_t *lcm, ip_address_t *mr_ip, ip_address_t *sloc) |
|
static gid_address_t * | build_itr_rloc_list (lisp_cp_main_t *lcm, locator_set_t *loc_set) |
|
static vlib_buffer_t * | build_encapsulated_map_request (vlib_main_t *vm, lisp_cp_main_t *lcm, gid_address_t *seid, gid_address_t *deid, locator_set_t *loc_set, ip_address_t *mr_ip, ip_address_t *sloc, u8 is_smr_invoked, u64 *nonce_res, u32 *bi_res) |
|
static void | send_encapsulated_map_request (vlib_main_t *vm, lisp_cp_main_t *lcm, gid_address_t *seid, gid_address_t *deid, u8 is_smr_invoked) |
|
static void | get_src_and_dst (void *hdr, ip_address_t *src, ip_address_t *dst) |
|
static uword | lisp_cp_lookup (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
u8 * | format_lisp_cp_input_trace (u8 *s, va_list *args) |
|
ip_interface_address_t * | ip_interface_get_first_interface_address (ip_lookup_main_t *lm, u32 sw_if_index, u8 loop) |
|
void * | ip_interface_get_first_ip_addres (ip_lookup_main_t *lm, u32 sw_if_index, u8 loop) |
|
void | process_map_reply (lisp_cp_main_t *lcm, vlib_buffer_t *b) |
|
void | process_map_request (vlib_main_t *vm, lisp_cp_main_t *lcm, vlib_buffer_t *b) |
|
static uword | lisp_cp_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
clib_error_t * | lisp_cp_init (vlib_main_t *vm) |
|