]> git.puffer.fish Git - matthieu/frr.git/commit
bfdd: add IPv4 BFD Echo support that matches RFC
authorlynnemorrison <lynne.morrison@ibm.com>
Mon, 6 Jun 2022 23:40:17 +0000 (19:40 -0400)
committerlynnemorrison <lynne.morrison@ibm.com>
Mon, 27 Jun 2022 20:21:08 +0000 (16:21 -0400)
commit57485b0b4f84cf145badc9d1deb3add734936fc4
tree50197fe2ff9933dcc6a824a02a371d7618721fe9
parent1bf4e04e0eb56e1e0c213924f6d7343e399c822f
bfdd: add IPv4 BFD Echo support that matches RFC

Modify the existing BFD Echo code to send an Echo message that will
be looped in the peers forwarding plane.   The existing Echo code
only works with other FRR implementations because the Echo packet
must go up to BFD to be turned around and forwarded back to the
local router.    The new BFD Echo code sets the src/dst IP of the
packet to be the local router's IP and sets the dest MAC to be the
peers MAC address.    The peer receives the packet and because it
is not it's IP address it forwards it back to the local router.

Signed-off-by: Lynne Morrison <lynne.morrison@ibm.com>
bfdd/bfd.c
bfdd/bfd.h
bfdd/bfd_packet.c
bfdd/bfdd_cli.c