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 27 #define PENDING_MREG_EXPIRATION_TIME 3.0 28 #define RLOC_PROBING_INTERVAL 60.0 33 #define QUICK_MAP_REGISTER_MSG_COUNT 3 34 #define QUICK_MAP_REGISTER_INTERVAL 3.0 37 #define MAP_REGISTER_INTERVAL 60.0 40 #define MAP_REGISTER_DEFAULT_TTL 900 253 u32 * map_index_result);
257 u8 authoritative,
u32 ttl,
u8 is_add,
u8 is_static,
258 u32 * res_map_index);
u8 vnet_lisp_map_register_state_get(void)
int vnet_lisp_add_del_map_table_key(gid_address_t *eid, char *key, u8 is_add)
int vnet_lisp_add_del_locator(vnet_lisp_add_del_locator_set_args_t *a, locator_set_t *ls, u32 *ls_index)
int vnet_lisp_add_del_map_server(ip_address_t *addr, u8 is_add)
ip_address_t active_map_resolver
lisp_msmr_t * map_resolvers
locator_pair_t * locator_pairs
lisp_adjacency_t * vnet_lisp_adjacencies_get_by_vni(u32 vni)
Returns vector of adjacencies.
u32 * local_mappings_indexes
struct _vlib_node_registration vlib_node_registration_t
vlib_node_registration_t lisp_cp_lookup_ip6_node
(constructor) VLIB_REGISTER_NODE (lisp_cp_lookup_ip6_node)
clib_error_t * lisp_cp_init()
int vnet_lisp_map_register_enable_disable(u8 is_enable)
lisp_msmr_t * map_servers
u32 ** locator_to_locator_sets
vlib_node_registration_t lisp_cp_lookup_ip4_node
(constructor) VLIB_REGISTER_NODE (lisp_cp_lookup_ip4_node)
u32 * fwd_entry_by_mapping_index
static lisp_cp_main_t * vnet_lisp_cp_get_main()
u8 vnet_lisp_get_map_request_mode(void)
u8 vnet_lisp_enable_disable_status(void)
u8 do_map_resolver_election
int vnet_lisp_set_map_request_mode(u8 mode)
u8 * key_by_mapping_index
u32 * local_locator_set_indexes
int vnet_lisp_rloc_probe_enable_disable(u8 is_enable)
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)
int vnet_lisp_pitr_set_locator_set(u8 *locator_set_name, u8 is_add)
u8 vnet_lisp_rloc_probe_state_get(void)
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)
uword * map_register_messages_by_nonce
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)