]> git.proxmox.com Git - mirror_frr.git/commit - bfdd/bfddp_packet.h
bfdd: separate echo rx/tx timers
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 10 Mar 2021 14:31:57 +0000 (17:31 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 16 Mar 2021 19:14:57 +0000 (22:14 +0300)
commit4df3e31c3d09f83340e7c1a0d7645d0bdddcb68f
tree01b36a351e9a10d91d25d5dd802bb7f09a69108c
parent81ef5048dd229570f27c524d6d6268caecf3b663
bfdd: separate echo rx/tx timers

Currently there is a single interval for both RX and TX echo functions.
This commit introduces separate RX and TX timers for echo packets.

The main advantage is to be able to set the receive interval to zero
when we don't want to receive echo packets from the remote system.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
33 files changed:
bfdd/bfd.c
bfdd/bfd.h
bfdd/bfd_packet.c
bfdd/bfdctl.h
bfdd/bfdd_cli.c
bfdd/bfdd_nb.c
bfdd/bfdd_nb.h
bfdd/bfdd_nb_config.c
bfdd/bfdd_vty.c
bfdd/bfddp_packet.h
bfdd/config.c
bfdd/dplane.c
doc/user/bfd.rst
tests/topotests/bfd-bgp-cbit-topo3/r1/peers.json
tests/topotests/bfd-bgp-cbit-topo3/r1/peers_down.json
tests/topotests/bfd-bgp-cbit-topo3/r3/peers.json
tests/topotests/bfd-bgp-cbit-topo3/r3/peers_down.json
tests/topotests/bfd-profiles-topo1/r1/bfdd.conf
tests/topotests/bfd-profiles-topo1/r2/bfd-peers-initial.json
tests/topotests/bfd-profiles-topo1/r2/bfdd.conf
tests/topotests/bfd-profiles-topo1/r3/bfd-peers-initial.json
tests/topotests/bfd-profiles-topo1/r4/bfd-peers-initial.json
tests/topotests/bfd-topo1/r2/peers.json
tests/topotests/bfd-topo2/r1/peers.json
tests/topotests/bfd-topo2/r2/peers.json
tests/topotests/bfd-topo2/r3/peers.json
tests/topotests/bfd-topo2/r4/peers.json
tests/topotests/bfd-topo3/r1/bfd-peers.json
tests/topotests/bfd-topo3/r2/bfd-peers.json
tests/topotests/bfd-topo3/r3/bfd-peers.json
tests/topotests/bfd-topo3/r4/bfd-peers.json
tests/topotests/bfd-vrf-topo1/r2/peers.json
yang/frr-bfdd.yang