summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_decide.c
AgeCommit message (Expand)Author
2024-08-14Introduce 'rde rib Loc-RIB include filtered' a feature that includesClaudio Jeker
2023-10-12Before calling rde_generate_updates() with EVAL_ALL ensure that the newClaudio Jeker
2023-03-13Add F_CTL_LEAKED and F_CTL_INELIGIBLE flags for bgpctl to show leakedClaudio Jeker
2023-03-09Major rework of RFC9234 support. My initial interpretation of the RFC wasClaudio Jeker
2023-02-13Pass struct rib_entry to rde_generate_updates() instead of struct rib.Claudio Jeker
2022-09-23Implement a special update generator for add-path send all.Claudio Jeker
2022-07-25Properly handle nexthop state changes in the decision processClaudio Jeker
2022-07-18Do not fatalx() when calculating the dmetric and the result is negative.Claudio Jeker
2022-07-11Use newbest and oldbest instead of xp and active as variable namesClaudio Jeker
2022-07-07Rework prefix_insert() and prefix_remove() to properly recalculate dmetricClaudio Jeker
2022-07-07Introduce a decision metric (dmetric) that classifies the relation ofClaudio Jeker
2022-07-07Refactor the code that generates updates so that up_generate_updates isClaudio Jeker
2022-03-22Switch from a LIST to TAILQ for the structure to store prefixes on aClaudio Jeker
2022-03-21Remove the active prefix cache in struct rib_entry. I need the spaceClaudio Jeker
2022-03-03Move rde_send_kroute() from rde_generate_updates() to prefix_evaluate().Claudio Jeker
2022-03-01Rewrite some comments to hopefully be easier to understand.Claudio Jeker
2022-02-06Switch from u_intX_t types to stdint.h uintX_t. Mostly mechanical withClaudio Jeker
2021-08-09Implement reception of multiple paths per BGP session. This is oneClaudio Jeker
2021-05-04Update comment to match reality.Claudio Jeker
2021-04-20prefix_insert() and prefix_remove() emulate a tail queue by keeping theClaudio Jeker
2021-03-08When introducing prefix_eligible() I botched up one if statement.Claudio Jeker
2021-03-02Introduce 'rde evaluate all' a mode to work around path hiding in IXPClaudio Jeker
2021-02-02Properly implement 'rde med compare strict' and make sure that the orderClaudio Jeker
2021-01-14Cleanup prefix_cmp() a bit. Make sure that the return value can not overflowClaudio Jeker
2021-01-13Extend prefix_evaluate() to also be used when withdrawing a prefix.Claudio Jeker
2019-08-09Rename some of the prefix functions to make it clearer. Also renameClaudio Jeker
2019-08-07Improve RIB reload behaviour. Especially when the rtable changes or theClaudio Jeker
2019-07-22No need to check first if something is not NULL to assign NULL to it.Claudio Jeker
2019-07-17Change the Adj-RIB-Out to a per peer set of RB trees. The way RIB dataClaudio Jeker
2019-01-21Use Adj-RIB-Out to push UPDATE messages to peers instead of having anotherClaudio Jeker
2018-12-04Since a while announcements added by bgpctl will overwrite the ones fromClaudio Jeker
2018-09-27Add some extra curlies to make code more legible.Claudio Jeker
2018-08-29Adjust comment to make it clear that a NULL nexthop is actually eligableClaudio Jeker
2018-08-06Assign peer1 and peer2 early on and use them everywhere instead of aspX->peer.Claudio Jeker
2018-07-24Use prefix_nexthop() to access the nexthop instead of dereferencing theClaudio Jeker
2018-06-21Nothing is using the active and prefix count in struct rde_aspath.Claudio Jeker
2018-02-05Change struct prefix a bit. Make the aspath pointer opaque and remove theClaudio Jeker
2017-01-25Switch rde_generate_update and rde_send_kroute to accept a struct rib insteadClaudio Jeker
2017-01-24Save some space in struct rib_entry so it is back to 64bytes (on 64bit archs).Claudio Jeker
2017-01-24sync log.c from relayd et al to bgpd.Sebastian Benoit
2017-01-23Introduce a struct rib sitting between struct rib_desc and struct rib_tree.Claudio Jeker
2012-07-04Seems like I missed to adjust the route decision code to cover the thingsClaudio Jeker
2012-04-12The ebgp flags is just a truth value and it is better to not == 1 compares.Claudio Jeker
2010-05-03Make it possible to load multiple routing tables at the same time and useClaudio Jeker
2009-08-06Implement the error handling as proposed in draft-ietf-idr-optional-transitiveClaudio Jeker
2009-06-29Doh! Fix logic botch that disconnected the FIB from the Loc-RIB instead ofClaudio Jeker
2009-06-06Only the main Loc-RIB should update the FIB for now. So introduce aClaudio Jeker
2009-06-06Only generate updates for peers that are member of the RIB that update isClaudio Jeker
2009-06-01Instead of storing a pointer to the RIB head in the RIB element use thatClaudio Jeker
2009-05-21Make it possible to turn off the decision process per RIB. This is mainlyClaudio Jeker