Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-11-21 | Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour | Claudio Jeker | |
OK tb@ | |||
2024-11-21 | Convert the common imsgbuf_read calls to the post EAGAIN world. | Claudio Jeker | |
OK tb@ | |||
2024-11-21 | Use imsgbuf_clear() where appropriate instead of msgbuf_clear(). | Claudio Jeker | |
OK tb@ | |||
2024-11-21 | Rename imsg_init, imsg_clear, imsg_read, imsg_write and imsg_flush to | Claudio Jeker | |
imsgbuf_init, imsgbuf_clear, imsgbuf_read, imsgbuf_write and imsgbuf_flush. This separates the imsgbuf API from the per-imsg API. OK tb@ | |||
2024-11-21 | Convert imsg_write() callers to the new simplified return logic. | Claudio Jeker | |
OK tb@ | |||
2024-11-21 | Introduce imsg_write() and use it instead of msgbuf_write(). | Claudio Jeker | |
imsg_write() is just a thin wrapper around msgbuf_write(). So this is mostly search and replace. OK tb@ | |||
2023-03-08 | Delete obsolete /* ARGSUSED */ lint comments. | Philip Guenther | |
ok miod@ millert@ | |||
2022-01-20 | ospf6d: fix -Wunused-but-set-variable warnings | Christian Weisgerber | |
ospf6d.c: sync a missing bit of (disabled) code with ospfd rde.c: ifdef out some more incomplete code ok denis@ claudio@ | |||
2021-01-19 | Make the struct imsgev static. With this ospf6d compiles with -fno-common | Claudio Jeker | |
2020-05-16 | When IMSG_IFADD is removed, IMSG_IFDELETE becomes useless | denis | |
OK remi@ | |||
2020-05-16 | IMSG_IFADD is never used, wipe it | denis | |
OK remi@ | |||
2020-04-05 | Handle connected routes as ospfd(8) does. | denis | |
OK remi@ | |||
2020-03-29 | Rework of rde_asext_get()/rde_asext_put(). | denis | |
Also change get_net_link() and get_rtr_link() to work like ospfd(8) couterpart. OK remi@ | |||
2020-02-17 | Bring ospf6d closer to ospfd | denis | |
- update debug messages to be more precise - simplify call to lsa_self() - drop lsa_find_lsid() redondant parameters OK remi@ | |||
2020-01-21 | No need to pass peerid to lsa_snap() | denis | |
OK remi@ | |||
2020-01-02 | Rename orig_rtr_lsa_area() to orig_rtr_lsa() | denis | |
Now that area is part of iface, original orig_rtr_lsa() is useless. Also verifying that area != NULL is not needed in some cases (these are leftovers of the previous diff). OK remi@ | |||
2019-12-23 | Area is now part of struct iface | denis | |
OK remi@ | |||
2019-06-11 | Introduce conf_clear_redist_list() (from ospfd) and use it in all 3 procs. | remi | |
ok benno@ | |||
2018-07-12 | Add support for rdomains. | remi | |
small quirk from tb@ ok phessler@ | |||
2018-07-12 | With the "depend on" option routes are sent out with a metric of 65535 if | remi | |
the referenced interface is down or in state backup. This is especially useful on a carp cluster to ensure all traffic goes to the carp master. ok friehm@ jca@ | |||
2018-07-10 | pledge(2) | friehm | |
Looks great! deraadt@ OK florian OK remi@ | |||
2018-06-12 | Send LSAs with MAX_METRIC for carp interfaces in state backup. | remi | |
This is similar to what ospfd does. ok jca@ | |||
2018-06-12 | Fix resending intra area prefix LSAs on link state or if flag change. | remi | |
ok jca@ | |||
2018-06-10 | memory leak spotted by claudio@ | remi | |
go ahead jca@ OK claudio@ | |||
2018-06-10 | The value for metric of intra area prefix LSAs should be set to: | remi | |
- 0 when referencing Network LSAs - 0 for loopback interfaces - interface output cost for other cases go ahead jca@ OK claudio@ | |||
2017-08-12 | bring ospf6d's log.c in sync with ospfd and bgpd | Sebastian Benoit | |
ok florian@ claudio@ | |||
2017-06-19 | Import route priority support from ospfd to ospf6d. | friehm | |
Also remove the RTF_UP flag from hdr.rtm_flags in send_rtmsg() since ospfd and bgpd don't set the flag. OK bluhm@ claudio@ | |||
2017-05-30 | Adding multipath route support to ospf6d. Almost copied from ospfd. | friehm | |
OK bluhm@ | |||
2016-12-27 | Replace struct rroute with struct kroute, as done in ospfd | Jeremie Courreges-Anglas | |
ok claudio@ | |||
2016-09-03 | Simplify shutdown process. | Renato Westphal | |
On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the IPC sockets will make the children receive an EOF, break out from the event loop and then exit. Tha advantages of this "pipe teardown" are: * simpler code; * no need to pledge "proc" in the parent process; * removal of a (hard to trigger) PID reuse race condition. ok benno@ claudio@ | |||
2016-09-02 | work on making log.c similar in all daemons: | Sebastian Benoit | |
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily. ok claudio@, feedback from henning@, deraadt@, reyk@ | |||
2016-06-06 | add format attributes to the proper functions and then fix the | Sebastian Benoit | |
warning in rde.c | |||
2015-12-05 | EAGAIN handling for imsg_read. OK henning@ benno@ | Claudio Jeker | |
2015-09-27 | As done for bgpd recently, rename if_mediatype to if_type in ospfd/ospf6d. | Stefan Sperling | |
And some ifmedia64 fixes. "move forward" deraadt@ | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-07-12 | Close connections when msgbuf_write() returns 0. | Kenneth R Westerback | |
ok claudio@ | |||
2013-11-13 | handle msgbuf_write() returning EAGAIN, | Sebastian Benoit | |
taken from claudios previous fix to ospfd. "do it" deraadt@ | |||
2012-09-17 | Fix trailing whitespaces. | Alexander Bluhm | |
2011-11-06 | Add a #include that's currently picked up via another header that's | Philip Guenthe | |
violating namespace rules ok claudio@ | |||
2011-07-07 | Rework the distribution of link state and iface FSM state changes. | Claudio Jeker | |
Link state changes are sent from the parent to both childs and iface FSM state changes are sent from the ospfe to the rde. | |||
2011-07-07 | Just use if_find() to find an interface by ifindex. | Claudio Jeker | |
2011-07-07 | correct/change some debug and fatal messages. | Claudio Jeker | |
2011-07-07 | Kill nh_reachable. Link state checking is so easy now that it does not | Claudio Jeker | |
matter anymore to cache this value for ospf6d. | |||
2011-07-04 | LINK_STATE_IS_UP() cleanup userland part. There is no need to special | Claudio Jeker | |
case carp(4) interfaces anymore. LINK_STATE_IS_UP() almost always does the right job. OK deraadt@ henning@ This needs a -current kernel or link state may be not reported correctly. | |||
2011-07-04 | Make sure that passive interfaces (like carp) are added to the | Claudio Jeker | |
intra-area rtr LSA. Diff initialy made by Patrick Coleman but simplified by myself. Tested and OK dlg@ | |||
2011-05-05 | KNF | Claudio Jeker | |
2011-05-02 | Don't include sys/param.h and reformat some lines. | Claudio Jeker | |
2010-08-22 | When removing an announced prefix, inherit the metric and ext_tag | Alexander Bluhm | |
from the LSA that is currently in the tree. Based on claudio@'s diff and his fix for ospfd. Additionally originate an LSA with external route tag correctly by writing the AS-external-LSA's bit T into the correct field. ok claudio@ | |||
2010-07-09 | Do not try to originate an intra-area-prefix-lsa if an interface | Alexander Bluhm | |
address changes that does not belong to any area. This fixes an ospf6d crash. To not search for the area in orig_intra_lsa_net(), just pass the area as function parameter. ok claudio@ | |||
2010-07-06 | Update the interfaces changes from kroute to rde via imsg. This | Alexander Bluhm | |
is needed to orginate correct intra-area-prefix-lsas. ok claudio@ stsp@ |