summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
AgeCommit message (Expand)Author
2020-01-24Implement 'max-prefix NUM out' to limit the number of announced prefixes.Claudio Jeker
2020-01-10'export default-route' still requires an output filter rule to announceClaudio Jeker
2020-01-09Move peer related code from rde.c to rde_peer.c.Claudio Jeker
2020-01-09Convert the lastchange of a prefix from time(NULL) to getmonotime() whichClaudio Jeker
2020-01-08eye burning whitespaceTheo de Raadt
2020-01-01Instead of processing all imsg when reading them store peer specificClaudio Jeker
2019-12-31reloadtime is not needed anymore.Claudio Jeker
2019-12-16Instead of passing the peer id down to peer specific functions do the lookupClaudio Jeker
2019-12-13In rde_dispatch_imsg_session() reorder the case blocks a bit so theyClaudio Jeker
2019-11-27struct ctl_show_rib does not need aspath_len since this information isClaudio Jeker
2019-10-30Add PREFIX_FLAG_STALE to mark prefixes in the Adj-RIB-Out as stale duringClaudio Jeker
2019-09-27Move the rde_send_pftable_commit() our of the prefix_update and withdrawClaudio Jeker
2019-09-27Implement F_SHORTER in the prefix lookup code for bgpctl. F_SHORTER willClaudio 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-08-07Implement the last few missing bits of RFC7607 and ensure that the AS inClaudio Jeker
2019-08-05Cleanup config reload in the RDE. Use the bgpd_conf struct to store setsClaudio Jeker
2019-08-05Change the order how filtersets are passed during config reloads. InsteadClaudio Jeker
2019-07-24mrt.h only needs to be included by mrt.cSebastian Benoit
2019-07-23Make sure that pfd is not overflown, can not happen unless the mrt countClaudio Jeker
2019-07-23Clean up RIB related kroute code. Introduce a way to flush a FIB tableClaudio 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-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