aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/adj/adj_nbr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/adj/adj_nbr.h')
-rw-r--r--src/vnet/adj/adj_nbr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vnet/adj/adj_nbr.h b/src/vnet/adj/adj_nbr.h
index 293766b8519..5d0f8444ec3 100644
--- a/src/vnet/adj/adj_nbr.h
+++ b/src/vnet/adj/adj_nbr.h
@@ -162,6 +162,14 @@ adj_nbr_walk_nh6 (u32 sw_if_index,
void *ctx);
/**
+ * @brief Lookup neighbor adjancency.
+ */
+adj_index_t
+adj_nbr_find (fib_protocol_t nh_proto,
+ vnet_link_t link_type,
+ const ip46_address_t *nh_addr,
+ u32 sw_if_index);
+/**
* @brief
* Module initialisation
*/