summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_rib.c
AgeCommit message (Expand)Author
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
2019-10-30Add PREFIX_FLAG_STALE to mark prefixes in the Adj-RIB-Out as stale duringClaudio Jeker
2019-10-29Replace the fatal non existing prefix call with a pt_add() call thatClaudio Jeker
2019-10-29Fix two cases where the nexthop_runners tail queue can get corrupted.Claudio Jeker
2019-09-27Move the rde_send_pftable_commit() our of the prefix_update and withdrawClaudio Jeker
2019-08-14Rework the way ribs are stored in the RDE. Instead of a flat array thatClaudio Jeker
2019-08-14There is no longer a reason to use two structs for RIBs where one is partClaudio Jeker
2019-08-09Move prefix_update to the right spot and also move some prototypes down.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-24rib_dump_terminate() and rib_dump_abort() need to free any possiblyClaudio Jeker
2019-07-23Use the correct prefix size when writing out AID_VPN_IPv4 and AID_VPN_IPv6Claudio Jeker
2019-07-17Change the Adj-RIB-Out to a per peer set of RB trees. The way RIB dataClaudio Jeker
2019-07-01Must update the nexthop state before dropping the nexthop referenceClaudio Jeker
2019-07-01Remove no longer needed local variable oasp.Claudio Jeker
2019-07-01Unify the way object in the RDE are reference counted. The affectedClaudio Jeker
2019-06-22Add a direct pointer from struct prefix to struct pt_entry.Claudio Jeker
2019-06-20prefix_add() is only called by path_update() and path_update alreadyClaudio Jeker
2019-06-20prefix_updateall() is only used internally, make it a static function.Claudio Jeker
2019-06-20Change nexthop_update to run the list walk over all prefixes to runClaudio Jeker
2019-06-17Completley rewrite the community matching and handling code. All communityClaudio Jeker
2019-03-07Do a better job at cleaning up the config on shutdown. Remove bits thatClaudio Jeker
2019-01-21Use Adj-RIB-Out to push UPDATE messages to peers instead of having anotherClaudio Jeker
2018-12-30add support for IPv6 VPN routesdenis