Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
API: Add support for type aliases
[vpp.git]
/
src
/
vnet
/
adj
/
adj_nbr.h
diff --git
a/src/vnet/adj/adj_nbr.h
b/src/vnet/adj/adj_nbr.h
index
293766b
..
5d0f844
100644
(file)
--- a/
src/vnet/adj/adj_nbr.h
+++ b/
src/vnet/adj/adj_nbr.h
@@
-161,6
+161,14
@@
adj_nbr_walk_nh6 (u32 sw_if_index,
adj_walk_cb_t cb,
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