summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/mrt.c
AgeCommit message (Expand)Author
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
2006-02-08For now dump only stuff from the local-RIB into mrt table dumps.Claudio Jeker
2006-01-05Cache optional BGP attributes (mostly communities) and use a simpleClaudio Jeker
2005-11-29Add a flags field to struct prefix which will be used shortly. Remove the peerClaudio Jeker
2004-12-23KNFHenning Brauer
2004-11-11Store the local v4 and v6 address of a session. For IPv4 sessions the firstClaudio Jeker
2004-09-16imsg API cleanup:Henning Brauer
2004-08-13Fix minor issues with IPv6 dumps and add a function for dumping the RIB tableClaudio Jeker
2004-08-11mrt dumps for cloned sessions did not work because the wrong address was used.Claudio Jeker
2004-08-11buf_write() returns -1 on error and -2 on connection closed. Treat bothClaudio Jeker
2004-08-10Always free message buffer on error.Claudio Jeker
2004-08-10Support IPv6 in message and state transition dumps. Table dumps stillClaudio Jeker
2004-08-06Monster diff to get one step closer to IPv6 support.Claudio Jeker
2004-08-05struct prefix has a pointer to the peer so use it everywhere directly insteadClaudio Jeker