From 9e6877de3b929e1b747eea314af66f3e3485cee4 Mon Sep 17 00:00:00 2001 From: Michele Marchetto Date: Wed, 21 Mar 2007 19:33:49 +0000 Subject: 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@ --- usr.sbin/dvmrpd/dvmrpd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin/dvmrpd/dvmrpd.h') diff --git a/usr.sbin/dvmrpd/dvmrpd.h b/usr.sbin/dvmrpd/dvmrpd.h index c34a3e5c045..335db3a787c 100644 --- a/usr.sbin/dvmrpd/dvmrpd.h +++ b/usr.sbin/dvmrpd/dvmrpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dvmrpd.h,v 1.5 2006/12/03 20:14:37 michele Exp $ */ +/* $OpenBSD: dvmrpd.h,v 1.6 2007/03/21 19:33:48 michele Exp $ */ /* * Copyright (c) 2004, 2005, 2006 Esben Norby @@ -188,6 +188,7 @@ struct mfc { }; TAILQ_HEAD(rr_head, rr_entry); +RB_HEAD(src_head, src_node); struct iface { LIST_ENTRY(iface) entry; @@ -261,6 +262,7 @@ struct dvmrpd_conf { #define DVMRPD_OPT_NOACTION 0x00000004 int maxdepth; LIST_HEAD(, iface) iface_list; + struct src_head src_list; int dvmrp_socket; int mroute_socket; int flags; -- cgit v1.2.3