summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
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
2022-07-23Refactor and rename bgpd_filternexthop() to bgpd_oknexthop()Claudio Jeker
2022-07-23There is no need to set kf.flags to F_KERNEL here.Claudio Jeker
2022-07-22Revert previous commit. The RTP_MINE checks on struct kroute_full areClaudio Jeker
2022-07-22Retire the F_KERNEL flag, it got superseded by route priority and RTP_MINE.Claudio Jeker
2022-07-21Relax the config of add-path send and rde evaluate allClaudio Jeker
2022-07-21Make kr_redistribute() and kroute_insert() AID independent and useClaudio Jeker
2022-07-20Cleanup and fix the network code.Claudio Jeker
2022-07-19Do a minimal check that the passed in option is inside the ASPATH segment.Claudio Jeker
2022-07-19Use kf for all struct kroute_full variables. Makes code more consistent.Claudio Jeker
2022-07-18use syntax which more acceptable to older compilersTheo de Raadt
2022-07-18Remove warning messages that add nothing in the situation they occure.Claudio Jeker
2022-07-18Do not fatalx() when calculating the dmetric and the result is negative.Claudio Jeker