summaryrefslogtreecommitdiff
path: root/usr.sbin/dvmrpd/rde.h
diff options
context:
space:
mode:
authorMichele Marchetto <michele@cvs.openbsd.org>2009-03-06 18:39:14 +0000
committerMichele Marchetto <michele@cvs.openbsd.org>2009-03-06 18:39:14 +0000
commit79bf2b9529b10783102a038860f4a2e6a9b1dd37 (patch)
tree377d3d6341c062a6745966eddd9e5c522563e204 /usr.sbin/dvmrpd/rde.h
parent2e5aaa812e944ad785bdcdae37e63e836ee8c6da (diff)
Make RDE aware of multicast group members per interface. This is needed to
make unicast routing decisions. ok claudio@
Diffstat (limited to 'usr.sbin/dvmrpd/rde.h')
-rw-r--r--usr.sbin/dvmrpd/rde.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/dvmrpd/rde.h b/usr.sbin/dvmrpd/rde.h
index 78e85b58bec..6410932dbdd 100644
--- a/usr.sbin/dvmrpd/rde.h
+++ b/usr.sbin/dvmrpd/rde.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.h,v 1.10 2009/02/03 16:21:19 michele Exp $ */
+/* $OpenBSD: rde.h,v 1.11 2009/03/06 18:39:13 michele Exp $ */
/*
* Copyright (c) 2005, 2006 Esben Norby <norby@openbsd.org>
@@ -81,6 +81,10 @@ pid_t rde(struct dvmrpd_conf *, int [2], int [2], int [2]);
int rde_imsg_compose_parent(int, pid_t, void *, u_int16_t);
int rde_imsg_compose_dvmrpe(int, u_int32_t, pid_t, void *, u_int16_t);
+void rde_group_list_add(struct iface *, struct in_addr);
+int rde_group_list_find(struct iface *, struct in_addr);
+void rde_group_list_remove(struct iface *, struct in_addr);
+
/* rde_mfc.c */
void mfc_init(void);
int mfc_compare(struct mfc_node *, struct mfc_node *);
@@ -92,6 +96,7 @@ void mfc_dump(pid_t);
void mfc_update(struct mfc *);
void mfc_delete(struct mfc *);
void mfc_update_source(struct rt_node *);
+int mfc_check_members(struct rt_node *, struct iface *);
/* rde_srt.c */
void rt_init(void);