FD.io VPP  v16.06
Vector Packet Processing
control.h File Reference
+ Include dependency graph for control.h:
+ This graph shows which files directly or indirectly include this file:

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_tlisp_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_tvnet_lisp_cp_get_main ()
 
clib_error_tvnet_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...
 

Enumeration Type Documentation

Enumerator
IP4_MISS_PACKET 
IP6_MISS_PACKET 

Definition at line 38 of file control.h.

Function Documentation

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 
)

Definition at line 131 of file control.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_lisp_add_del_locator ( vnet_lisp_add_del_locator_set_args_t a,
locator_set_t ls,
u32 ls_index 
)

Definition at line 618 of file control.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_lisp_add_del_locator_set ( vnet_lisp_add_del_locator_set_args_t a,
u32 ls_index 
)

Definition at line 705 of file control.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_lisp_add_del_map_resolver ( vnet_lisp_add_del_map_resolver_args_t a)

Definition at line 1057 of file control.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_lisp_add_del_mapping ( vnet_lisp_add_del_mapping_args_t a,
u32 map_index 
)

Definition at line 34 of file control.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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.

Parameters
deiddestination EID
seidsource EID
rlocsvector of remote locators
actionaction for negative map-reply
is_addadd mapping if non-zero, delete otherwise
Returns
return code

Definition at line 275 of file control.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

always_inline lisp_cp_main_t* vnet_lisp_cp_get_main ( )

Definition at line 168 of file control.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* vnet_lisp_enable_disable ( u8  is_enabled)

Definition at line 824 of file control.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8 vnet_lisp_enable_disable_status ( void  )

Definition at line 927 of file control.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

lisp_cp_main_t lisp_control_main

Definition at line 111 of file control.h.

vlib_node_registration_t lisp_cp_input_node

(constructor) VLIB_REGISTER_NODE (lisp_cp_input_node)

Definition at line 2001 of file control.c.

vlib_node_registration_t lisp_cp_lookup_node

(constructor) VLIB_REGISTER_NODE (lisp_cp_lookup_node)

Definition at line 1547 of file control.c.