History log of /openbsd/usr.sbin/dvmrpd/kroute.c (Results 1 – 14 of 14)
Revision Date Author Comments
# 064707de 24-Jul-2017 friehm <friehm@openbsd.org>

Unify ROUNDUP macros for parsing route messages.
Use the macro from route(8) / ospf6d(8) since it works also with argument 0.

OK claudio@


# b206500f 07-Dec-2015 mmcc <mmcc@openbsd.org>

Replace bzero with memset, and change a strings.h include to string.h to
get the declaration. From Serguey Parkhomovsky. No objects from
deraadt@.


# 9f69273f 27-Sep-2015 stsp <stsp@openbsd.org>

As done for bgpd recently, rename if_mediatype to if_type in dvrmpd.
Remove unused function get_ifms_type(). No ifmedia in here anymore.
"move forward" deraadt@


# 438a503e 11-Feb-2015 claudio <claudio@openbsd.org>

Use sizeof(u_short) in the first check since there are RT messages that
are less then sizeof(*rtm) bytes long (e.g. interface announcements).
Found the hard way by phessler@


# 0e80d59f 10-Feb-2015 claudio <claudio@openbsd.org>

More SOCK_NONBLOCK adjustments similar to the other daemons.


# b9fc9a72 16-Jan-2015 deraadt <deraadt@openbsd.org>

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N

Replace <sys/param.h> with <limits.h> and other less dirty headers where
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)

show more ...


# 149dc9fc 23-Jun-2014 guenther <guenther@openbsd.org>

The second level of the CTL_NET sysctl is a PF_*, not an AF_*

inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de)


# 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 ...


# 007f2c42 22-Sep-2009 michele <michele@openbsd.org>

Sync the link state check code with others daemons.

ok claudio@


# 1b64f31a 25-Jun-2009 claudio <claudio@openbsd.org>

Another kroute.c code with missing RTM_VERSION checks.
OK sthen@, henning@


# 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 ...


# d7994a51 17-Jun-2006 norby <norby@openbsd.org>

make dvmrpd(8) capable of fetching interfaces correctly on sparc64.


# 6c98de8b 01-Jun-2006 claudio <claudio@openbsd.org>

More kroute.c cleanup and start using the routing socket to track interface
states.


# 978e5cff 01-Jun-2006 norby <norby@openbsd.org>

Welcome dvmrpd
started by Esben Norby some time ago by using the imsg/three process framework
of ospfd.
Right now it is not particularly useful, major parts are still missing but is
imported to allow

Welcome dvmrpd
started by Esben Norby some time ago by using the imsg/three process framework
of ospfd.
Right now it is not particularly useful, major parts are still missing but is
imported to allow more people to work on it.

Status:

The IGMP part is mostly complete, allowing clients to join and leave groups.
Election the IGMP querier of a network is also functional, only thing missing is
some corner cases when going from non-querier to querier.

About half of the DVMRP is functional, probes and route reports are functional.

Multicast streams can be detected and the MFC can be manipulated.
The RIB is not complete but operational.

Not yet connected to the builds.

OK claudio@

show more ...