summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
2003-12-26log_err -> log_peer_errHenning Brauer
2003-12-25implement "passive": do not attempt to open a tcp connection to theHenning Brauer
2003-12-25make the listening socket nonblocking as well.Henning Brauer
2003-12-25small gotcha in the FSM:Henning Brauer
2003-12-25we need nonblocking connectHenning Brauer
2003-12-24syscalls return -1 on err so test for == -1 instead of the < 0 found in veryHenning Brauer
2003-12-24following up on a discussion with theo, read(2) as much as possible at onceHenning Brauer
2003-12-24EAGAIN can't happen here anymoreHenning Brauer
2003-12-24no O_NONBLOCK for routing and tcp sockets, theoHenning Brauer
2003-12-24now that the main process can cleanup without RDE's help, we do not need theHenning Brauer
2003-12-24handle write() returning 0 correctly, adjust the msgbuf API appropriately,Henning Brauer
2003-12-24typos in comments, from jaredHenning Brauer
2003-12-23spacingTheo de Raadt
2003-12-23play nice on exit (when he listening coket is closed)Henning Brauer
2003-12-23send shutdown requests to the child processes and wait for a ackmessage fromHenning Brauer
2003-12-23do send session_down imsgs to RDE even if we are quittingHenning Brauer
2003-12-23allow the listening address to be specified, default to INADDR_ANYHenning 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-21queued_reads in struct peer was not ever used exept for an initialization to 0Henning Brauer
2003-12-20knf. OK henning@Claudio Jeker
2003-12-20session_notification can take void *data too instead of u_char *data,Henning Brauer
2003-12-20more from the castathon; imsg_compose takes void * now so get rid of the castsHenning Brauer
2003-12-20typo, teduHenning Brauer
2003-12-20let buf_add take void *data instead of u_char *data and save a zillionHenning Brauer
2003-12-20revert lastHenning Brauer
2003-12-20don't cast imsg.data to struct peer_config, memcpy instead, fixes 64bitHenning Brauer
2003-12-20keep track which process we are so fatal() can log in which proc theHenning Brauer
2003-12-20reconf is an enum reconf_action, not intHenning Brauer
2003-12-20read(2)/write(2) return ssize_t, not size_tHenning Brauer
2003-12-19even smaller typo with also big effect... < is not the same as >Henning Brauer
2003-12-19Small typo/pasto big effect. Muddled keepalive timer with holdtimer.Claudio Jeker
2003-12-19when sending a notification things actually work better if you copy error codeHenning Brauer
2003-12-19actually we need to init the configuration we receive in the reconfigure caseHenning Brauer
2003-12-19conf->holdtime was not set to teh default value initially if no holdtimeHenning Brauer
2003-12-19when adding a new peer during reconfiguration set its sock to -1.Henning Brauer
2003-12-19don't bother sending a SESSION_DOWN imsg to the RDE if we are quitting, thisHenning Brauer
2003-12-19fix getpwnam use; noticed by claudio@Henning Brauer
2003-12-19knf & 64-bit cleanup; henning okTheo de Raadt
2003-12-18reset nconf to NULL after free(), from claudioHenning Brauer
2003-12-17send reconf requests to the RDE as well and handle them there; syncing peerHenning Brauer
2003-12-17styleHenning Brauer
2003-12-17welcome, bgpdHenning Brauer