bfd: midchain adjacency support 91/19891/2
authorMatthew G Smith <mgsmith@netgate.com>
Wed, 22 May 2019 19:49:24 +0000 (14:49 -0500)
committerNeale Ranns <nranns@cisco.com>
Fri, 7 Jun 2019 08:56:16 +0000 (08:56 +0000)
commit2f260147f0b22a3f8fe3fa29afcdc0e2e6d61ef7
treea07f170d70aa7ed227124887efab3c4db3b4a7a0
parented3bcb00b31b2ae2e43219557c62c5bd1b31ceb4
bfd: midchain adjacency support

Support an adjacency with lookup_next_index of IP_LOOKUP_NEXT_MIDCHAIN
so tunnel interfaces can have BFD configured on them.
Also, check if the interface a session is configured on is up
and skip assembling the packet and calculating the checksum if
the interface is down.

Change-Id: I44f76478d0fc1592e3491dd9368819a5c957e74a
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/vnet/bfd/bfd_udp.c