summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_rib.c
AgeCommit message (Expand)Author
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
2013-08-14Rewrite the internals of the RDE reload logic.Claudio Jeker
2013-07-17on graceful restart, the number of prefixes could be counted wrong,Sebastian Benoit
2013-05-20D'oh, add missing break in prefix_writebuf(). Another find by blambert@Claudio Jeker
2013-03-14correct struct in sizeof(); found by llvmFlorian Obser
2012-09-12Better graceful restart support (implementing more then just the EoR record).Claudio Jeker
2012-07-01typo in comment, s/withdrawl/withdrawal/Stuart Henderson
2012-05-22Flush the right networks, the dynamic ones not the static ones.Claudio Jeker
2011-09-21Fix nexthop_modify() to reset the flags when called. Until nowClaudio Jeker
2011-09-20Move a few functions into util.c because bgpctl will need them soon.Claudio Jeker
2011-09-17Implement new mrt table dump format as specified in draft-ietf-grow-mrt.Claudio Jeker
2011-01-14plug memleak in err path; from zinovik, ok claudioHenning Brauer
2010-05-03Make it possible to load multiple routing tables at the same time and useClaudio Jeker
2010-04-20prefix_unlink() must remove the rib entry. Currently this was only doneClaudio Jeker
2010-04-07Call nexthop_delete() a bit later in nexthop_update(). The nh->state needsClaudio Jeker
2010-04-06Switch to a more address family independent nexthop imsg. Instead of passingClaudio Jeker
2010-03-29We always allocate rib ids dynamicaly so there is no need for allowingClaudio Jeker
2010-03-26Be more careful when walking the tree looking for a non-empty element,Claudio Jeker
2010-03-03Replace enum rib_state with enum reconf_action since their doing the same.Claudio Jeker
2010-01-13Add support for BGP MPLS VPN aka RFC 4364. This is only the RDE part soClaudio Jeker
2010-01-10Switch rib_dump() to use AID instead of AFs. OK henning@Claudio Jeker
2009-12-01Use an artificial address family id in struct bgpd_addr and almost everywhereClaudio Jeker
2009-10-05Load prefixes into new created RIBs at reload time by walking over theClaudio Jeker
2009-06-29Protect the other rde_send_kroute() with a F_RIB_NOFIB check.Claudio Jeker
2009-06-07First attempt at reload support for RIBs. There is some magic that I doClaudio Jeker
2009-06-04Implement rib_find and add a rib id to struct rde_peer.Claudio Jeker
2009-06-04Add "rde rib <name>" to the config and allow the rde to use these other RIBs.Claudio Jeker
2009-06-03Allocate all rib contextes for tree walks and don't use static stack memory.Claudio Jeker
2009-06-03Initial stab at rib_free() until now unused.Claudio Jeker
2009-06-03Better way to allocate new RIBs.Claudio Jeker