X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fvnet%2Fadj%2Fadj_nbr.h;h=5d0f8444ec3e7fc8a6334cedae55b5569b3de0cf;hb=775f73c6baaf9bc2283e7ab9752c81984823be99;hp=293766b851910b0dfd4c2c6ee07fc0fed00badfc;hpb=7cd468a3d7dee7d6c92f69a0bb7061ae208ec727;p=vpp.git 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 @@ -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