summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/control.c
AgeCommit message (Expand)Author
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2021-01-19Internalize a few more things into the control code. Both control_stateClaudio Jeker
2020-09-16Stop removing the control socket on exit and tighten the unveil evenremi
2018-08-29Prevent ospfd from starting if another ospfd is already using the sameremi
2017-01-24sync log.c from relayd et al to ospfd.Sebastian Benoit
2017-01-08Replace hand-rolled for(;;) traversal of ctl_conns TAILQ withKenneth R Westerback
2015-12-03imsg_read will return EAGAIN in some cases so prep code for it.Claudio Jeker
2015-02-10Convert ospfd over to SOCK_CLOEXEC | SOCK_NONBLOCK and make the routeClaudio Jeker
2014-07-11Close the control fd when it has reported EOF.Kenneth R Westerback
2013-11-13from claudioSebastian Benoit
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
2012-04-11delete excessive evtimer_pending; ok claudioTheo de Raadt
2012-04-10Handle file descriptor exhaustion in the accept() case.Theo de Raadt
2011-05-09First bits to support opaque LSA. Type-9, 10 and 11 are LSA that canClaudio Jeker
2010-09-02remove trailing spaces and tabs from source code; no binary changesIgor Sobrado
2010-05-14Use calloc() instead of malloc() to allocate the connection structure. ThisClaudio Jeker
2010-02-21Kill double declaration of control_imsg_relay().Michele Marchetto
2010-02-19implement ospfctl fib reload.David Gwynne
2009-12-08porcesses -> processesJonathan Gray
2009-12-02log_warn() consistency.Michael Knudsen
2009-11-02Implement IMSG_CTL_LOG_VERBOSE to enable or disable debug logging on runtime.Claudio Jeker
2009-06-06sync ospfctl/ospfd with the common imsg code, making it lib ready as well.Eric Faurot
2009-06-05make ospfd's imsg lib ready as well.Pierre-Yves Ritschard
2009-05-31Remove redundant imsg_event_add calls; ok claudio@Jacek Masiulaniec
2009-05-31The libevent callback function may be called with EV_READ and EV_WRITEClaudio Jeker
2009-04-07allow to specify an alternate control socket instead of /var/run/ospfd.sock.Reyk Floeter
2009-02-25Fix an invalid pointer dereference in control_close(). If control_connbyfd()Claudio Jeker
2008-11-21imsg_* returns ssize_tClaudio Jeker
2008-01-31do not leak confd on malloc failure in control_accept()Henning Brauer
2007-10-13Funny typo, it is fib not fip so adjust function name.Claudio Jeker
2007-03-21Add support for RFC 3137: OSPF Stub Router AdvertisementClaudio Jeker
2007-03-19when our red/recv/recvmsg in imsg_read gives EINTR or EAGAIN, do notHenning Brauer
2007-01-23Typo in fatal() message found by dunceor @ gmail dot comClaudio Jeker
2006-04-25Mark event handlers with ARGSUSED to please lint.Claudio Jeker
2006-03-21Kill debug message that floods the log if ospfctl is killed while dumpingClaudio Jeker
2006-02-10ospfd does not need fd passing via the imsg framework so remove that codeClaudio Jeker
2005-10-18Simplify code a bit. OK norby@Claudio Jeker
2005-05-12Add "show database asbr/external/network/router/self-originate/summary"Esben Norby
2005-03-26Implement the IMSG_CTL_IFINFO bits correctly. This is needed forClaudio Jeker
2005-03-22Remove bool cruft.Esben Norby
2005-03-15Add control messages for the show fib commands.Claudio Jeker
2005-03-15First close() than unlink().Claudio Jeker
2005-03-14Add "show summary" to ospfctl.Esben Norby
2005-03-14unlink() control socket in error path. Spotted by Theo at FOSDEM.Claudio Jeker
2005-03-12Add "show rib" and "show rib detail" to ospfctl.Esben Norby
2005-03-12Small K&F.Esben Norby
2005-03-11move umask() song and dance closer around the bind, being more careful about ...Theo de Raadt
2005-01-28Welcome ospfdClaudio Jeker