summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
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-20No need to calloc() others if others_len is 0. The 0 malloc() does not hurtClaudio Jeker
2006-01-20Doh. > not < and attr_compare() starts to work correctly. OK henning@Claudio Jeker
2006-01-20Don't leak a aspath in network_add(). path_update() copies the aspath soClaudio Jeker
2006-01-14Small step in supporting the Adj-RIB-In additionaly to the Local-RIB.Claudio Jeker
2006-01-13Simplify evaluation process. Instead of checking the reachability of a prefixClaudio Jeker
2006-01-12Copy AS path in rde_filter() on demand instead of doing it before callingClaudio Jeker
2006-01-10The attributes cache broke the set community filterset because community_set()Claudio Jeker
2006-01-10In attr_diff() compare the attributes flags too. They may be different andClaudio Jeker
2006-01-09Ups. Inverse logic.Claudio Jeker
2006-01-07Add COMMUNITY_NO_PEER to the list of known wellknown communities else itClaudio 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-04Simplify shutdown function and sprinkle some rde_quit checks into functionsClaudio Jeker
2006-01-04If the decision process is turned of but a prefix is still active decrease theClaudio Jeker
2006-01-04Correctly count the number of allocated BGP attributes. Needs a own counter.Claudio Jeker
2006-01-03Track some (memory) statistics in the RDE. Accessible via bgpctl.Claudio Jeker
2006-01-03Move functions shared with bgpctl into new file util.c. Simplifies theClaudio Jeker
2006-01-03Plug some mem leaks.Claudio Jeker
2006-01-03Kill WFLAG macro. Should have been included in the rde_attr_parse() merge.Claudio Jeker
2006-01-03Move the signal handler flags check between the poll() call and the pollClaudio Jeker
2006-01-03No need to check the poll fds in case of EINTR. OK dlg@Claudio Jeker
2005-12-30There is no attr_mp_nexthop() function, remove the prototype.Claudio Jeker
2005-12-30Remove unused attr_optlen()Claudio Jeker
2005-12-30Use sys/hash.h instead of own built functions that work similar.Claudio Jeker
2005-12-30Merge rde_attr_error() into rde_attr_parse() it is no longer necessary toClaudio Jeker
2005-12-24bzero the pfd array before setting it up and calling poll because on errorClaudio Jeker
2005-12-24Don't use bzero(&pfd, sizeof(pfd)); pfd is an array so bzero(pfd, sizeof(pfd));Claudio Jeker
2005-12-19Better English in comment.Claudio Jeker
2005-12-14Replace strlcpy() with memcpy() in the sockaddr_dl handling. sdl_data isClaudio Jeker
2005-12-09Unkown attributes need to be optional, if not issue a "unknown wellknownClaudio Jeker
2005-12-08Missing #include <limits.h>Claudio Jeker
2005-12-08Missing ntohs() in error path. Found via regress test.Claudio Jeker
2005-12-08When parsing open messages enforce that the optional parameter length isClaudio Jeker
2005-11-30No need to filter incoming withdraws just try to remove everything form theClaudio Jeker
2005-11-29Add a flags field to struct prefix which will be used shortly. Remove the peerClaudio Jeker
2005-11-29even more spaces and tabs.Claudio Jeker
2005-11-29superfluous ; OK henning@Claudio Jeker
2005-11-02Mark some additional function arguments as const.Claudio Jeker
2005-11-02Reorder and comment reconfigure(). Makes more sense so.Claudio Jeker
2005-11-02Use the new rde_filter_equal() with dir = DIR_OUT to check if a soft-Claudio Jeker
2005-11-02Implement filterset_equal() and rde_filter_equal(). Both return 1 ifClaudio Jeker
2005-11-01Sort filter_set with equal type as well. This affects communityClaudio Jeker
2005-11-01Relative metrics should be stored in relative and not metric. The oneClaudio Jeker
2005-11-01Make sure, that the list of filter_sets is ordered. Makes comparing easier.Claudio Jeker
2005-11-01Softreconfig out support. On config reload filter changes of outgoing rulesClaudio Jeker
2005-11-01Major cleanup in rde_update.c. Merge equal code used in different placesClaudio Jeker
2005-11-01Switch from the per peer filter set list to a filter-only solution.Claudio Jeker