summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
AgeCommit message (Expand)Author
2023-04-03Add first step of flowspec support. This adds the bits to establish aClaudio Jeker
2023-03-29Mark the struct aid name as const char * since it points to static memory.Claudio Jeker
2023-03-28More pt_entry cleanup, move structure definitions to rde_prefix.c andClaudio Jeker
2023-03-28Introduce a semaphore to protect intermediate state from different RTRClaudio Jeker
2023-03-28Include the memory size usage of the prefix tree in rde_memstats.Claudio Jeker
2023-03-13Add F_CTL_LEAKED and F_CTL_INELIGIBLE flags for bgpctl to show leakedClaudio Jeker
2023-03-10Compile the output filter rules into per peer filter rules.Claudio Jeker
2023-03-09Implement ASPA support in RTR by following draft-ietf-sidrops-8210bis-10.Claudio Jeker
2023-03-09Major rework of RFC9234 support. My initial interpretation of the RFC wasClaudio Jeker
2023-02-09Instead of relaying struct peer from the SE to the RDE to fill out 10Claudio Jeker
2023-01-24Implement filter and control message matching for ASAP.Claudio Jeker
2023-01-24Implement ASPA validation and reload logic on ASPA set changes.Claudio Jeker
2023-01-17Add the needed logic to load the ASPA table from the rtr process into theClaudio Jeker
2023-01-11Add ASPA validation functions to the RDE.Claudio Jeker
2023-01-04Add a per eBGP session role to the config.Claudio Jeker
2022-11-18Add plumbing for ASPA support. This implements the parser and part of theClaudio Jeker
2022-09-23Don't depend on RTLABEL_LEN but instead define our own ROUTELABEL_LEN.Claudio Jeker
2022-09-21The values for fib_priority are OS dependent. To help portability moveClaudio Jeker
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