summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_rib.c
AgeCommit message (Expand)Author
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
2005-04-12Introduce a per prefix weight. The weight is used to tip prefixes with equalClaudio Jeker
2005-03-26Move the path_empty()/path_destroy() check out of the inner for-loop.Claudio Jeker
2005-03-11Finally commit the transparent-as and nexthop no-modify stuff I wrote on theClaudio Jeker
2004-11-23Switch from a single filter_set to a linked list of sets. With this changeClaudio Jeker
2004-11-19Only unlink and link the asp in nexthop_modify if the asp is linked.Claudio Jeker
2004-11-10prefix_write() works also for IPv6. OK henning@Claudio Jeker
2004-11-10Remove no longer needed code. OK henning@Claudio Jeker
2004-08-17Always update prefix timestamp even if nothing has changed. Without thisClaudio Jeker
2004-08-13Fix minor issues with IPv6 dumps and add a function for dumping the RIB tableClaudio Jeker
2004-08-12Just ignore RFC2545 and the silly idea of using link local addresses asClaudio Jeker
2004-08-10switch nexthop in struct filter_set form struct in_addr to struct bgpd_addrClaudio Jeker
2004-08-06Monster diff to get one step closer to IPv6 support.Claudio Jeker
2004-08-05Get rid of some statistics stuff that is no longer needed but helped in theClaudio Jeker
2004-08-05Cleanup aspath specific functions and api. Mainly switch to a refcnt basedClaudio Jeker
2004-08-05struct prefix has a pointer to the peer so use it everywhere directly insteadClaudio Jeker
2004-08-05rename and move prefix_equal() to prefix_compare() which returns -1, 0, 1Claudio Jeker
2004-07-05fix a few KNF falloutsHenning Brauer
2004-06-22Cleanup. jajaja henning@Claudio Jeker
2004-06-22Make the RDE IPv6 ready missing is the message handling. The internalClaudio Jeker
2004-06-22introduce kroute6, which will be used to build a seperate v6 tableHenning Brauer
2004-05-08KNFHenning Brauer
2004-05-07add a filter option to dump prefixes learned in UPDATEs into a PF table,Damien Miller
2004-04-30remove MAX_PREFIX_PER_AS debug gunk, claudio djm okHenning Brauer
2004-04-28Pointer that are used later in the code should be initalized. Fixes a crashClaudio Jeker
2004-03-11Shutdown the RDE cleanly on exit. Plug some memleaks. OK henning@Claudio Jeker
2004-03-05Plug some memory leaks in rde. Based on a patch by Patrick Latifi.Claudio Jeker
2004-03-01Make it possible to diable the decision process. This is a feature only usefulClaudio Jeker
2004-02-27remove unneded peer pointer in struct prefix and change a in_addr_t toClaudio Jeker