summaryrefslogtreecommitdiff
path: root/bfdd/event.c
AgeCommit message (Collapse)Author
2025-02-11bfdd: use lower lateness warning for TX timersDavid Lamparter
FRR's event loop prints a warning if a timer is executed more than some given threshold late, default being 4s. Set a more appropriate threshold for BFD TX timers (half TX interval). Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2025-01-23bfdd: add sbfd state machine functionswumu.zsl
Signed-off-by: wumu.zsl <wumu.zsl@alibaba-inc.com>
2023-03-24*: Convert THREAD_XXX macros to EVENT_XXX macrosDonald Sharp
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2023-03-24*: Convert thread_add_XXX functions to event_add_XXXDonald Sharp
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2023-02-09*: auto-convert to SPDX License IDsDavid Lamparter
Done with a combination of regex'ing and banging my head against a wall. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2020-04-14bfdd: remove time calculation debugsRafael Zalamena
These were disabled by default and not used by a long time. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2020-04-10bfdd: use standard log macrosRafael Zalamena
Remove old log_* macros and standardize on FRR's logging infrastructure. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2020-04-09bfdd: remove BFD_*_FLAG macrosRafael Zalamena
Lets use what FRR provide us instead of implementing a new macros. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2019-02-14bfdd: implement session interface observerRafael Zalamena
Allow `bfdd` to configure inexisting interfaces / VRF and only activate them once the interface/VRF start existing. This implementation doesn't handle dynamic VRFs yet. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2018-10-01bfdd: allow timer deactivation on shutdownRafael Zalamena
Peers being shutdown were keeping their timers, so move the cancel code before the shutdown check. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2018-09-05bfdd: use THREAD_OFF() instead of thread_cancel()Rafael Zalamena
Use a standardized function to cancel threads instead of hand rolling our own. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2018-08-08bfdd: imported new daemon source codeRafael Zalamena
Import source code from external `bfdd` daemon ported from Cumulus PTM. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>