summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
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
2018-07-10Actually clear the right thing in rib_free()Sebastian Benoit
2018-07-09Wrong function name in error messageClaudio Jeker
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-09No need to mention which memory allocation entry point failed (malloc,Kenneth R Westerback
2018-07-08Be consistent in warn() and log_warn() usage whenKenneth R Westerback
2018-07-05reword;Jason McIntyre
2018-07-05Simplify rde_softreconfig_in(). There is no need to run the prefix throughClaudio Jeker
2018-06-29Prepare the ground for allowing temporary aspath object living on the stack.Claudio Jeker
2018-06-28Remove rde_aspath pointer from rde_filter since that argument can be fetchedClaudio Jeker
2018-06-28Instead of passing the rde_aspath to nexthop_modify() pass pointers toClaudio Jeker
2018-06-28Pass a struct prefix to rde_filter and remove some of the arguments whichClaudio Jeker
2018-06-27Just put the aspath and the peer directly into the prefix struct.Claudio Jeker
2018-06-27Move rde_test_prefix() to a place where it makes more sense. No functionalClaudio Jeker
2018-06-26Wrong function name in error message.Claudio Jeker
2018-06-25Properly start reference counting struct nexthop. This removes the need forClaudio Jeker
2018-06-21Use correct function name in fatalx()Claudio Jeker
2018-06-21Nothing is using the active and prefix count in struct rde_aspath.Claudio Jeker
2018-06-18remove the SECTIONS header, since a one line DESCRIPTION is a bit silly;Jason McIntyre
2018-06-13separate arg name and punctuation with whitespace;Jason McIntyre
2018-06-13Provide backwards compatibility for some of the announce directivesjob
2018-06-13Deprecate announce (all|self|none|default-route)Claudio Jeker
2018-06-11Fix an off-by-one line count when using include statements.denis
2018-04-26Plug leak in error case of the common 'varset' implementations.Kenneth R Westerback
2018-04-02aspath_verify() can not call aspath_extract() since this function only worksClaudio Jeker
2018-02-10less macro; ok bennoJason McIntyre