summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
AgeCommit message (Expand)Author
2022-09-23Implement a special update generator for add-path send all.Claudio Jeker
2022-09-21Adjust pathid_assign() to be much faster in the common case.Claudio Jeker
2022-09-12Introduce tree walkers that only walk a subtree of the RIB.Claudio Jeker
2022-09-09Implement the F_SHORTER filter by doing explicit lookups for each possibleClaudio Jeker
2022-09-01Switch the rde_peer hashtable and peer list to a single RB tree.Claudio Jeker
2022-08-31Remove IMSG_CTL_SHOW_RIB_HASH and struct rde_hashstats which are noClaudio Jeker
2022-08-31Switch the generic attribute cache to an RB tree.Claudio Jeker
2022-08-31Make sure that only one roa softreconfig runner is run at any time.Claudio Jeker
2022-08-30Switch nexthop hash to a RB tree.Claudio Jeker
2022-08-29Instead of a global aspath cache copy the aspath attribute per rde_aspathClaudio Jeker
2022-08-29Switch the DB of communities collections to a RB tree instead of anClaudio Jeker
2022-08-29Switch rde_aspath to a RB tree instead of a hash table.Claudio Jeker
2022-08-29Export pending update and withdraw as part of struct peer_stats.Claudio Jeker
2022-08-26Handle IMSG_SESSION_* messages immediatly when received and do not putClaudio Jeker
2022-08-17Convert bzero() to memset(), bcmp() to memcmp() and bcopy() to memcpy().Claudio Jeker
2022-08-16Do not send kroutes from the RDE to the FIB with the true_nexthop butClaudio Jeker
2022-08-10More kroute_nexthop cleanup. Mainly use direct assignment instead ofClaudio Jeker
2022-08-10Fix logic in network_dump_upcall()Claudio Jeker
2022-07-28whitespace found during a read-thru; ok claudioTheo de Raadt
2022-07-25Properly handle nexthop state changes in the decision processClaudio Jeker
2022-07-23There is no need to set kf.flags to F_KERNEL here.Claudio Jeker
2022-07-22Revert previous commit. The RTP_MINE checks on struct kroute_full areClaudio Jeker
2022-07-22Retire the F_KERNEL flag, it got superseded by route priority and RTP_MINE.Claudio Jeker
2022-07-19Use kf for all struct kroute_full variables. Makes code more consistent.Claudio Jeker
2022-07-11Implement send side of RFC7911 ADD-PATHClaudio Jeker
2022-07-11When dumping prefixes for bgpctl just use prefix_eligible() to know ifClaudio Jeker
2022-07-08Assign a local path_id to all prefixesClaudio Jeker
2022-07-07Skip dmetric related code for the Adj-RIB-Out since there is no decisionClaudio Jeker
2022-07-07Properly break out of the loop setting the PREF flags.Claudio 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-06-27Add support for RFC 9234 - Route Leak Prevention and Detection Using RolesClaudio Jeker
2022-05-25Fix non-transitive extended community handling.Claudio Jeker
2022-05-06Relax the limitation of what is an acceptable unicast IP.Claudio 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-21Adjust how RIB are reloaded when their flags (esp. no evaluate) changes.Claudio Jeker
2022-03-21Rename F_CTL_ACTIVE and F_PREF_ACTIVE to the more correctClaudio Jeker
2022-03-03Move rde_send_kroute() from rde_generate_updates() to prefix_evaluate().Claudio Jeker
2022-03-02Refactor prefix_adjout_withdraw()Claudio Jeker
2022-02-28In the Adj-RIB-Out specific dump functions assert that PREFIX_FLAG_ADJOUTClaudio Jeker
2022-02-26Remove excessive ;Claudio Jeker
2022-02-25For add-path send the Adj-RIB-Out needs to handle multiple paths perClaudio Jeker
2022-02-24struct prefix holds path_id_tx for the path id sent to peers whenClaudio Jeker
2022-02-06Switch from u_intX_t types to stdint.h uintX_t. Mostly mechanical withClaudio Jeker
2022-01-20Make sure that all poll loops properly restart the poll loop on EINTR.Claudio Jeker
2021-08-09Implement reception of multiple paths per BGP session. This is oneClaudio Jeker
2021-07-27Restructure struct prefix a bit and move the rib pointer to the unionClaudio Jeker
2021-06-25The network flush code only operates on peerself (like all the otherClaudio Jeker
2021-06-25Do the multiprotocol check first for the IPv4 case. So it is the sameClaudio Jeker