summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
AgeCommit message (Expand)Author
2004-01-11Add to the IMSG_SESSION_UP message the local and remote address of theClaudio Jeker
2004-01-11KNFHenning Brauer
2004-01-10Implement as path prepends. At least one prepend is needed for ebgpClaudio Jeker
2004-01-10RDE update generation. First we queue all updates and withdraws on a perClaudio Jeker
2004-01-07Modified version of hennings last patch. OK henning@Claudio Jeker
2004-01-07don't ever send kroute change (that includes add) requests to the parentHenning Brauer
2004-01-07Make sure that kroute updates for the FIB are only sent if there is aClaudio Jeker
2004-01-062004Henning Brauer
2004-01-05Big overhaul of the mrt code.Claudio Jeker
2004-01-04split the dispatch_imsg function into twom one per pipe.Henning Brauer
2004-01-04in the SE, keep the remote router-id in network byte order, just likeHenning Brauer
2004-01-03move some session specific stuff to session.h and make the few filesHenning Brauer
2004-01-03decouple the peer list from bgpd_config.Henning Brauer
2004-01-03change imsg_read semantics so that the number of bytes read is returned.Henning Brauer
2004-01-01now that imsg_get uses bigger buffers, one read call can put more than oneHenning Brauer
2003-12-27implement "no fib-update" much coolerHenning Brauer
2003-12-27do not print NULL nexthop (e.g. from a withdrawn route)Jakob Schlyter
2003-12-26print nexthop when logging. ok henning@Jakob Schlyter
2003-12-26"when you try to be very smart, something breaks horribly"Henning Brauer
2003-12-26when asking the kernel to add a route, send him the true nexthop and notHenning Brauer
2003-12-26add option 'log updates' to log updates. ok henning@Jakob Schlyter
2003-12-26let imsg_get and imsg_compose not fatal() but return errors upstream.Henning Brauer
2003-12-26when this project started and i added the fatal() function, I made it takeHenning Brauer
2003-12-25Turn the nexthop verification on. At least in the RDE.Claudio Jeker
2003-12-25RDE part of the nexthop verification puzzle.Claudio Jeker
2003-12-25kill IMSG_KROUTE_ADD as well. just send KROUTE_CHANGE requests.Henning Brauer
2003-12-24syscalls return -1 on err so test for == -1 instead of the < 0 found in veryHenning Brauer
2003-12-24now that the main process can cleanup without RDE's help, we do not need theHenning Brauer
2003-12-24now that we keep track of the routes we added to the kernel we can removeHenning Brauer
2003-12-24add option to not touch the kernel routing tableHenning Brauer
2003-12-24handle write() returning 0 correctly, adjust the msgbuf API appropriately,Henning Brauer
2003-12-23spacingTheo de Raadt
2003-12-23kill a chunk of debug code that is not usefull any moreHenning Brauer
2003-12-23In case of exit the RDE need to tell the parent to remove all still activeClaudio Jeker
2003-12-23send shutdown requests to the child processes and wait for a ackmessage fromHenning Brauer
2003-12-23Send updates to the main process so they can be added to the kernelClaudio Jeker
2003-12-21rename get_imsg() to imsg_get(); that's more consistentHenning Brauer
2003-12-21wrap read & write buffers for imsgs into a struct.Henning Brauer
2003-12-21overhaul the write buffering code.Henning Brauer
2003-12-20knf. OK henning@Claudio Jeker
2003-12-20more cast cleanup imsg_compose takes now a void * argument. OK henning@Claudio Jeker
2003-12-20few missing break; in default: cases in switch; one noticed by tedu@Henning Brauer
2003-12-20keep track which process we are so fatal() can log in which proc theHenning Brauer
2003-12-20formulate two comparisons sligthly different to prevent the left side fromHenning Brauer
2003-12-20poll returns plain int...Henning Brauer
2003-12-19knfTheo de Raadt
2003-12-19Rework of the RDE config merge. This fixes problems with peers thatClaudio Jeker
2003-12-19fix getpwnam use; noticed by claudio@Henning Brauer
2003-12-19knf & 64-bit cleanup; henning okTheo de Raadt
2003-12-19for(p = something; p != NULL; p = p->next) is not going to fly if there isHenning Brauer