summaryrefslogtreecommitdiffstats
path: root/src/vnet/adj/adj_nbr.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-04-26 08:26:52 -0700
committerDamjan Marion <dmarion.lists@gmail.com>2018-05-17 06:29:13 +0000
commitf9d0568344b4766bc1ddc1be9a7e9afd00e2d832 (patch)
tree6266d507999c3fff98c6d8da849c0b4b9ed116a6 /src/vnet/adj/adj_nbr.h
parent78c568905724af785e90185fd89fa8717b3b35c2 (diff)
tcp: handle link-local addresses
Change-Id: I9ede6bc861350c7d9e78fa4d96cd584c2816d06f Signed-off-by: Florin Coras <fcoras@cisco.com>
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
*/