summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/mrt.c
AgeCommit message (Expand)Author
2019-08-08Use O_CLOEXEC or SOCK_CLOEXEC on every open or socket call. Even thoughClaudio Jeker
2019-07-24Cleanup and fix some obvious shortcomings in the mrt dump code. AlsoClaudio Jeker
2019-07-17Change the Adj-RIB-Out to a per peer set of RB trees. The way RIB dataClaudio Jeker
2019-06-25ibuf_write() returns -1 on error.Sebastian Benoit
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-03-07Do a better job at cleaning up the config on shutdown. Remove bits thatClaudio Jeker
2019-02-27Convert the remote and local addresses in struct peer to be bgpd_addrsClaudio 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-01-21Use Adj-RIB-Out to push UPDATE messages to peers instead of having anotherClaudio Jeker
2018-12-30add support for IPv6 VPN routesdenis
2018-10-24Major refactoring of the RIB handling code. Mainly change how the RIB isClaudio Jeker
2018-07-24Use prefix_nexthop() to access the nexthop instead of dereferencing theClaudio Jeker
2018-07-17Switch to MSG_PROTOCOL_BGP4MP_ET formats for update and state mrt messages.Claudio Jeker
2018-02-05Change struct prefix a bit. Make the aspath pointer opaque and remove theClaudio Jeker
2017-05-27this expects 2byte ASN, so use that, instead of an asn that may or may not fitPeter Hessler
2017-01-24sync log.c from relayd et al to bgpd.Sebastian Benoit
2015-12-30now that ibuf_free() checks for null, we can remove the check here.Sebastian Benoit
2015-12-05cleanup some log messages with wrong function names etc.Sebastian Benoit
2015-10-27calloc -> malloc when the memory is immediately overwritten with memcpy.mmcc
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2014-04-19Try to be clear why struct mrt_config nodes are allocated andClaudio Jeker
2013-11-13from claudioSebastian Benoit
2013-05-30When removing "dump (all|updates)" from bgpd.conf and reloading, tellFlorian Obser
2013-05-20Call pt_getaddr() a bit earlier so that addr.aid is available when firstClaudio Jeker
2012-11-15buf_* -> ibuf_* in various log entries to reflect correct function names.Kenneth R Westerback
2011-11-06Add a #include that's currently picked up via another header that'sPhilip Guenthe
2011-09-17Implement new mrt table dump format as specified in draft-ietf-grow-mrt.Claudio Jeker
2010-09-02remove trailing spaces and tabs from source code; no binary changesIgor Sobrado
2010-06-04It is actually possible to dump IPv6 tables with "dump table" and notClaudio Jeker
2010-05-26Rename some imsg bits to make namespace collisions less likely buf toNicholas Marriott
2010-04-22Depending on capa.neg.as4byte (bgp session is using 4-byte AS numberClaudio Jeker
2009-12-01Use an artificial address family id in struct bgpd_addr and almost everywhereClaudio Jeker
2009-10-26Better error handling when doing mrt dumps (e.g. when there is no more spaceClaudio Jeker
2009-07-12Remove a semicolon at the end of an if statement so theJonathan Gray
2009-06-29Unfuck mrt table dumps and plug a memory leak while there.Claudio Jeker
2009-06-05Change the way we do mrt dumps in the rde (from the retarded only one dumpClaudio Jeker
2009-06-04Make mrt understand alternate RIB plus remove some other static rib references.Claudio Jeker
2009-05-17Rework most of the RDE to allow multiple RIBs. This is mostly preparationClaudio Jeker
2009-04-29de-static some functions. Helps handling the monster change I'm working on.Claudio Jeker
2009-03-19First big chunk of mrt rewrite. Simplifies code hopefully and fixes tableClaudio Jeker
2009-03-18Correctly check for MRT_TABLE_DUMP_MP and don't send the config to the SE.Claudio Jeker
2009-03-13Next step in mrt cleanup. Switch buf_write to a smarter version of itself.Claudio Jeker
2009-03-13Move mrt code over to use the msgbuf way of queuing buffers instead of rollingClaudio Jeker
2009-02-19Use a bob sized header for IPv6 not the default pedro sized one.Claudio Jeker
2007-04-23Make bgpd 4-byte AS compatible. All internal representations of AS numbersClaudio Jeker
2007-02-12Switch address and AS fields in mrt dump messages for incoming traffic soClaudio Jeker
2007-02-12Fix some log_warn() messages.Claudio Jeker