summaryrefslogtreecommitdiff
path: root/usr.sbin/dvmrpd/dvmrpd.h
diff options
context:
space:
mode:
authorMichele Marchetto <michele@cvs.openbsd.org>2007-03-21 19:33:49 +0000
committerMichele Marchetto <michele@cvs.openbsd.org>2007-03-21 19:33:49 +0000
commit9e6877de3b929e1b747eea314af66f3e3485cee4 (patch)
tree1b42274cd8d2eb79eac2372861643a8238982f17 /usr.sbin/dvmrpd/dvmrpd.h
parent7018c85f8793aaac7aea0c4fdbcf578c9889d37b (diff)
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@
Diffstat (limited to 'usr.sbin/dvmrpd/dvmrpd.h')
-rw-r--r--usr.sbin/dvmrpd/dvmrpd.h4
1 files changed, 3 insertions, 1 deletions
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 <norby@openbsd.org>
@@ -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;