summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
AgeCommit message (Expand)Author
2018-09-05Change the way as_compare() and aspath_match() handle 'neighbor-as'. InsteadClaudio Jeker
2018-09-05Change verification of communities a bit. Move the flag checking first sinceClaudio Jeker
2018-08-29Make it possible to filter the RIB for invalid path which resulted in withdrawnClaudio Jeker
2018-08-29When 'log updates' is enabled make sure that the case of an invalid pathClaudio Jeker
2018-08-09While softreconfig is running set the poll timeout to 0 so that theClaudio Jeker
2018-08-08Update the RIB after a config reload in the background. This moves theClaudio Jeker
2018-08-08hide rib[] internals in new rib_valid() functionSebastian Benoit
2018-08-06Validate the prefix sent in a network delete call before trying to deleteClaudio Jeker
2018-08-06Pass the stale timestamp to path_remove_stale() removes a asp->peer dereferenceClaudio Jeker
2018-08-06Replace two asp->peer with prefix_peer(p) which is the same.Claudio Jeker
2018-08-03Move nexthop and nexthop flags from the rde_aspath to struct prefix.Claudio Jeker
2018-08-03Reshuffle the way bgpd does the softreload after filter changes.Claudio Jeker
2018-08-02Make a few more rde specific functions static.Claudio Jeker
2018-08-02Make free_prefixsets() accept a NULL pointer. Makes it behave more likeClaudio Jeker
2018-08-02This brings the network code more in line with what regular updateClaudio Jeker
2018-07-31There is no longer the need to be careful in rde_softreconfig_in() whenClaudio Jeker
2018-07-27log_info -> log_debug since this is debug noise.Claudio Jeker
2018-07-24Add some debug log messages telling which RIBs and peers get sofreconfiguredClaudio Jeker
2018-07-24Use prefix_nexthop() to access the nexthop instead of dereferencing theClaudio Jeker
2018-07-22Move nexthop into struct filterstate (including nexthop flags) and useClaudio Jeker
2018-07-22Adjust a log message and make sure that the data pointer is never increasedClaudio Jeker
2018-07-20Move the nlri_get_prefix functions to util.c so that bgpctl can use them too.Claudio Jeker
2018-07-20Rename rde_update_get_prefix and friends to nlri_get_prefix. Will be movedClaudio Jeker
2018-07-20Rename rde_update_extract_prefix to extract_prefix and make it static.Claudio Jeker
2018-07-16Use struct filterstate in rde_update_dispatch() and pass it down toClaudio Jeker
2018-07-13Move aspath_verify() and aspath_inflate() into util.c so bgpctl can use them.Claudio Jeker
2018-07-11Bump some of the hash table size to more resonable numbers.Claudio Jeker
2018-07-11On IMSG_CTL_SHOW_RIB_MEM also send back information of some of theClaudio Jeker
2018-07-10rde_update_get_prefix() and friends should also verify the prefixlen.Claudio Jeker
2018-07-10the check "if (nc->rtableid)"Sebastian Benoit
2018-07-10Switch also the aspath in rde_update_dispatch() to one on the stack.Claudio Jeker
2018-07-10compare the right things here: we want to know if the flag has changed.Sebastian Benoit
2018-07-09Move the max prefix checker into rde_update_update() instead of doing itClaudio Jeker
2018-07-09Introduce a struct filterstate and pass this to rde_filter instead ofClaudio Jeker
2018-07-05Simplify rde_softreconfig_in(). There is no need to run the prefix throughClaudio Jeker
2018-06-28Remove rde_aspath pointer from rde_filter since that argument can be fetchedClaudio Jeker
2018-06-28Pass a struct prefix to rde_filter and remove some of the arguments whichClaudio Jeker
2018-06-25Properly start reference counting struct nexthop. This removes the need forClaudio Jeker
2018-06-13Deprecate announce (all|self|none|default-route)Claudio Jeker
2018-02-10Follow rfc8277 more closely and make make sure bgpd is encoding VPNv4Claudio Jeker
2018-02-10Add prefix-sets, lists of prefixes which can be used in place of aSebastian Benoit
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-11-14Inverse logic, issue found by henning@. MPLS VPN is still broken though.Claudio Jeker
2017-09-14fix accounting for received prefixes per neighborPeter Hessler
2017-08-11softreconfig in and out are on by default for ever and machines now haveClaudio Jeker
2017-08-10Fix a comment and line length. Noted by Dennis fondras.Sebastian Benoit
2017-08-10handle extended communities in bgpctl.Sebastian Benoit