summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2019-02-21Media and link states are highly OS dependent, to make porting easierClaudio Jeker
2019-02-20Forgot to set the sockaddr length field which is mandatory on the pfkey socket.Claudio Jeker
2019-02-19Convert some (u_)int64_t to (unsigned) long long. Makes portability a bitClaudio Jeker
2019-02-18Add stdlib.h since bsearch and strtoul need it.Claudio Jeker
2019-02-18Initialize type and subtype because modern gcc complains about it.Claudio Jeker
2019-02-18Drop netmpls/mpls.h include, not needed here.Claudio Jeker
2019-02-18Use (unsigned) long long instead of (u_)int64_t since that drops theClaudio Jeker
2019-02-18For portability use a (unsigned long long) cast for %llu / %llx formatsClaudio Jeker
2019-02-18Move get_mpe_config() to kroute.c so that config.c does not depend onClaudio Jeker
2019-02-18Do not depend on the length field of struct sockaddr instead pass theClaudio Jeker
2019-02-15Move the depend on state calculation from session.c to kroute.c. ThisClaudio Jeker
2019-02-15Remove stray ',' at end of a yacc rule. Noticed by bison.Claudio Jeker
2019-02-15Use the posix version of betoh64() which is spelled be64toh() this is moreClaudio Jeker
2019-02-15Another missing endian.hClaudio Jeker
2019-02-15Needs endian.h because of betoh64()Claudio Jeker
2019-02-14mrt_timeout() can send out imsgs so better call it before doing the set_pollfdClaudio Jeker
2019-02-14mrt_timeout should just return -1 when there is no timeout set insteadClaudio Jeker
2019-02-14Revert part of last commit, this stuff is unrelated.Claudio Jeker
2019-02-14Use -1 instead of the less portable INFTIM for the poll timeout.Claudio Jeker
2019-02-14Use the portable SIZE_MAX instead of SIZE_T_MAXClaudio Jeker
2019-02-13(unsigned) means (unsigned int) which on ptrdiff_t or size_t or otherTheo de Raadt
2019-02-12Handle the abnormal case of not having any neighbors defined a bit betterClaudio Jeker
2019-02-12Move the yyerror in case get_mpe_config fails. If bgpd -n is used justClaudio Jeker
2019-02-12Remove extra newline when printing vpn blocksClaudio Jeker
2019-02-12Remove log_debug which is no longer neededClaudio Jeker
2019-02-11spelling and Xr fixes;Jason McIntyre
2019-02-11The definition of VPNs in bgpd was never super elegant. The 'depend onClaudio Jeker
2019-02-04spelling;Jason McIntyre
2019-02-04Implement as-override, a feature where the neighbor AS is replaced by theClaudio Jeker
2019-01-21Use Adj-RIB-Out to push UPDATE messages to peers instead of having anotherClaudio Jeker
2019-01-20Support group descriptions in control messages that accept a neighborClaudio Jeker
2019-01-20explicitly check if the session engine exited by comparing the pidBrent Cook
2019-01-18Don't store the mpe information in struct ktable but instead pass theClaudio Jeker
2019-01-05Correctly account for the memory allocated when creating a set.Claudio Jeker
2018-12-31unbreak tree; found the hard way by ottoFlorian Obser
2018-12-30add support for IPv6 VPN routesdenis
2018-12-30remove unused F_ANN_DYNAMIC/F_PREFIX_ANNOUNCED handling in network_delete()Sebastian Benoit
2018-12-28move kroute_find() call laterdenis
2018-12-28set conf.capabilities.mp to 0 by defaultdenis
2018-12-28report right function name in error messagedenis
2018-12-27Check if a control socket or address is already in use befor using it.remi
2018-12-26unbreak VPN routes installation into FIBdenis
2018-12-22bgpctl can cause bgpd to do a lot of work (e.g. dumping all of the RIB)Claudio Jeker
2018-12-19Fold ext-communities into filter_community so that bgpd can matchClaudio Jeker
2018-12-17path_empty() is not a function and does not need a prototype.Claudio Jeker
2018-12-11Refactor aspath code a bit. Move cached source_as (for origin validation)Claudio Jeker
2018-12-06Be more strict when converting a netmask to prefixlen in mask2prefixlen6.Claudio Jeker
2018-12-06Implement a simple ruleset optimizer. All it does is merge filter rules thatClaudio Jeker
2018-12-04Since a while announcements added by bgpctl will overwrite the ones fromClaudio Jeker
2018-11-29In peer_down() we have to flush the Adj-RIB-Out. As soon as the peer stateClaudio Jeker