summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_rib.c
AgeCommit message (Expand)Author
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
2018-12-11Refactor aspath code a bit. Move cached source_as (for origin validation)Claudio Jeker
2018-11-14Adjust comment.Claudio Jeker
2018-11-04Introduce a real Adj-RIB-Out. At the same time remove the update_ribClaudio Jeker
2018-10-31Remove tail queues which link peer, aspath and prefix together. TheseClaudio Jeker
2018-10-31Never remove the default RIBs from the RDE.Claudio Jeker
2018-10-29Replace some walkers using the aspath/prefix lists with a rib_dump walker.Claudio Jeker
2018-10-26Use proper type in sizeof()Claudio Jeker
2018-10-24Major refactoring of the RIB handling code. Mainly change how the RIB isClaudio Jeker
2018-09-29Implement origin validation in bgpd. This introduces two new tables, theClaudio Jeker
2018-09-20whitespace cleanup, ok claudio@Sebastian Benoit
2018-09-17typo in commentStuart Henderson
2018-09-09Clean up prefix flag handling. First of all the dynamic networks no longerClaudio Jeker
2018-08-08hide rib[] internals in new rib_valid() functionSebastian Benoit
2018-08-06Pass the stale timestamp to path_remove_stale() removes a asp->peer dereferenceClaudio Jeker
2018-08-03Move nexthop and nexthop flags from the rde_aspath to struct prefix.Claudio Jeker
2018-07-22Move nexthop into struct filterstate (including nexthop flags) and useClaudio Jeker
2018-07-16Use struct filterstate in rde_update_dispatch() and pass it down toClaudio Jeker
2018-07-11improve the path hash function (instead of just hashing the aspath putClaudio Jeker
2018-07-11On IMSG_CTL_SHOW_RIB_MEM also send back information of some of theClaudio Jeker
2018-07-10Actually clear the right thing in rib_free()Sebastian Benoit
2018-07-09Wrong function name in error messageClaudio Jeker
2018-07-09Introduce a struct filterstate and pass this to rde_filter instead ofClaudio Jeker
2018-06-29Prepare the ground for allowing temporary aspath object living on the stack.Claudio Jeker
2018-06-28Instead of passing the rde_aspath to nexthop_modify() pass pointers toClaudio Jeker
2018-06-28Pass a struct prefix to rde_filter and remove some of the arguments whichClaudio Jeker
2018-06-27Just put the aspath and the peer directly into the prefix struct.Claudio Jeker
2018-06-25Properly start reference counting struct nexthop. This removes the need forClaudio Jeker