summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/mrt.c
AgeCommit message (Expand)Author
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
2004-08-03Make mrt dumps mrt compliant. I already fixed one of those but this oneClaudio Jeker
2004-07-28The hole dance to close a mrt file after fd passing in the parent is notClaudio Jeker
2004-07-07Stupid typo that may cause a lot of pain. Found by Patrick Latifi. Thanks.Claudio Jeker
2004-07-07Bad interpretation of the oh so well documented mrt spec. Found byClaudio Jeker
2004-07-03Switch mrt dumping to fd passing. This gives some speed up when extensiveClaudio Jeker
2004-06-22Make the RDE IPv6 ready missing is the message handling. The internalClaudio Jeker
2004-06-20at least somewhat consistently name the TAILQ_ENTRYs... this confused meHenning Brauer
2004-04-29sock -> fd; ok henningTheo de Raadt
2004-04-28spacingTheo de Raadt
2004-02-27remove unneded peer pointer in struct prefix and change a in_addr_t toClaudio Jeker
2004-02-25Rewrite some parts of the mrt dump handling. It is no longer possible toClaudio Jeker
2004-02-19Make the code more portable. Add some missing header files and make the useClaudio Jeker
2004-02-02* use macro expansion instead of hardcoding 'buf'.Henning Brauer
2004-01-27use a struct bgpd_addr instead of sockaddr_in for peer_config->local_addr andHenning Brauer
2004-01-22use log_warnx and log_info. reclassify a few messages in the process and fixHenning Brauer
2004-01-11Move all struct in_addr to either struct bgpd_addr or in_addr_t whicheverClaudio Jeker
2004-01-11The buffer changes produced some fallout in the mrt code.Claudio Jeker
2004-01-10RDE update generation. First we queue all updates and withdraws on a perClaudio Jeker
2004-01-07Duh. Fixing stupid braino. OK henning@Claudio Jeker
2004-01-06Free buf on error and correct of by one in strlcpy.Claudio Jeker
2004-01-062004 OK henning@Claudio Jeker
2004-01-06Fix reopening of dump files.Claudio Jeker