summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bgpd/rde_rib.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* In nexthop_update() only add a nexthop to the nexthop_runners queue ifclaudio2020-01-251-4/+10
* Reorder assignements a bit so that all hashed values are togetherclaudio2020-01-101-6/+6
* Instead of calling SipHash24_Update() in path_hash for each element ofclaudio2020-01-091-7/+3
* Convert the lastchange of a prefix from time(NULL) to getmonotime() whichclaudio2020-01-091-8/+8
* eye burning whitespacederaadt2020-01-081-2/+2
* Add PREFIX_FLAG_STALE to mark prefixes in the Adj-RIB-Out as stale duringclaudio2019-10-301-12/+16
* Replace the fatal non existing prefix call with a pt_add() call thatclaudio2019-10-291-2/+2
* Fix two cases where the nexthop_runners tail queue can get corrupted.claudio2019-10-291-3/+9
* Move the rde_send_pftable_commit() our of the prefix_update and withdrawclaudio2019-09-271-8/+4
* Rework the way ribs are stored in the RDE. Instead of a flat array thatclaudio2019-08-141-34/+42
* There is no longer a reason to use two structs for RIBs where one is partclaudio2019-08-141-33/+23
* Move prefix_update to the right spot and also move some prototypes down.claudio2019-08-091-70/+72
* Rename some of the prefix functions to make it clearer. Also renameclaudio2019-08-091-14/+14
* Improve RIB reload behaviour. Especially when the rtable changes or theclaudio2019-08-071-15/+43
* rib_dump_terminate() and rib_dump_abort() need to free any possiblyclaudio2019-07-241-52/+59
* Use the correct prefix size when writing out AID_VPN_IPv4 and AID_VPN_IPv6claudio2019-07-231-4/+6
* Change the Adj-RIB-Out to a per peer set of RB trees. The way RIB dataclaudio2019-07-171-74/+345
* Must update the nexthop state before dropping the nexthop referenceclaudio2019-07-011-8/+7
* Remove no longer needed local variable oasp.claudio2019-07-011-4/+2
* Unify the way object in the RDE are reference counted. The affectedclaudio2019-07-011-50/+27
* Add a direct pointer from struct prefix to struct pt_entry.claudio2019-06-221-16/+16
* prefix_add() is only called by path_update() and path_update alreadyclaudio2019-06-201-19/+4
* prefix_updateall() is only used internally, make it a static function.claudio2019-06-201-2/+2
* Change nexthop_update to run the list walk over all prefixes to runclaudio2019-06-201-50/+108
* Completley rewrite the community matching and handling code. All communityclaudio2019-06-171-23/+51
* Do a better job at cleaning up the config on shutdown. Remove bits thatclaudio2019-03-071-1/+8
* Use Adj-RIB-Out to push UPDATE messages to peers instead of having anotherclaudio2019-01-211-37/+160
* add support for IPv6 VPN routesdenis2018-12-301-1/+34
* Refactor aspath code a bit. Move cached source_as (for origin validation)claudio2018-12-111-6/+1
* Adjust comment.claudio2018-11-141-6/+2
* Introduce a real Adj-RIB-Out. At the same time remove the update_ribclaudio2018-11-041-2/+22
* Remove tail queues which link peer, aspath and prefix together. Theseclaudio2018-10-311-52/+59
* Never remove the default RIBs from the RDE.claudio2018-10-311-1/+3
* Replace some walkers using the aspath/prefix lists with a rib_dump walker.claudio2018-10-291-85/+8
* Use proper type in sizeof()claudio2018-10-261-2/+2
* Major refactoring of the RIB handling code. Mainly change how the RIB isclaudio2018-10-241-49/+157
* Implement origin validation in bgpd. This introduces two new tables, theclaudio2018-09-291-16/+26
* whitespace cleanup, ok claudio@benno2018-09-201-4/+4
* typo in commentsthen2018-09-171-2/+2
* Clean up prefix flag handling. First of all the dynamic networks no longerclaudio2018-09-091-93/+37
* hide rib[] internals in new rib_valid() functionbenno2018-08-081-2/+2
* Pass the stale timestamp to path_remove_stale() removes a asp->peer dereferenceclaudio2018-08-061-4/+2
* Move nexthop and nexthop flags from the rde_aspath to struct prefix.claudio2018-08-031-98/+95
* Move nexthop into struct filterstate (including nexthop flags) and useclaudio2018-07-221-2/+6
* Use struct filterstate in rde_update_dispatch() and pass it down toclaudio2018-07-161-3/+3
* improve the path hash function (instead of just hashing the aspath putclaudio2018-07-111-16/+42
* On IMSG_CTL_SHOW_RIB_MEM also send back information of some of theclaudio2018-07-111-1/+27
* Actually clear the right thing in rib_free()benno2018-07-101-2/+2
* Wrong function name in error messageclaudio2018-07-091-2/+2
* Introduce a struct filterstate and pass this to rde_filter instead ofclaudio2018-07-091-6/+13