summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2019-07-24rib_dump_terminate() and rib_dump_abort() need to free any possiblyClaudio Jeker
2019-07-24mrt.h only needs to be included by mrt.cSebastian Benoit
2019-07-24Refactor the way RIBs are parsed a bit. No functional change but shouldClaudio Jeker
2019-07-24Cleanup and fix some obvious shortcomings in the mrt dump code. AlsoClaudio Jeker
2019-07-23Use the correct prefix size when writing out AID_VPN_IPv4 and AID_VPN_IPv6Claudio Jeker
2019-07-23Make sure that pfd is not overflown, can not happen unless the mrt countClaudio Jeker
2019-07-23Clean up RIB related kroute code. Introduce a way to flush a FIB tableClaudio Jeker
2019-07-22No need to check first if something is not NULL to assign NULL to it.Claudio Jeker
2019-07-22GC three prototypes whose function have gone long ago.Claudio Jeker
2019-07-19When allocating socketpair() increase their send and receive buffers toClaudio Jeker
2019-07-17Change the Adj-RIB-Out to a per peer set of RB trees. The way RIB dataClaudio Jeker
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-07-02up_generate_default() needs to fake a prefix entry so that the outboundClaudio Jeker
2019-07-01Must update the nexthop state before dropping the nexthop referenceClaudio Jeker
2019-07-01Remove no longer needed local variable oasp.Claudio Jeker
2019-07-01Unify the way object in the RDE are reference counted. The affectedClaudio Jeker
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-28Reset rpending (read pending) indicator for a peer when the peer goes downClaudio Jeker
2019-06-25ibuf_write() returns -1 on error.Sebastian Benoit
2019-06-25cleanup return code checks for the pfkey_*() functions.Sebastian Benoit
2019-06-25Initialize the peer id of peerself to PEER_ID_SELF before adding it toClaudio Jeker
2019-06-24mrt dumps lost communities after the community rewrite.Claudio Jeker
2019-06-22Add a direct pointer from struct prefix to struct pt_entry.Claudio Jeker
2019-06-22Adjust peer id allocation a bit. Use defines for the various specialClaudio Jeker
2019-06-20prefix_add() is only called by path_update() and path_update alreadyClaudio Jeker
2019-06-20prefix_updateall() is only used internally, make it a static function.Claudio Jeker
2019-06-20Change nexthop_update to run the list walk over all prefixes to runClaudio Jeker
2019-06-19With the community rewrite the output code needs to also check theClaudio Jeker
2019-06-17A bit more KNF no binary changeClaudio Jeker
2019-06-17Replace spaces with tab for text indentClaudio Jeker
2019-06-17Cleanup, remove some unneded spaces add some other where needed.Claudio Jeker
2019-06-17Adjust comment.Claudio Jeker
2019-06-17Completley rewrite the community matching and handling code. All communityClaudio Jeker
2019-06-11Fix typo which resulted in a segfault in ebgp multihop setups.Florian Obser
2019-06-07Refactor up_get_nexthop() to work for all AFI/SAFI cases. AdditionallyClaudio Jeker
2019-05-31Exit the attribute loop early if there are no unknown attributes leftClaudio Jeker
2019-05-31Also check the type of a network statement when looking for duplicates.Claudio Jeker
2019-05-29Document the few neighbor options that need a reset (bgpctl nei X clear)Claudio Jeker
2019-05-29Rework pfkey handling a bit. The old remove then add way of inserting md5sigClaudio Jeker
2019-05-27Switch the peer TAILQ to a RB tree indexed by the peer id. This wayClaudio Jeker
2019-05-24Change timer_nextisdue() and timer_nextduein() to take the current timeClaudio Jeker
2019-05-23Add F_CTL_NEIGHBORS a flag only used in bgpctl's mrt parsing code.Claudio Jeker
2019-05-13Don't use a hardcoded list of how attribute are dumped and instead moveClaudio Jeker
2019-05-13fix export default-route.denis
2019-05-09Neither rde_apply_set() nor rde_filter() are called with a NULL state soClaudio Jeker
2019-05-08when passing objects to imsg use the for 'obj, sizeof(*obj)' instead ofClaudio Jeker
2019-05-08Rework the TCP md5sig and IKE handling. Move the pfkey socket to the parentClaudio Jeker
2019-05-06Fix reloading of network statements that have no fixed prefix specification.Claudio Jeker
2019-05-03Adjust some comments that were misleading. Those flags are used by bgpdClaudio Jeker
2019-05-03Bump SET_NAME_LEN to 128 since arouteserver produces names that are moreClaudio Jeker