summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/buffer.c
AgeCommit message (Expand)Author
2006-09-19make buffer_grow always return a valid struct buf; the contained bufferHenning Brauer
2006-08-27add buf_grow() to grow an existing buffer (realloc), claudio okHenning Brauer
2006-04-21msgbuf_writebound() and msgbuf_bounded() are leftovers from some ancientClaudio Jeker
2005-11-02Mark some additional function arguments as const.Claudio Jeker
2005-08-11two missing EINTR here tooHenning Brauer
2005-04-26unify shared code a bit again to make future syncs easierHenning Brauer
2005-03-28KNFHenning Brauer
2005-03-23remove now osolete comment, from a mail exchange withHenning Brauer
2005-03-17Fix fd passing. Bug introduced lately passed the first fd twice and an oldClaudio Jeker
2005-03-14when a buffer has a file descriptor to pass attached, we tried to sendHenning Brauer
2005-02-01switch the buffer size describing vars from ssize_t to size_t and adjustHenning Brauer
2004-09-16cope with ENOBUFS in buf_write()Henning Brauer
2004-09-14treat ENOBUFS like EAGAIN and try laterHenning Brauer
2004-08-17when sending a file descriptor, close it on the receiving side inHenning Brauer
2004-07-03Switch mrt dumping to fd passing. This gives some speed up when extensiveClaudio Jeker
2004-06-20at least somewhat consistently name the TAILQ_ENTRYs... this confused meHenning Brauer
2004-06-20argh, don't want to shutdown the socket in the parent after sending,Henning Brauer
2004-06-20implement file descriptor passing in the imsg/msgbuf framework, and useHenning Brauer
2004-04-29sock -> fd; ok henningTheo de Raadt
2004-02-19Make the code more portable. Add some missing header files and make the useClaudio Jeker
2004-02-17little easierHenning Brauer
2004-02-17missing bzero() of the iovecHenning Brauer
2004-01-10use writev(2) to get as many messages out at once as possible.Henning Brauer
2004-01-10we may only write after a POLLOUT, and then, we only may write once.Henning Brauer
2004-01-062004Henning Brauer
2004-01-05Big overhaul of the mrt code.Claudio Jeker
2003-12-26need to clean errno before returning error in the custom caseHenning Brauer
2003-12-24handle write() returning 0 correctly, adjust the msgbuf API appropriately,Henning Brauer
2003-12-23spacingTheo de Raadt
2003-12-21sync comments with reality and shorten a bit where appropriateHenning Brauer
2003-12-21overhaul the write buffering code.Henning Brauer
2003-12-21don't try to write out data immediately if there are queued writes.Claudio Jeker
2003-12-21yet more from the castathon; most aspath functions where accessing non-Claudio Jeker
2003-12-20let buf_add take void *data instead of u_char *data and save a zillionHenning Brauer
2003-12-20read(2)/write(2) return ssize_t, not size_tHenning Brauer
2003-12-17welcome, bgpdHenning Brauer