16 #ifndef VNET_CONTROL_H_ 17 #define VNET_CONTROL_H_ 23 #define NUMBER_OF_RETRIES 1 24 #define PENDING_MREQ_EXPIRATION_TIME 3.0 25 #define PENDING_MREQ_QUEUE_LEN 5 200 u32 * map_index_result);
204 u8 authoritative,
u32 ttl,
u8 is_add,
u8 is_static,
205 u32 * res_map_index);
int vnet_lisp_add_del_locator(vnet_lisp_add_del_locator_set_args_t *a, locator_set_t *ls, u32 *ls_index)
ip_address_t active_map_resolver
locator_pair_t * locator_pairs
u32 * local_mappings_indexes
struct _vlib_node_registration vlib_node_registration_t
clib_error_t * lisp_cp_init()
map_resolver_t * map_resolvers
u32 ** locator_to_locator_sets
volatile u32 * pending_map_request_lock
u32 * fwd_entry_by_mapping_index
static lisp_cp_main_t * vnet_lisp_cp_get_main()
u8 vnet_lisp_enable_disable_status(void)
u8 do_map_resolver_election
u32 * local_locator_set_indexes
lisp_cp_main_t lisp_control_main
int vnet_lisp_add_del_mapping(gid_address_t *deid, locator_t *dlocs, u8 action, u8 authoritative, u32 ttl, u8 is_add, u8 is_static, u32 *res_map_index)
Adds/removes/updates mapping.
uword * pending_map_requests_by_nonce
int vnet_lisp_map_cache_add_del(vnet_lisp_add_del_mapping_args_t *a, u32 *map_index)
Add/remove mapping to/from map-cache.
int vnet_lisp_eid_table_map(u32 vni, u32 vrf, u8 is_l2, u8 is_add)
static void lisp_pending_map_request_lock(lisp_cp_main_t *lcm)
static void lisp_pending_map_request_unlock(lisp_cp_main_t *lcm)
int vnet_lisp_pitr_set_locator_set(u8 *locator_set_name, u8 is_add)
int vnet_lisp_add_del_map_resolver(vnet_lisp_add_del_map_resolver_args_t *a)
struct _gid_address_t gid_address_t
int vnet_lisp_add_del_local_mapping(vnet_lisp_add_del_mapping_args_t *a, u32 *map_index_result)
Add/update/delete mapping to/in/from map-cache.
gid_dictionary_t mapping_index_by_gid
uword * l2_dp_intf_by_vni
locator_set_t * locator_set_pool
u32 ** locator_set_to_eids
fwd_entry_t * fwd_entry_pool
pending_map_request_t * pending_map_requests_pool
int vnet_lisp_add_del_mreq_itr_rlocs(vnet_lisp_add_del_mreq_itr_rloc_args_t *a)
uword * locator_set_index_by_name
int vnet_lisp_add_del_adjacency(vnet_lisp_add_del_adjacency_args_t *a)
vlib_node_registration_t lisp_cp_input_node
(constructor) VLIB_REGISTER_NODE (lisp_cp_input_node)
vlib_node_registration_t lisp_cp_lookup_node
(constructor) VLIB_REGISTER_NODE (lisp_cp_lookup_node)
clib_error_t * vnet_lisp_enable_disable(u8 is_enabled)
int vnet_lisp_clear_all_remote_adjacencies(void)
int vnet_lisp_add_del_locator_set(vnet_lisp_add_del_locator_set_args_t *a, u32 *ls_index)