summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mrouted/route.h
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1999-01-20 07:55:57 +0000
committerfenner <fenner@FreeBSD.org>1999-01-20 07:55:57 +0000
commitcdafdeb1c3a36e7c0b59fd4f6f0b90b3b1cc27f8 (patch)
treeccf540c94528b6508bed4892f971ca6ff14c68a7 /usr.sbin/mrouted/route.h
parent1de14dda19dab2b943562326a3d97281534dc709 (diff)
downloadFreeBSD-src-cdafdeb1c3a36e7c0b59fd4f6f0b90b3b1cc27f8.zip
FreeBSD-src-cdafdeb1c3a36e7c0b59fd4f6f0b90b3b1cc27f8.tar.gz
Merge conflicts from 3.9-beta3+IOS12. The conflicts were huge; cvs's
merge algorithm failed on several files, and the translation of the mrouted man page to mdoc didn't help...
Diffstat (limited to 'usr.sbin/mrouted/route.h')
-rw-r--r--usr.sbin/mrouted/route.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.sbin/mrouted/route.h b/usr.sbin/mrouted/route.h
index 5b34e8a..8a0f281 100644
--- a/usr.sbin/mrouted/route.h
+++ b/usr.sbin/mrouted/route.h
@@ -7,7 +7,8 @@
* Leland Stanford Junior University.
*
*
- * $Id$
+ * $Id: route.h,v 1.7 1997/02/22 16:07:07 peter Exp $
+ * route.h,v 3.8.4.6 1997/07/01 23:02:35 fenner Exp
*/
/*
@@ -35,17 +36,18 @@ struct rtentry {
u_int32 rt_gateway; /* first-hop gateway back to origin */
vifi_t rt_parent; /* incoming vif (ie towards origin) */
vifbitmap_t rt_children; /* outgoing children vifs */
- vifbitmap_t rt_leaves; /* subset of outgoing children vifs */
u_int32 *rt_dominants; /* per vif dominant gateways */
- u_int32 *rt_subordinates; /* per vif subordinate gateways */
- u_int *rt_leaf_timers; /* per vif leaf confirmation timers */
+ nbrbitmap_t rt_subordinates; /* bitmap of subordinate gateways */
+ nbrbitmap_t rt_subordadv; /* recently advertised subordinates */
u_int rt_timer; /* for timing out the route entry */
struct rtentry *rt_prev; /* link to previous entry */
struct gtable *rt_groups; /* link to active groups */
};
#define RTF_CHANGED 0x01 /* route changed but not reported */
-#define RTF_LEAF_TIMING 0x02 /* some leaf timers are running */
+#define RTF_HOLDDOWN 0x04 /* this route is in holddown */
#define ALL_ROUTES 0 /* possible arguments to report() */
#define CHANGED_ROUTES 1 /* and report_to_all_neighbors() */
+
+#define RT_FMT(r, s) inet_fmts((r)->rt_origin, (r)->rt_originmask, s)
OpenPOWER on IntegriCloud