bird/proto
Toke Høiland-Jørgensen d9763bd7a0
babel: Add route metric smoothing
The Babel RTT extension employs metric smoothing to dampen route
oscillations in the face of varying RTT values between two peers[0].

This patch implements such dampening in Bird, roughly following the
implementation in babeld (i.e., using the same exponential function
definition). The main difference is that we calculate everything in the
native Bird microsecond time unit (and increase constants accordingly), and
that we split out the smoothed metric calculation in two function variants,
one that has no side effects and one that does.

  [0] https://arxiv.org/pdf/1403.3488.pdf

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2022-12-12 13:46:36 +08:00
..
babel babel: Add route metric smoothing 2022-12-12 13:46:36 +08:00
bfd Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
bgp BGP: Log unacceptable hold time as decimal number 2022-12-10 18:06:52 +01:00
mrt Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
ospf Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
perf Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
pipe Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
radv Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
rip Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
rpki RPKI: wait for retry_time if we get error immediately after connected 2022-10-03 17:09:02 +02:00
static Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00