summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2022-10-18Initalize last_updown in init_peer() so that it is reported correctlyClaudio Jeker
2022-10-18Fix some spelling errorsJob Snijders
2022-10-12use correct type with sizeofJonathan Gray
2022-09-24OpenBGPD 7.7Claudio Jeker
2022-09-23Don't depend on RTLABEL_LEN but instead define our own ROUTELABEL_LEN.Claudio Jeker
2022-09-23Implement a special update generator for add-path send all.Claudio Jeker
2022-09-21The values for fib_priority are OS dependent. To help portability moveClaudio Jeker
2022-09-21Adjust pathid_assign() to be much faster in the common case.Claudio Jeker
2022-09-15Make kroute_matchgw() also work with connected routes.Claudio Jeker
2022-09-12Bump version for upcoming -portable releaseClaudio Jeker
2022-09-12Introduce tree walkers that only walk a subtree of the RIB.Claudio Jeker
2022-09-09Implement the F_SHORTER filter by doing explicit lookups for each possibleClaudio Jeker
2022-09-01Switch the rde_peer hashtable and peer list to a single RB tree.Claudio Jeker
2022-09-01This code no longer needs siphash.h and also cleanup some leftoverClaudio Jeker
2022-08-31Remove IMSG_CTL_SHOW_RIB_HASH and struct rde_hashstats which are noClaudio Jeker
2022-08-31Switch the generic attribute cache to an RB tree.Claudio Jeker
2022-08-31Make sure that only one roa softreconfig runner is run at any time.Claudio Jeker
2022-08-30Switch nexthop hash to a RB tree.Claudio Jeker
2022-08-30Add missing #include <sys/queue.h>Claudio Jeker
2022-08-30Reshuffle and cleanup the includes a little bit.Claudio Jeker
2022-08-29Instead of a global aspath cache copy the aspath attribute per rde_aspathClaudio Jeker
2022-08-29Use fatal("%s", __func__); instead of fatal("function_name");Claudio Jeker
2022-08-29Switch the DB of communities collections to a RB tree instead of anClaudio Jeker
2022-08-29Switch rde_aspath to a RB tree instead of a hash table.Claudio Jeker
2022-08-29Export pending update and withdraw as part of struct peer_stats.Claudio Jeker
2022-08-26Handle IMSG_SESSION_* messages immediatly when received and do not putClaudio Jeker
2022-08-25Connected routes use the BGP exit nexthop while other routes need to useClaudio Jeker
2022-08-24Put the 'connection from non-peer' log message behind a verbose logging check.Claudio Jeker
2022-08-19Fix nexthop lookup for connected routes.Claudio Jeker
2022-08-18In kroute_insert() fix the check for multipath routes. Use a helper variableClaudio Jeker
2022-08-18There is no need to pass the fd to send_rtmsg(), the fd is always theClaudio Jeker
2022-08-17Convert bzero() to memset(), bcmp() to memcmp() and bcopy() to memcpy().Claudio Jeker
2022-08-17Just use struct kif and kill struct kif_node. No need for this extraClaudio Jeker
2022-08-17Just 2 newline changes.Claudio Jeker
2022-08-17Add default case to switch to silence a warning seen with gcc.Claudio Jeker
2022-08-16Do not send kroutes from the RDE to the FIB with the true_nexthop butClaudio Jeker
2022-08-10Reverse NULL check in krVPN6_change()Theo Buehler
2022-08-10More kroute_nexthop cleanup. Mainly use direct assignment instead ofClaudio Jeker
2022-08-10Fix logic in network_dump_upcall()Claudio Jeker
2022-08-03Add comment that NEXTHOP_FLAPPED is only set on oldstate of a nexthop.Claudio Jeker
2022-08-03Fix a modify after free error in kroute_remove()Claudio Jeker
2022-08-03Fix possible NULL dereference in knexthop_validate().Claudio Jeker
2022-07-28Rework kroute_remove(), it uses a struct kroute_full and does most ofClaudio Jeker
2022-07-28whitespace found during a read-thru; ok claudioTheo de Raadt
2022-07-28Remove F_DOWN, it is no longer used and reshuffle the other flags a bitClaudio Jeker
2022-07-27There is no need to track both F_BGPD and F_KERNEL anymore.Claudio Jeker
2022-07-26No need to check RB_REMOVE() return value if kif is not NULL.Claudio Jeker
2022-07-26Missing indirection. This version compiles.Claudio Jeker
2022-07-26Refactor nexthop tracking and remove all the kif_kr code. There is noClaudio Jeker
2022-07-25Properly handle nexthop state changes in the decision processClaudio Jeker