diff options
author | Andrej Kozemcak <akozemca@cisco.com> | 2016-06-14 13:55:57 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2016-06-17 09:17:31 +0000 |
commit | b6e4d3990ed694fd0aeaa2e4a75c1b4602cf0379 (patch) | |
tree | 35770420009384b0d99d426029246e299f7a605d /vnet/vnet/lisp-cp/control.h | |
parent | a29f20068841a05ee5813c1601ba2f07d9398afa (diff) |
New LISP API map-request itr-rloc
API to constrain source locator when sending map-requests.
lisp map-request itr-rloc <locator-set name>
Change-Id: I19f3a1aa8a387ca8662ccf3a4ad774ea7d655f80
Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
Diffstat (limited to 'vnet/vnet/lisp-cp/control.h')
-rw-r--r-- | vnet/vnet/lisp-cp/control.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vnet/vnet/lisp-cp/control.h b/vnet/vnet/lisp-cp/control.h index a81dd2846b4..53c14dd1e01 100644 --- a/vnet/vnet/lisp-cp/control.h +++ b/vnet/vnet/lisp-cp/control.h @@ -94,6 +94,9 @@ typedef struct /* vector of map-resolver addresses */ ip_address_t * map_resolvers; + /* map-request locator set index */ + u32 mreq_itr_rlocs; + /* Lookup vrf by vni */ uword * table_id_by_vni; @@ -186,6 +189,15 @@ vnet_lisp_add_del_remote_mapping (gid_address_t * deid, gid_address_t * seid, int vnet_lisp_pitr_set_locator_set (u8 * locator_set_name, u8 is_add); +typedef struct +{ + u8 is_add; + u8 * locator_set_name; +} vnet_lisp_add_del_mreq_itr_rloc_args_t; + +int +vnet_lisp_add_del_mreq_itr_rlocs (vnet_lisp_add_del_mreq_itr_rloc_args_t * a); + int vnet_lisp_clear_all_remote_mappings (void); #endif /* VNET_CONTROL_H_ */ |