summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/control.h
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-09-05 15:46:09 +0200
committerFlorin Coras <florin.coras@gmail.com>2017-09-19 16:00:51 +0000
commit058799951d062bbbe4df8df101b4db5bc7797b8f (patch)
treee723fcadfdfbf47d5887503843babe98779dd863 /src/vnet/lisp-cp/control.h
parent02e14b526dc6f30c534e483c8e4a77678e27352e (diff)
LISP: support for neighbor discovery
Change-Id: I0f1a051dd3b5786dc7c457bc6fc7ce4fcd0f530c Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp/control.h')
-rw-r--r--src/vnet/lisp-cp/control.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/control.h b/src/vnet/lisp-cp/control.h
index 12bfcb5194e..d40f6f5373a 100644
--- a/src/vnet/lisp-cp/control.h
+++ b/src/vnet/lisp-cp/control.h
@@ -103,6 +103,12 @@ typedef struct
u32 ip4;
} lisp_api_l2_arp_entry_t;
+typedef struct
+{
+ u8 mac[6];
+ u8 ip6[16];
+} lisp_api_ndp_entry_t;
+
typedef enum
{
MR_MODE_DST_ONLY = 0,
@@ -395,6 +401,8 @@ int vnet_lisp_map_register_set_ttl (u32 ttl);
u32 vnet_lisp_map_register_get_ttl (void);
int vnet_lisp_map_register_fallback_threshold_set (u32 value);
u32 vnet_lisp_map_register_fallback_threshold_get (void);
+u32 *vnet_lisp_ndp_bds_get (void);
+lisp_api_ndp_entry_t *vnet_lisp_ndp_entries_get_by_bd (u32 bd);
map_records_arg_t *parse_map_reply (vlib_buffer_t * b);