summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/kroute.c
AgeCommit message (Expand)Author
2015-12-05Pledge ospfd SE ("stdio inet mcast") and RDE ("stdio") move some codeClaudio Jeker
2015-10-26Kernel got fixed we no longer need to check if rtm_pid is 0 to filter outClaudio Jeker
2015-10-24Filter our RTM_GET messages which are not from us.Claudio Jeker
2015-09-27As done for bgpd recently, rename if_mediatype to if_type in ospfd/ospf6d.Stefan Sperling
2015-07-20Fix a segfault at startup when if_change() ist called beforeSebastian Benoit
2015-07-19revert previousSebastian Benoit
2015-07-18Properly handle carp(4) interfaces in "backup" mode on start-up.Martin Pieuchot
2015-07-17Do similar handling of connected routes and filtering of llinfo and broadcast.Claudio Jeker
2015-02-11Use sizeof(u_short) in the first check since there are RT messages thatClaudio Jeker
2015-02-10Forgot the EAGAIN or EINTR check on read.Claudio Jeker
2015-02-10Convert ospfd over to SOCK_CLOEXEC | SOCK_NONBLOCK and make the routeClaudio Jeker
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-06-23The second level of the CTL_NET sysctl is a PF_*, not an AF_*Philip Guenther
2013-10-30another simple %i to %d conversion for obviousnessTheo de Raadt
2013-06-01Minor cleanup, do not set values to 0 twice.Claudio Jeker
2011-09-16Rather than reloading kernel routes immediately when an RTM_DESYNC is seen,Stuart Henderson
2011-07-04LINK_STATE_IS_UP() cleanup userland part. There is no need to specialClaudio Jeker
2011-01-12Kill struct rroute and move the metric to struct kroute. ThisClaudio Jeker
2010-10-14kr_redistribute() needs to be called with the head node of a multipathClaudio Jeker
2010-07-14handle RTM_DESYNC. if the kernel says we're out of sync with the kernelDavid Gwynne
2010-07-12Merge duplicate log messages into one log_warn().Alexander Bluhm
2010-07-09ospfd is a AF_INET only routing daemon so limit the routing socket to thatClaudio Jeker
2010-06-27fix rtmsg_process to return on an error during processing rather thanDavid Gwynne
2010-06-23127/8 is INADDR_LOOPBACK & IN_CLASSA_NET the kroute code does notClaudio Jeker
2010-06-23fetchifs and fetchtable return -1 on error, not !0. in fact, they returnDavid Gwynne
2010-05-18Spacing.Claudio Jeker
2010-04-02The rtm_errno check which was moved in the last commit should onlyStuart Henderson
2010-04-01Minor cleanup figured out while syncing kroute with snmpd's.Claudio Jeker
2010-02-23fetchtable and the kroute dispatch handlers both parse the same messagesDavid Gwynne
2010-02-22dedup some code a bit. rather than have the same code in fetchifs andDavid Gwynne
2010-02-22remove the original fetchtable code and replace it with the newDavid Gwynne
2010-02-19oops, remove dead code.David Gwynne
2010-02-19implement ospfctl fib reload.David Gwynne
2010-02-16Pick up RTM_DELADDR and issue an internal IFADDRDEL message to the ospfe toClaudio Jeker
2009-07-23Spelling and comment fixes by stsp@Claudio Jeker
2009-06-05rtm->rtm_hdrlen conversionChris Cappuccio
2009-06-05Preliminary rdomain support, all hacked up by reyk@Claudio Jeker
2009-06-02Track reject and blackhole routes and allow them to be redistributed evenClaudio Jeker
2009-04-26comment typos; no binary changeStuart Henderson
2009-01-16fix last updateJoerg Goltermann
2009-01-08Fix use after free of kr. Happend when the first loop removed the headClaudio Jeker
2009-01-06Remove workaround added in rev 1.63. The real issue has been found andClaudio Jeker
2009-01-01Move initialisation of krt into kif_init so that it is possible to callClaudio Jeker
2008-12-17Add a workaround for some crazyness that happens if a cloning route has aClaudio Jeker
2008-12-12Make the kroute code routing priority aware. This solves a few issues andClaudio Jeker
2008-11-21Kill some old debug messages that are no longer needed.Claudio Jeker
2008-09-29Refactor code that handles the kroute interfaces and make it possible toClaudio Jeker
2008-07-24Use memcpy() and memcmp() like everywhere else in ospfd. OK norby@Claudio Jeker
2008-06-13Simplify ROUNDUP() macro, it does not need the additional size argument.Claudio Jeker
2008-05-09insert/delete routes w/ prio RTP_OSPFHenning Brauer