summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2018-08-10Another place where we should handle AS_SET better. aspath_lenmatch()Claudio Jeker
2018-08-10Make the AS_SET handling for source-as even simpler. It is enough to onlyClaudio Jeker
2018-08-09Improve handling of source-as when an AS_SET is rightmost. In that caseClaudio Jeker
2018-08-09While softreconfig is running set the poll timeout to 0 so that theClaudio Jeker
2018-08-09Make two very internal functions static. They are used to merge anClaudio Jeker
2018-08-08Move struct wire_largecommunity to rde_attr.c since it is only used internallyClaudio Jeker
2018-08-08Merge getcommunity() and getlargecommunity() into one function thatClaudio Jeker
2018-08-08Make the (non-)transitive handling of ext communities a bit more obvious.Claudio Jeker
2018-08-08One ; too muchClaudio 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-06Assign peer1 and peer2 early on and use them everywhere instead of aspX->peer.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-02Split out the rule skipping logic into own function and by doing so ensureClaudio 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-31Reshuffle order in struct rde_peer a bit. No functional change.Claudio 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-22Add more information to if_change() debug log using the new interface helperClaudio Jeker
2018-07-22Move functions to print link status etc. to util.c so that bgpd can use themClaudio 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-17Switch to MSG_PROTOCOL_BGP4MP_ET formats for update and state mrt messages.Claudio Jeker
2018-07-16Use struct filterstate in rde_update_dispatch() and pass it down toClaudio Jeker
2018-07-14get rid of two more implicit ktable_get with rdomain 0.Sebastian Benoit
2018-07-13Move aspath_verify() and aspath_inflate() into util.c so bgpctl can use them.Claudio Jeker
2018-07-12store and print the rdomain of the interfaces we see.Sebastian Benoit
2018-07-11The routing table bgpd runs in needs to be a routing domain.Sebastian Benoit
2018-07-11improve the path hash function (instead of just hashing the aspath putClaudio 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-11add option "network ... priority number" to announce prefixes from theSebastian Benoit
2018-07-10rde_update_get_prefix() and friends should also verify the prefixlen.Claudio Jeker
2018-07-10__func__ log statements and some whitespace knfSebastian Benoit
2018-07-10You can run multiple copies of bgpd in seperate rdomains.Sebastian Benoit
2018-07-10the check "if (nc->rtableid)"Sebastian Benoit
2018-07-10dont let rtable number overflow,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