]> git.proxmox.com Git - mirror_frr.git/commit - bfdd/bfdd_cli.c
bfdd: implement passive mode
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Thu, 6 Aug 2020 19:25:44 +0000 (16:25 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 11 Aug 2020 19:46:10 +0000 (16:46 -0300)
commit1a2e2fff35b1b0f5f2e5dfa09378be9b62ce8f7a
treedf7bc7bd0788409dfcfead08a2c6be9ad54db863
parent8733bc48eac4a5150d8e7548be01ea1aaa211340
bfdd: implement passive mode

The passive mode is briefly described in the RFC 5880 Bidirectional
Forwarding Detection (BFD), Section 6.1. Overview:

> A system may take either an Active role or a Passive role in session
> initialization.  A system taking the Active role MUST send BFD
> Control packets for a particular session, regardless of whether it
> has received any BFD packets for that session.  A system taking the
> Passive role MUST NOT begin sending BFD packets for a particular
> session until it has received a BFD packet for that session, and thus
> has learned the remote system's discriminator value.  At least one
> system MUST take the Active role (possibly both).  The role that a
> system takes is specific to the application of BFD, and is outside
> the scope of this specification.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
bfdd/bfd.c
bfdd/bfd.h
bfdd/bfdctl.h
bfdd/bfdd_cli.c
bfdd/bfdd_nb.c
bfdd/bfdd_nb.h
bfdd/bfdd_nb_config.c
bfdd/bfdd_vty.c