summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/mrt.c
AgeCommit message (Expand)Author
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
2004-01-05Big overhaul of the mrt code.Claudio Jeker
2004-01-01conf -> mconfHenning Brauer
2003-12-26when this project started and i added the fatal() function, I made it takeHenning Brauer
2003-12-26In the mrt state machine one state was forgotten. This caused the parentClaudio Jeker
2003-12-25free where it was allocated; much easier to verifyHenning Brauer
2003-12-24handle write() returning 0 correctly, adjust the msgbuf API appropriately,Henning Brauer
2003-12-23spacingTheo de Raadt
2003-12-21wrap read & write buffers for imsgs into a struct.Henning Brauer
2003-12-21overhaul the write buffering code.Henning Brauer
2003-12-21yet more from the castathon; most aspath functions where accessing non-Claudio Jeker
2003-12-20knf. OK henning@Claudio Jeker
2003-12-20let buf_add take void *data instead of u_char *data and save a zillionHenning Brauer
2003-12-20few missing break; in default: cases in switch; one noticed by tedu@Henning Brauer
2003-12-19knf & 64-bit cleanup; henning okTheo de Raadt
2003-12-17welcome, bgpdHenning Brauer