FD.io VPP
v16.06
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | pending_map_request_t |
struct | fwd_entry_t |
struct | miss_packet_t |
struct | lisp_cp_main_t |
struct | vnet_lisp_add_del_locator_set_args_t |
struct | vnet_lisp_add_del_mapping_args_t |
struct | vnet_lisp_add_del_map_resolver_args_t |
Enumerations | |
enum | miss_packet_type_t { IP4_MISS_PACKET, IP6_MISS_PACKET } |
Functions | |
clib_error_t * | lisp_cp_init () |
int | vnet_lisp_add_del_locator_set (vnet_lisp_add_del_locator_set_args_t *a, u32 *ls_index) |
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_mapping (vnet_lisp_add_del_mapping_args_t *a, u32 *map_index) |
int | vnet_lisp_add_del_local_mapping (vnet_lisp_add_del_mapping_args_t *a, u32 *map_index_result) |
int | vnet_lisp_add_del_map_resolver (vnet_lisp_add_del_map_resolver_args_t *a) |
always_inline lisp_cp_main_t * | vnet_lisp_cp_get_main () |
clib_error_t * | vnet_lisp_enable_disable (u8 is_enabled) |
u8 | vnet_lisp_enable_disable_status (void) |
int | vnet_lisp_add_del_remote_mapping (gid_address_t *deid, gid_address_t *seid, ip_address_t *dlocs, u8 action, u8 is_add) |
Adds/removes/updates static remote mapping. More... | |
Variables | |
lisp_cp_main_t | lisp_control_main |
vlib_node_registration_t | lisp_cp_input_node |
(constructor) VLIB_REGISTER_NODE (lisp_cp_input_node) More... | |
vlib_node_registration_t | lisp_cp_lookup_node |
(constructor) VLIB_REGISTER_NODE (lisp_cp_lookup_node) More... | |
enum miss_packet_type_t |
clib_error_t* lisp_cp_init | ( | ) |
int vnet_lisp_add_del_local_mapping | ( | vnet_lisp_add_del_mapping_args_t * | a, |
u32 * | map_index_result | ||
) |
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_locator_set | ( | vnet_lisp_add_del_locator_set_args_t * | a, |
u32 * | ls_index | ||
) |
int vnet_lisp_add_del_map_resolver | ( | vnet_lisp_add_del_map_resolver_args_t * | a | ) |
int vnet_lisp_add_del_mapping | ( | vnet_lisp_add_del_mapping_args_t * | a, |
u32 * | map_index | ||
) |
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.
This function also modifies forwarding entries if needed.
deid | destination EID |
seid | source EID |
rlocs | vector of remote locators |
action | action for negative map-reply |
is_add | add mapping if non-zero, delete otherwise |
Definition at line 275 of file control.c.
always_inline lisp_cp_main_t* vnet_lisp_cp_get_main | ( | ) |
clib_error_t* vnet_lisp_enable_disable | ( | u8 | is_enabled | ) |
lisp_cp_main_t lisp_control_main |
vlib_node_registration_t lisp_cp_input_node |
vlib_node_registration_t lisp_cp_lookup_node |