summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.h
AgeCommit message (Expand)Author
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
2018-09-07Implement as-set a fast lookup table to be used instead of long list ofClaudio Jeker
2018-08-08Update the RIB after a config reload in the background. This moves theClaudio 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-31Reshuffle order in struct rde_peer a bit. No functional change.Claudio Jeker
2018-07-22Move nexthop into struct filterstate (including nexthop flags) and useClaudio Jeker
2018-07-20Move the nlri_get_prefix functions to util.c so that bgpctl can use them too.Claudio 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-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-28Remove rde_aspath pointer from rde_filter since that argument can be fetchedClaudio 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
2018-06-21Nothing is using the active and prefix count in struct rde_aspath.Claudio Jeker
2018-02-10Follow rfc8277 more closely and make make sure bgpd is encoding VPNv4Claudio Jeker
2018-02-10Add prefix-sets, lists of prefixes which can be used in place of aSebastian Benoit
2018-02-07Add plumbing inside of the prefix handling to put prefixes on either theClaudio Jeker
2018-02-05Switch a few lists to tailqs. Mainly the prefix list per aspath needsClaudio Jeker
2018-02-05Change struct prefix a bit. Make the aspath pointer opaque and remove theClaudio Jeker
2018-02-04Clenaup RIB handling in the RDE. Introduce some defines for Adj-RIB-In andClaudio Jeker
2017-05-30remove extended communities that have the transitive bit set fromSebastian Benoit
2017-05-28Implement an XON/XOFF protocol between the RDE and the SE to throttleClaudio Jeker