Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Seamless Bidirectional Forwarding Detection (S-BFD) provides a simplified mechanism for continuity testing and validation of forwarding paths. Unlike traditional BFD, S-BFD does not require session establishment or negotiation - instead, it uses a reflector model where one side (the initiator) can immediately begin sending BFD packets to the other side (the reflector) without coordinated session state.
https://datatracker.ietf.org/doc/rfc7880/
This PR introduces two new bfd session types to represent the initiator and reflector modes for S-BFD:
The reflector is a simplified mode which can respond to many initiators, so some attributes which would otherwise be mandatory for BFD sessions, are not applicable for S-BFD reflectors. The reflector merely swaps several fields like the SIP<->DIP as documented in the RFC to "reflect" the packet back to the initiator.
The initiator deals with both the origination and monitoring of the BFD packets.