OpenBSD CVS

CVS log for src/usr.sbin/dvmrpd/interface.c


[BACK] Up to [local] / src / usr.sbin / dvmrpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:47 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, HEAD
Changes since 1.11: +11 -11 lines
Diff to previous 1.11 (colored)

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.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Sep 27 17:29:46 2015 UTC (8 years, 8 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

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@

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 4 04:34:14 2011 UTC (12 years, 11 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.9: +2 -5 lines
Diff to previous 1.9 (colored)

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.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Sep 22 16:43:42 2009 UTC (14 years, 8 months ago) by michele
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.8: +5 -2 lines
Diff to previous 1.8 (colored)

Sync the link state check code with others daemons.

ok claudio@

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 6 18:39:13 2009 UTC (15 years, 2 months ago) by michele
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Make RDE aware of multicast group members per interface. This is needed to
make unicast routing decisions.

ok claudio@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 20 01:35:34 2009 UTC (15 years, 4 months ago) by todd
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.6: +1 -0 lines
Diff to previous 1.6 (colored)

revert earlier commit that broke the tree

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 19 20:40:31 2009 UTC (15 years, 4 months ago) by michele
Branch: MAIN
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)

When inserting a new route into the kernel set as
downstream interfaces the ones with neighbors or
group members.

ok norby@

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 11 18:23:05 2007 UTC (16 years, 8 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

The same dance as in all other routing daemons. baudrate is 64bit plus
initialize iface->baudrate when the interface is created. An additional
gimmick don't set the ictl->baudrate twice when building the control message.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 3 20:14:37 2006 UTC (17 years, 6 months ago) by michele
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.3: +16 -1 lines
Diff to previous 1.3 (colored)

introduce rde_check_route that selects which routes must be accepted and which discarded.
Still not complete, just a step forward.

ok norby@ henning@

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jun 2 17:06:50 2006 UTC (18 years ago) by norby
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (colored)

allow igmp to work properly on p2p interfaces.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jun 1 18:18:25 2006 UTC (18 years ago) by norby
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

implement adjacent nbr count, needed when we want to decide where to flood
multicast streams.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jun 1 14:12:20 2006 UTC (18 years ago) by norby
Branch: MAIN

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@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.