summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_rib.c
AgeCommit message (Expand)Author
2023-04-23Add the same AID filter to prefix_flowspec_dump() like in the otherClaudio Jeker
2023-04-19Implement a way to announce flowspec rules without hitting Adj-RIB-InClaudio Jeker
2023-04-07Pass a pt_entry pointer to rib_get() and rib_add().Claudio Jeker
2023-03-29Switch prefix_adjout_get and new prefix_adjout_first to use a pt_entryClaudio Jeker
2023-03-28Instead of exracting the prefix into a bgpd_addr and passing that toClaudio Jeker
2023-02-09Instead of relaying struct peer from the SE to the RDE to fill out 10Claudio Jeker
2023-01-24Implement ASPA validation and reload logic on ASPA set changes.Claudio Jeker
2023-01-20Bad indentClaudio Jeker
2023-01-18Use the vstate of the filterstate struct instead of passing an extra copyClaudio Jeker
2022-12-28spelling fixes; from paul tagliamonteJason McIntyre
2022-10-12use correct type with sizeofJonathan Gray
2022-09-12Introduce tree walkers that only walk a subtree of the RIB.Claudio Jeker
2022-09-01This code no longer needs siphash.h and also cleanup some leftoverClaudio 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 rde_aspath to a RB tree instead of a hash table.Claudio Jeker
2022-08-25Connected routes use the BGP exit nexthop while other routes need to useClaudio Jeker
2022-08-10More kroute_nexthop cleanup. Mainly use direct assignment instead ofClaudio 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-08Pass path_id_tx to the Adj-RIB-OutClaudio Jeker
2022-07-08Assign a local path_id to all prefixesClaudio Jeker
2022-05-23whitespaces found when I went checking for something elseTheo de Raadt
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-15Replace the eor member of struct prefix with a flag. Saves a byte thatClaudio Jeker
2022-03-15Refactor prefix_adjout_update(). Move the new prefix logic up andClaudio Jeker
2022-03-02Adapt prefix_adjout_update() the same way as prefix_adjout_withdraw()Claudio Jeker
2022-03-02Refactor prefix_adjout_withdraw()Claudio Jeker
2022-03-01Remove another empty lineClaudio Jeker
2022-03-01Reshuffle functions for better order and remove an excessive empty line.Claudio Jeker
2022-02-28Instead of handrolling what is mostly prefix_link/prefix_unlink inClaudio Jeker
2022-02-25The pointer returned by pt_fill() can be directly used in most cases.Claudio Jeker
2022-02-25For add-path send the Adj-RIB-Out needs to handle multiple paths perClaudio 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-07-27Restructure struct prefix a bit and move the rib pointer to the unionClaudio Jeker
2021-06-17Better error message when a bad nexthop is passed to nexthop_hash().Claudio Jeker
2021-05-04More comment changes to reflect reality. No functional change.Claudio Jeker
2021-01-18Change struct bgpd_addr VPN encoding. Instead of including two almostClaudio Jeker
2021-01-13Extend prefix_evaluate() to also be used when withdrawing a prefix.Claudio Jeker
2020-12-04Reference count prefixes added to a pftable. This allows to exportClaudio Jeker
2020-11-05Refactor the filterset handling of nexthops. Instead of depending onClaudio Jeker
2020-11-05Fix comment to better reflect realityClaudio Jeker
2020-01-25In nexthop_update() only add a nexthop to the nexthop_runners queue ifClaudio Jeker
2020-01-10Reorder assignements a bit so that all hashed values are togetherClaudio Jeker
2020-01-09Instead of calling SipHash24_Update() in path_hash for each element ofClaudio Jeker
2020-01-09Convert the lastchange of a prefix from time(NULL) to getmonotime() whichClaudio Jeker
2020-01-08eye burning whitespaceTheo de Raadt