History log of /openbsd/usr.sbin/ripd/interface.c (Results 1 – 16 of 16)
Revision Date Author Comments
# 8654e9c5 19-Jan-2021 claudio <claudio@openbsd.org>

Move the interface demote out of if_del and into the only place where
it is needed (the if_del call in ripe.c). With this the ripd_process
check in ripe_demote_iface() can be removed.


# df69c215 28-Jun-2019 deraadt <deraadt@openbsd.org>

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

show more ...


# b38873a2 17-Jan-2017 jca <jca@openbsd.org>

Keep track of dead peers instead of freeing them right away.

This mimics what ospfd does, and avoids a (mostly harmless)
use-after-free. Delay suggested by claudio@, ok florian@


# 16530d00 27-Sep-2015 stsp <stsp@openbsd.org>

As done for bgpd recently, rename if_mediatype to if_type in ripd.
And some ifmedia64 fixes.
"move forward" deraadt@


# 33229c10 09-Feb-2015 claudio <claudio@openbsd.org>

More session_socket_blockmode() removal. While there make the main UDP
socket non-blocking by default.


# 9a2e0324 04-Jul-2011 claudio <claudio@openbsd.org>

LINK_STATE_IS_UP() cleanup userland part. There is no need to special
case carp(4) interfaces anymore. LINK_STATE_IS_UP() almost always does
the right job.
OK deraadt@ henning@

This needs a -current

LINK_STATE_IS_UP() cleanup userland part. There is no need to special
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.

show more ...


# 13ae2b57 21-Jun-2011 mikeb <mikeb@openbsd.org>

Convert SO_RTABLE's protocol level to the SOL_SOCKET; ok claudio


# 8bb39f08 03-Jul-2010 guenther <guenther@openbsd.org>

Fix the naming of interfaces and variables for rdomains and rtables
and make it possible to bind sockets (including listening sockets!)
to rtables and not just rdomains. This changes the name of the

Fix the naming of interfaces and variables for rdomains and rtables
and make it possible to bind sockets (including listening sockets!)
to rtables and not just rdomains. This changes the name of the
system calls, socket option, and ioctl. After building with this
you should remove the files /usr/share/man/cat2/[gs]etrdomain.0.

Since this removes the existing [gs]etrdomain() system calls, the
libc major is bumped.

Written by claudio@, criticized^Wcritiqued by me

show more ...


# 0ab89b34 26-Sep-2009 michele <michele@openbsd.org>

Preliminary rdomain support.

ok claudio@


# 0bf71e19 26-Sep-2009 michele <michele@openbsd.org>

Whitespace cleanup.


# 4d8b14b6 17-Dec-2008 michele <michele@openbsd.org>

Add support for demotion counter.
When interfaces go up/down the demotion counter of the
specified group is decreased/increased.

ok henning@


# ab1a60ad 24-Oct-2007 claudio <claudio@openbsd.org>

Garbage collect unused stuff found by lint.


# 726964a1 18-Oct-2007 deraadt <deraadt@openbsd.org>

spacing


# 90cb0607 11-Sep-2007 claudio <claudio@openbsd.org>

More baudrate fixes. Again don't forget to initialize the iface->baudrate.


# 30762738 28-Nov-2006 reyk <reyk@openbsd.org>

add additional link states to report the half duplex / full duplex
state, if known by the driver. this is required to check the full
duplex state without depending on the ifmedia ioctl which can't be

add additional link states to report the half duplex / full duplex
state, if known by the driver. this is required to check the full
duplex state without depending on the ifmedia ioctl which can't be
called in the kernel without process context.

ok henning@, brad@

show more ...


# ddeeec14 18-Oct-2006 norby <norby@openbsd.org>

Welcome ripd
started by Michele Marchetto some time ago by using the imsg/three process framework
of ospfd. He implemented most of the daemon with a little help and guidance from
Claudio and I.

Curr

Welcome ripd
started by Michele Marchetto some time ago by using the imsg/three process framework
of ospfd. He implemented most of the daemon with a little help and guidance from
Claudio and I.

Currently the daemon is more or less complete, with the exception of key lifetime
and rollover.

Not yet connected to the builds.
OK claudio@

show more ...