summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.h
AgeCommit message (Expand)Author
2021-03-02Introduce 'rde evaluate all' a mode to work around path hiding in IXPClaudio 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-06-05Remove redundant codedenis
2020-01-24Implement 'max-prefix NUM out' to limit the number of announced prefixes.Claudio Jeker
2020-01-09Instead of calling SipHash24_Update() in path_hash for each element ofClaudio Jeker
2020-01-09Clean up header a bit, remove peer_recv_eor and peer_send_eor prototypesClaudio Jeker
2020-01-09Move peer related code from rde.c to rde_peer.c.Claudio Jeker
2020-01-08eye burning whitespaceTheo de Raadt
2020-01-01Instead of processing all imsg when reading them store peer specificClaudio Jeker
2019-10-30Add PREFIX_FLAG_STALE to mark prefixes in the Adj-RIB-Out as stale duringClaudio 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-13Instead of passing a struct prefix pointer to rde_filter() pass the 4 valuesClaudio 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-22GC three prototypes whose function have gone long ago.Claudio Jeker
2019-07-17Change the Adj-RIB-Out to a per peer set of RB trees. The way RIB dataClaudio Jeker
2019-07-01Unify the way object in the RDE are reference counted. The affectedClaudio Jeker
2019-06-24mrt dumps lost communities after the community rewrite.Claudio Jeker
2019-06-22Add a direct pointer from struct prefix to struct pt_entry.Claudio 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-17Cleanup, remove some unneded spaces add some other where needed.Claudio Jeker
2019-06-17Completley rewrite the community matching and handling code. All communityClaudio Jeker
2019-05-31Exit the attribute loop early if there are no unknown attributes leftClaudio Jeker
2019-03-07Do a better job at cleaning up the config on shutdown. Remove bits thatClaudio Jeker
2019-02-26Add support for '*', local-as and neighbor-as for ext-community matchingClaudio Jeker
2019-02-04Implement as-override, a feature where the neighbor AS is replaced by theClaudio 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-19Fold ext-communities into filter_community so that bgpd can matchClaudio Jeker
2018-12-17path_empty() is not a function and does not need a prototype.Claudio Jeker
2018-12-11Refactor aspath code a bit. Move cached source_as (for origin validation)Claudio Jeker
2018-11-28Start reworking community handling. Merge standard communities and largeClaudio 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-29Replace some walkers using the aspath/prefix lists with a rib_dump walker.Claudio Jeker
2018-10-25Calculate ASPATH_HEADER_SIZE correctly by using offsetof() instead of theClaudio Jeker
2018-10-24Major refactoring of the RIB handling code. Mainly change how the RIB isClaudio Jeker
2018-10-15Use the up_rib tree to withdraw all prefixes of a peer which is used toClaudio Jeker
2018-10-01Expose BGP Origin Validation state in bgpctl show commandsjob
2018-09-29Implement origin validation in bgpd. This introduces two new tables, theClaudio Jeker
2018-09-29Introduce minimal tracking of announced prefixes. A per peer RB tree tracksClaudio Jeker
2018-09-20Split up as_set into a set_table and an as_set. The first is what doesClaudio Jeker
2018-09-20whitespace cleanup, ok claudio@Sebastian Benoit
2018-09-18Backend for roa-sets. This combines as_sets and prefix-set tries to doClaudio Jeker
2018-09-09Clean up prefix flag handling. First of all the dynamic networks no longerClaudio Jeker
2018-09-08implement or-longer filter op for prefix-sets. Allows one two write rules likeSebastian Benoit
2018-09-07Implement a fast presix-set lookup. This magic trie is able to match aClaudio Jeker