Go to the source code of this file.
|
clib_error_t * | lisp_cp_init () |
|
static lisp_cp_main_t * | vnet_lisp_cp_get_main () |
|
void | get_src_and_dst_eids_from_buffer (lisp_cp_main_t *lcm, vlib_buffer_t *b, gid_address_t *src, gid_address_t *dst, u16 type) |
|
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_map_cache_add_del (vnet_lisp_add_del_mapping_args_t *a, u32 *map_index) |
| Add/remove mapping to/from map-cache. More...
|
|
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. More...
|
|
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. More...
|
|
int | vnet_lisp_add_del_adjacency (vnet_lisp_add_del_adjacency_args_t *a) |
| Adds adjacency or removes forwarding entry associated to remote mapping. More...
|
|
int | vnet_lisp_add_del_map_resolver (vnet_lisp_add_del_map_resolver_args_t *a) |
|
int | vnet_lisp_add_del_map_server (ip_address_t *addr, u8 is_add) |
|
clib_error_t * | vnet_lisp_enable_disable (u8 is_enabled) |
|
u8 | vnet_lisp_enable_disable_status (void) |
|
int | vnet_lisp_pitr_set_locator_set (u8 *locator_set_name, u8 is_add) |
|
int | vnet_lisp_use_petr (ip_address_t *ip, u8 is_add) |
| Configure Proxy-ETR. More...
|
|
int | vnet_lisp_add_del_mreq_itr_rlocs (vnet_lisp_add_del_mreq_itr_rloc_args_t *a) |
|
int | vnet_lisp_clear_all_remote_adjacencies (void) |
|
int | vnet_lisp_eid_table_map (u32 vni, u32 vrf, u8 is_l2, u8 is_add) |
|
int | vnet_lisp_add_del_map_table_key (gid_address_t *eid, char *key, u8 is_add) |
|
int | vnet_lisp_set_map_request_mode (u8 mode) |
|
u8 | vnet_lisp_get_map_request_mode (void) |
|
lisp_adjacency_t * | vnet_lisp_adjacencies_get_by_vni (u32 vni) |
| Returns vector of adjacencies. More...
|
|
int | vnet_lisp_rloc_probe_enable_disable (u8 is_enable) |
|
int | vnet_lisp_map_register_enable_disable (u8 is_enable) |
|
u8 | vnet_lisp_map_register_state_get (void) |
|
u8 | vnet_lisp_rloc_probe_state_get (void) |
|
static mapping_t * | lisp_get_petr_mapping (lisp_cp_main_t *lcm) |
|
Value:_(USE_PETR, "Use Proxy-ETR") \
_(STATS_ENABLED, "Statistics enabled")
Definition at line 97 of file control.h.
#define MAP_REGISTER_DEFAULT_TTL 900 |
#define MAP_REGISTER_INTERVAL 60.0 |
#define NUMBER_OF_RETRIES 1 |
#define PENDING_MREG_EXPIRATION_TIME 3.0 /* seconds */ |
#define PENDING_MREQ_EXPIRATION_TIME 3.0 /* seconds */ |
#define PENDING_MREQ_QUEUE_LEN 5 |
#define QUICK_MAP_REGISTER_INTERVAL 3.0 |
#define QUICK_MAP_REGISTER_MSG_COUNT 3 |
#define RLOC_PROBING_INTERVAL 60.0 |
Enumerator |
---|
foreach_lisp_flag_bit |
|
Definition at line 101 of file control.h.
Enumerator |
---|
foreach_lisp_flag_bit |
|
Definition at line 108 of file control.h.
Enumerator |
---|
MR_MODE_DST_ONLY |
|
MR_MODE_SRC_DST |
|
Definition at line 90 of file control.h.
Enumerator |
---|
IP4_MISS_PACKET |
|
IP6_MISS_PACKET |
|
Definition at line 67 of file control.h.
Adds adjacency or removes forwarding entry associated to remote mapping.
Note that adjacencies are not stored, they only result in forwarding entries being created.
Definition at line 1219 of file control.c.
Add/update/delete mapping to/in/from map-cache.
Definition at line 798 of file control.c.
int vnet_lisp_add_del_map_server |
( |
ip_address_t * |
addr, |
|
|
u8 |
is_add |
|
) |
| |
int vnet_lisp_add_del_map_table_key |
( |
gid_address_t * |
eid, |
|
|
char * |
key, |
|
|
u8 |
is_add |
|
) |
| |
Adds/removes/updates mapping.
Does not program forwarding.
- Parameters
-
eid | end-host identifier |
rlocs | vector of remote locators |
action | action for negative map-reply |
is_add | add mapping if non-zero, delete otherwise |
res_map_index | the map-index that was created/updated/removed. It is set to ~0 if no action is taken. |
is_static | used for distinguishing between statically learned remote mappings and mappings obtained from MR |
- Returns
- return code
Definition at line 1035 of file control.c.
Returns vector of adjacencies.
The caller must free the vector returned by this function.
- Parameters
-
vni | virtual network identifier |
- Returns
- vector of adjacencies
Definition at line 598 of file control.c.
int vnet_lisp_clear_all_remote_adjacencies |
( |
void |
| ) |
|
int vnet_lisp_eid_table_map |
( |
u32 |
vni, |
|
|
u32 |
vrf, |
|
|
u8 |
is_l2, |
|
|
u8 |
is_add |
|
) |
| |
u8 vnet_lisp_enable_disable_status |
( |
void |
| ) |
|
u8 vnet_lisp_get_map_request_mode |
( |
void |
| ) |
|
Add/remove mapping to/from map-cache.
Overwriting not allowed.
Definition at line 697 of file control.c.
int vnet_lisp_map_register_enable_disable |
( |
u8 |
is_enable | ) |
|
u8 vnet_lisp_map_register_state_get |
( |
void |
| ) |
|
int vnet_lisp_pitr_set_locator_set |
( |
u8 * |
locator_set_name, |
|
|
u8 |
is_add |
|
) |
| |
int vnet_lisp_rloc_probe_enable_disable |
( |
u8 |
is_enable | ) |
|
u8 vnet_lisp_rloc_probe_state_get |
( |
void |
| ) |
|
int vnet_lisp_set_map_request_mode |
( |
u8 |
mode | ) |
|
int vnet_lisp_use_petr |
( |
ip_address_t * |
ip, |
|
|
u8 |
is_add |
|
) |
| |
Configure Proxy-ETR.
- Parameters
-
ip | PETR's IP address |
is_add | Flag that indicates if this is an addition or removal |
return 0 on success
Definition at line 1338 of file control.c.
(constructor) VLIB_REGISTER_NODE (lisp_cp_input_node)
Definition at line 3560 of file control.c.
(constructor) VLIB_REGISTER_NODE (lisp_cp_lookup_ip4_node)
Definition at line 2843 of file control.c.
(constructor) VLIB_REGISTER_NODE (lisp_cp_lookup_ip6_node)
Definition at line 2862 of file control.c.