1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-03 06:45:37 -08:00
Commit Graph

25 Commits

Author SHA1 Message Date
jsg
088a2cd995 remove prototypes with no matching function; ok claudio@ 2024-05-18 11:17:30 +00:00
claudio
b2cc5ec627 Kill dvrmpd_process and log_procnames. Unneeded abstraction for this
simple daemon.
2021-01-19 12:26:38 +00:00
claudio
e8127df6f4 Another pkt_ptr cleanup. There is actually no need to make the pkt
a static memory region. Just use the stack.
2021-01-19 11:46:10 +00:00
benno
2e743b2f01 work on making log.c similar in all daemons:
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@
2016-09-02 16:20:34 +00:00
stsp
9f69273f5e 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@
2015-09-27 17:29:45 +00:00
claudio
20d804771b Yet another implementation of IMSG_CTL_LOG_VERBOSE. Similar to the one in
ripd, ospfd and friends. OK michele, henning, sthen
2009-11-02 20:31:50 +00:00
pyr
7ffc507343 Get ready for including imsg.h from a lib, when it comes along. 2009-06-06 18:31:42 +00:00
pyr
14d72cd086 make dvmrpd imsg-in-a-lib ready as well.
``put it in'' claudio@, ok eric@
2009-06-06 07:52:04 +00:00
michele
c3f2978213 Notify the rde when a neighbor goes down.
When this happens we have to rebuild the list of downstream
interfaces.

ok claudio@
2009-04-16 20:11:12 +00:00
michele
bb0716482a Initial support for pruning. When every single interface is removed from the
downstream list for a particular source send a prune to the upstream router.

input and ok claudio@
2009-03-14 15:32:55 +00:00
michele
423f97ccef Get rid of rde_nbr structure as it is no more needed in RDE to make
routing decisions.

ok claudio@
2009-03-07 12:47:17 +00:00
michele
63b350bec1 Make RDE aware of multicast group members per interface. This is needed to
make unicast routing decisions.

ok claudio@
2009-03-06 18:39:13 +00:00
todd
8464310f51 revert earlier commit that broke the tree 2009-01-20 01:35:34 +00:00
michele
7147ba2725 When inserting a new route into the kernel set as
downstream interfaces the ones with neighbors or
group members.

ok norby@
2009-01-19 20:40:31 +00:00
michele
8dbd5f67be Kill src_node structure. It is mostly redundant with rt_node and
adds unneeded complexity. Move any stuff to rt_node structure.
2008-12-07 16:37:04 +00:00
michele
dff057b772 Initial support for neighbor expiry.
When a nbr goes down delete it from the lists of
downstream dependent neighbors.

OK norby@
2008-12-02 13:42:44 +00:00
michele
d876c0a450 Introduce support for flash updates.
They spread routing changes immediately as they happen
avoiding wait until the next report interval.

OK norby@
2008-11-21 10:39:32 +00:00
claudio
ff83d30f5b 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.
2007-09-11 18:23:05 +00:00
henning
0d718b073c baudrate 64bit, two more questionable marked for norby 2007-09-11 17:21:08 +00:00
michele
85ca72bfec Added code to parse unicast routes learned from route report packets.
Now we are able to select correctly designated forwarders and downstream
dependent routers per interface.

Tested and OK norby@
2007-03-21 19:33:48 +00:00
michele
a2ed222dbe introduce rde_check_route that selects which routes must be accepted and which discarded.
Still not complete, just a step forward.

ok norby@ henning@
2006-12-03 20:14:37 +00:00
norby
13d8916973 simplify netid_len calculation, inspired by stuff from bgpd. 2006-06-02 15:43:16 +00:00
claudio
6c98de8b95 More kroute.c cleanup and start using the routing socket to track interface
states.
2006-06-01 22:07:30 +00:00
norby
d0cc1e6e18 implement adjacent nbr count, needed when we want to decide where to flood
multicast streams.
2006-06-01 18:18:25 +00:00
norby
978e5cff46 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@
2006-06-01 14:12:20 +00:00