summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
AgeCommit message (Expand)Author
2019-07-01Unify the way object in the RDE are reference counted. The affectedClaudio Jeker
2019-06-25Initialize the peer id of peerself to PEER_ID_SELF before adding it toClaudio Jeker
2019-06-22Add a direct pointer from struct prefix to struct pt_entry.Claudio Jeker
2019-06-22Adjust peer id allocation a bit. Use defines for the various specialClaudio 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-03-31Don't use memcpy for struct bgpd_config, the pointers and lists in thatClaudio Jeker
2019-03-23Unbreak route origin validationdenis
2019-03-13Swap arguments of rde_dump_match_peer() to match peer_matched() in session.cClaudio Jeker
2019-03-07Do a better job at cleaning up the config on shutdown. Remove bits thatClaudio Jeker
2019-02-27Convert the remote and local addresses in struct peer to be bgpd_addrsClaudio Jeker
2019-02-14Use -1 instead of the less portable INFTIM for the poll timeout.Claudio Jeker
2019-02-11The definition of VPNs in bgpd was never super elegant. The 'depend onClaudio Jeker
2019-01-21Use Adj-RIB-Out to push UPDATE messages to peers instead of having anotherClaudio Jeker
2019-01-20Support group descriptions in control messages that accept a neighborClaudio Jeker
2019-01-18Don't store the mpe information in struct ktable but instead pass theClaudio Jeker
2018-12-31unbreak tree; found the hard way by ottoFlorian Obser
2018-12-30add support for IPv6 VPN routesdenis
2018-12-30remove unused F_ANN_DYNAMIC/F_PREFIX_ANNOUNCED handling in network_delete()Sebastian Benoit
2018-12-26unbreak VPN routes installation into FIBdenis
2018-12-22bgpctl can cause bgpd to do a lot of work (e.g. dumping all of the RIB)Claudio Jeker
2018-12-19Fold ext-communities into filter_community so that bgpd can matchClaudio Jeker
2018-12-11Refactor aspath code a bit. Move cached source_as (for origin validation)Claudio Jeker
2018-11-29In peer_down() we have to flush the Adj-RIB-Out. As soon as the peer stateClaudio Jeker
2018-11-28Start reworking community handling. Merge standard communities and largeClaudio Jeker
2018-11-10fix error message when querying a non-existent tabledenis
2018-11-08Introduce rde_update_queue_pending() similar to rib_dump_pending() it checksClaudio Jeker
2018-11-08Committed wrong version. Check the flags against the fib flags from theClaudio Jeker
2018-11-08Only whack the RIB and recreate it if the the FIB distribution flags changedClaudio 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-29Fix route-collector mode by allowing the RDE to disable the decision processClaudio Jeker
2018-10-26When walking the list of ribs use continue instead of break after theClaudio Jeker
2018-10-24Major refactoring of the RIB handling code. Mainly change how the RIB isClaudio Jeker
2018-10-24Pass down the right nexthop to rde_dump_rib_as() so that dumping theClaudio Jeker
2018-10-22Properly throttle dumping of prefixes to peers. Eventhough we got the XON/XOFFClaudio Jeker
2018-10-18In rde_update_queue_runner() reset eor on every loop else a spurious andClaudio Jeker
2018-10-18Remove unneeded break, there is one just after and makes the XON and XOFFClaudio Jeker
2018-10-15Use the up_rib tree to withdraw all prefixes of a peer which is used toClaudio Jeker
2018-10-14Unbreak mrt table dumps. Make sure to call rib_dump_r for the mrt dumpClaudio Jeker
2018-10-03add filter option based on origin validation statedenis
2018-10-01Expose BGP Origin Validation state in bgpctl show commandsjob
2018-09-30vstate might be used uninitializeddenis
2018-09-29Implement origin validation in bgpd. This introduces two new tables, theClaudio Jeker
2018-09-29With the introduction of sets the config that is shipped to the RDE gotClaudio Jeker
2018-09-29Introduce minimal tracking of announced prefixes. A per peer RB tree tracksClaudio Jeker
2018-09-25Fix loading of roa-sets in the RDE. From a much bigger diff but thisClaudio Jeker
2018-09-21Implement code to parse, print and reload roa-set tables.Claudio Jeker