summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
AgeCommit message (Expand)Author
2022-08-31Remove IMSG_CTL_SHOW_RIB_HASH and struct rde_hashstats which are noClaudio Jeker
2022-08-29Instead of a global aspath cache copy the aspath attribute per rde_aspathClaudio Jeker
2022-08-26Handle IMSG_SESSION_* messages immediatly when received and do not putClaudio Jeker
2022-08-10More kroute_nexthop cleanup. Mainly use direct assignment instead 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-23Refactor and rename bgpd_filternexthop() to bgpd_oknexthop()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-20Cleanup and fix the network code.Claudio Jeker
2022-07-11Implement send side of RFC7911 ADD-PATHClaudio Jeker
2022-07-07Introduce a decision metric (dmetric) that classifies the relation ofClaudio Jeker
2022-06-30Only have one version of send_rtmsg() which uses struct kroute_full().Claudio Jeker
2022-06-27Add support for RFC 9234 - Route Leak Prevention and Detection Using RolesClaudio Jeker
2022-06-23Move struct kif from bgpd.h to kroute.cClaudio Jeker
2022-06-23Replace struct kroute_node and kroute6_node with direct versions ofClaudio Jeker
2022-06-22Move struct kroute and kroute6 to kroute.c and out of bgpd.hClaudio Jeker
2022-06-22Use struct kroute_full in bgpd_filternexthop() so this code becomes a lotClaudio Jeker
2022-06-22Use struct kroute_full instead of a union of struct kroute & kroute6.Claudio Jeker
2022-06-19Implement a applymask() function that works on bgpd_addr structs.Claudio Jeker
2022-06-16Remove prefixlen2mask() uasge outside of util.c. Instead use inet4applymask().Claudio Jeker
2022-06-15Do not use defines from pfkeyv2.h in portable code.Claudio Jeker
2022-06-15Rename F_BGPD_INSERTED to F_BGPD and use F_BGPD_INSERTED as a flag thatClaudio Jeker
2022-06-09Remove the rdomain / rtableid passed to some kroute functions.Claudio Jeker
2022-06-07Retire F_RTLABEL it was not used for anything.Claudio Jeker
2022-06-05Rework how fib_priority is handled.Claudio Jeker
2022-05-31Implement a max communities filter matchClaudio Jeker
2022-05-25Fix non-transitive extended community handling.Claudio Jeker
2022-05-23whitespaces found when I went checking for something elseTheo de Raadt
2022-03-21Rename F_CTL_ACTIVE and F_PREF_ACTIVE to the more correctClaudio Jeker
2022-03-03Remove the labelid from struct kroute_full. It was never really used.Claudio Jeker
2022-02-23Make it possible to bind and connect to non-default ports. This is mainlyClaudio Jeker
2022-02-06Switch from u_intX_t types to stdint.h uintX_t. Mostly mechanical withClaudio Jeker
2021-09-01Implement roa-set data expiry. Every prefix in a roa-set can specify anClaudio Jeker
2021-08-09Implement reception of multiple paths per BGP session. This is oneClaudio Jeker
2021-07-27Add the needed MRT dump defines for RFC8050 support. This will be usedClaudio Jeker
2021-06-17Implement RFC 7313 enhanced route refresh. It is off by default andClaudio Jeker
2021-05-27bgpd(8) will soon support ADD-PATH (RFC7911) and enhanced route refreshClaudio Jeker
2021-03-02Introduce 'rde evaluate all' a mode to work around path hiding in IXPClaudio Jeker
2021-02-16Add RTR support to OpenBGPD. Add basic support for the protocol.Claudio Jeker
2021-01-25RFC6472 discourages the use of AS_SET segements in ASPATH attributes.Claudio Jeker
2021-01-18Change struct bgpd_addr VPN encoding. Instead of including two almostClaudio Jeker
2021-01-04Use log_sockaddr() in log_addr() to print a struct bgpd_addr. This wayClaudio Jeker
2020-12-30Implement IMSG_CTL_SHOW_SET to get information about roa-set, as-sets andClaudio Jeker
2020-12-29In preparation for RTR support change the representation of the roa-setClaudio Jeker
2020-12-23BGP uses KEEPALIVE packets and the HOLD timer to detect stalled sessions.Claudio Jeker
2020-11-05Kill bgpd_process, nothing uses it anymore. Instead pass the processClaudio Jeker
2020-11-05Refactor the filterset handling of nexthops. Instead of depending onClaudio Jeker
2020-05-10In bgpctl argument parser, re-arrange 'reason' parsing ('nei action [reason]')Theo de Raadt