summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2019-03-15Set all default values in init_config in parse.y and remove the specialClaudio Jeker
2019-03-13Swap arguments of rde_dump_match_peer() to match peer_matched() in session.cClaudio Jeker
2019-03-09Unbreak 'announce inet none' which was actually clearing way too much.Claudio Jeker
2019-03-07Do a better job at cleaning up the config on shutdown. Remove bits thatClaudio Jeker
2019-03-01Need to be more careful in kr_net_redist_add() when adding an alreadyClaudio Jeker
2019-02-27Convert the remote and local addresses in struct peer to be bgpd_addrsClaudio Jeker
2019-02-27Fix export none. none became a keyword some time ago and so this broke.Claudio Jeker
2019-02-26Add missing break; in case statement and while there check that theClaudio Jeker
2019-02-26Some betoh64 sneaked in again, change to be64toh to be posix compliant.Claudio Jeker
2019-02-26Add support for '*', local-as and neighbor-as for ext-community matchingClaudio Jeker
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