summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_rib.c
AgeCommit message (Expand)Author
2018-12-30add support for IPv6 VPN routesdenis
2018-12-11Refactor aspath code a bit. Move cached source_as (for origin validation)Claudio Jeker
2018-11-14Adjust comment.Claudio 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-31Never remove the default RIBs from the RDE.Claudio Jeker
2018-10-29Replace some walkers using the aspath/prefix lists with a rib_dump walker.Claudio Jeker
2018-10-26Use proper type in sizeof()Claudio Jeker
2018-10-24Major refactoring of the RIB handling code. Mainly change how the RIB isClaudio Jeker
2018-09-29Implement origin validation in bgpd. This introduces two new tables, theClaudio Jeker
2018-09-20whitespace cleanup, ok claudio@Sebastian Benoit
2018-09-17typo in commentStuart Henderson
2018-09-09Clean up prefix flag handling. First of all the dynamic networks no longerClaudio 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-22Move nexthop into struct filterstate (including nexthop flags) and useClaudio 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-10Actually clear the right thing in rib_free()Sebastian Benoit
2018-07-09Wrong function name in error messageClaudio 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-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-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-28Implement an XON/XOFF protocol between the RDE and the SE to throttleClaudio Jeker
2017-01-25Hopefully the last of the struct rib rototilling. Peer just points to aClaudio Jeker
2017-01-25Switch rde_generate_update and rde_send_kroute to accept a struct rib insteadClaudio Jeker
2017-01-24Save some space in struct rib_entry so it is back to 64bytes (on 64bit archs).Claudio Jeker
2017-01-24sync log.c from relayd et al to bgpd.Sebastian Benoit
2017-01-23Rename rib pointer in struct prefix to re since it points to a rib_entry.Claudio Jeker
2017-01-23Introduce a struct rib sitting between struct rib_desc and struct rib_tree.Claudio Jeker
2017-01-23Revert the struct rib_tree rename. I need a struct in between because ofClaudio Jeker
2017-01-23More rototilling, make rib_new and rib_find return a point to struct rib_descClaudio Jeker
2017-01-23Now rename struct rib_tree to struct rib. Again OK gccClaudio Jeker
2017-01-23Rename struct rib to struct rib_desc. Mechanical change, OK gccClaudio Jeker
2016-08-27Pull in <time.h> for one or more of gmtime, strftime, strptime, time,Philip Guenther
2015-03-14rename rde_free_filter() to filterlist_free() and start using it outsideClaudio Jeker
2014-12-18two more uses of siphash. better hash for ipv4. maybe not needed for rbtreeTed Unangst
2014-12-12convert some hash tables (the easy ones) to siphash. ok benno.Ted Unangst
2014-10-08Use reallocarray() throughout to spot multiplicative int overflow.Theo de Raadt