ipsec: IPSec protection for multi-point tunnel interfaces
[vpp.git] / src / vnet / adj / adj_nbr.h
index 293766b..3a89dc8 100644 (file)
@@ -91,7 +91,7 @@ typedef enum adj_nbr_rewrite_flag_t_
 
     /**
      * An indication that the rewrite is complete, i.e. that it fully describes
-     * the link-layer addressing for the desintation.
+     * the link-layer addressing for the destintation.
      * The opposite of this is an incomplete rewrite that describes the ARP/ND
      * rewrite when probing.
      */
@@ -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