summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
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
2022-07-14More IPv6 scope_id fixes, now hopefully scope_id should be handledClaudio Jeker
2022-07-14Time to bump versionClaudio Jeker
2022-07-12Zap trailing whitespace on one line to appease mandoc -TlintTheo Buehler
2022-07-12Document announce add-path sendClaudio Jeker
2022-07-11Implement send side of RFC7911 ADD-PATHClaudio Jeker
2022-07-11Properly roll back in the add-path send case in up_dump_prefix()Claudio Jeker
2022-07-11Put the RFC9234 open policy handing in its own functionClaudio Jeker
2022-07-11When dumping prefixes for bgpctl just use prefix_eligible() to know ifClaudio Jeker
2022-07-11s/can not/cannot/ in comments. No functional change.Claudio Jeker
2022-07-11Use newbest and oldbest instead of xp and active as variable namesClaudio Jeker
2022-07-08Pass path_id_tx to the Adj-RIB-OutClaudio Jeker
2022-07-08Assign a local path_id to all prefixesClaudio Jeker
2022-07-07Rework prefix_insert() and prefix_remove() to properly recalculate dmetricClaudio Jeker
2022-07-07Skip dmetric related code for the Adj-RIB-Out since there is no decisionClaudio Jeker
2022-07-07Properly break out of the loop setting the PREF flags.Claudio Jeker
2022-07-07Introduce a decision metric (dmetric) that classifies the relation ofClaudio Jeker