summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/imsg.c
AgeCommit message (Expand)Author
2004-02-16Extend imsg API so that messages can be composed on the fly. In the RDE itClaudio Jeker
2004-01-22use log_warnx and log_info. reclassify a few messages in the process and fixHenning Brauer
2004-01-22s/log_err/log_warn/Henning Brauer
2004-01-09get us a stateful imsg relaying framework, and the first receiver,Henning Brauer
2004-01-062004Henning Brauer
2004-01-03change imsg_read semantics so that the number of bytes read is returned.Henning Brauer
2004-01-01listen on a AF_LOCAL socket for imsgs too.Henning Brauer
2004-01-01typoHenning Brauer
2004-01-01now that imsg_get uses bigger buffers, one read call can put more than oneHenning Brauer
2003-12-30correctly free after buf_add/_close errs.Henning Brauer
2003-12-30missing free()s in error cases that (now) lead to program terminationHenning Brauer
2003-12-28redo the imsg readers to use bigger buffers and less read(2)s. should increaseHenning Brauer
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-24handle write() returning 0 correctly, adjust the msgbuf API appropriately,Henning Brauer
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-20more cast cleanup imsg_compose takes now a void * argument. OK henning@Claudio Jeker
2003-12-20let buf_add take void *data instead of u_char *data and save a zillionHenning Brauer
2003-12-20fatal() is a bit too much on 0 bytes read. imsg_get returns 0 in otherHenning Brauer
2003-12-20read(2)/write(2) return ssize_t, not size_tHenning Brauer
2003-12-17welcome, bgpdHenning Brauer