summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_rib.c
AgeCommit message (Expand)Author
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
2009-06-03Make prefix_destroy more generic and use it in prefix_remove this is possibleClaudio Jeker
2009-06-02Move the rest of the rib dump functions into rde_rib.c where it belongs.Claudio Jeker
2009-06-01Use only one list to queue the dump contextes on. Use the list in structClaudio Jeker
2009-06-01Do not call the upcall twice on some prefixes. Move the upcall back toClaudio Jeker
2009-06-01Holy simplification batman. Use the per rib entry flags to lock entriesClaudio Jeker
2009-06-01Instead of storing a pointer to the RIB head in the RIB element use thatClaudio Jeker
2009-05-27Move update and withdraw code into own functions to simplify the necessaryClaudio Jeker
2009-05-21Make it possible to turn off the decision process per RIB. This is mainlyClaudio Jeker
2009-05-17F_LOCAL and F_ORIGINAL are gone. The Adj-Rib-In is now a distinct tree.Claudio Jeker
2009-05-17rib_dump_r needs to check the af of the prefix because there is no rib perClaudio Jeker
2009-05-17Rework most of the RDE to allow multiple RIBs. This is mostly preparationClaudio Jeker
2009-04-23Rework the way we handle announced networks. Instead of two freak rde_peersClaudio Jeker
2008-11-21Track nexthops when the underlying route is changing. Until now true nexthopsClaudio Jeker
2007-06-01Remove a stupid wrapper function that does nothing more then calling anotherClaudio Jeker
2007-05-11Various spelling fixes from Stuart Henderson.Claudio Jeker
2007-04-02Typo.Claudio Jeker
2007-02-22KNFHenning Brauer
2007-01-11Correct logic in path_update() so that moves are only done when needed.Claudio Jeker
2006-12-12Change nexthop_delete() to be more obvious what's going on. No functionalClaudio Jeker
2006-12-12Even IPv6 has a prefixlen limit. This ensures that we do not overflow theClaudio Jeker
2006-12-12In path_remove() remove only local prefixes from the pftable.Claudio Jeker
2006-06-01Copy the pftableid in path_copy and correctly do the ref/unref dance inClaudio Jeker
2006-05-28Even better nexthop delete behaviour. Do not delete nexthop if they are usedClaudio Jeker
2006-05-28Preload and pin nexthop used in filtersets so the are validiated when used.Claudio Jeker
2006-04-04add "set nexthop self", force nexthop to be set to own address even with IBGPHenning Brauer
2006-03-15In nexthop_compare() if the two passed pointers point to the same objectClaudio Jeker
2006-01-24Finally start using the Adj-RIB-In. The most complex part is the modificationClaudio Jeker
2006-01-24It is possible that a prefix is part of two RIBs in that case prefix_remove()Claudio Jeker
2006-01-24KNFHenning Brauer
2006-01-20Proactively fix prefix counters. Currently only F_LOCAL prefixes exist butClaudio Jeker
2006-01-20Pass flags to prefix_move() so that a prefix that has both F_ORIGINAL andClaudio Jeker
2006-01-14Small step in supporting the Adj-RIB-In additionaly to the Local-RIB.Claudio Jeker
2006-01-12Copy AS path in rde_filter() on demand instead of doing it before callingClaudio Jeker
2006-01-09Ups. Inverse logic.Claudio Jeker
2006-01-05Kill ENSURE(), remove ensure.h, say bye bye to fatal_ensure() andClaudio Jeker
2006-01-05Cache optional BGP attributes (mostly communities) and use a simpleClaudio Jeker
2006-01-04Fix a mem leak of the unusual kind. In some cases a new aspath was addedClaudio Jeker
2006-01-03Track some (memory) statistics in the RDE. Accessible via bgpctl.Claudio Jeker
2005-12-30Use sys/hash.h instead of own built functions that work similar.Claudio Jeker
2005-11-29Add a flags field to struct prefix which will be used shortly. Remove the peerClaudio Jeker
2005-07-29Add another piece to the IPv6 puzzle. This time code to generate MP updates.Claudio Jeker
2005-07-01Make the pftable filter set use the name2id "cache" like the route labels.Claudio Jeker
2005-06-29rtlabel support via filter sets. Just use "set rtlabel foobar" in filtersClaudio Jeker