summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_var.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-03-16 16:25:55 +0000
committerwollman <wollman@FreeBSD.org>1995-03-16 16:25:55 +0000
commitb6beceae27e1650af0e5a1ee94bb83a629d6530a (patch)
treed878fa17c7db5f8fb8d5da16fdf99ebdb6f5e3f4 /sys/netinet/ip_var.h
parent965da3c27aad8b8260f2d9f4b1b580a4da6c1e04 (diff)
downloadFreeBSD-src-b6beceae27e1650af0e5a1ee94bb83a629d6530a.zip
FreeBSD-src-b6beceae27e1650af0e5a1ee94bb83a629d6530a.tar.gz
This set of patches enables IP multicasting to work under FreeBSD. I am
submitting them as context diffs for the following files: sys/netinet/ip_mroute.c sys/netinet/ip_var.h sys/netinet/raw_ip.c usr.sbin/mrouted/igmp.c usr.sbin/mrouted/prune.c The routine rip_ip_input in raw_ip.c is suggested by Mark Tinguely (tinguely@plains.nodak.edu). I have been running mrouted with these patches for over a week and nothing has seemed seriously wrong. It is being run in two places on our network as a tunnel on one and a subnet querier on the other. The only problem I have run into is that mrouted on the tunnel must start up last or the pruning isn't done correctly and multicast packets flood your subnets. Submitted by: Soochon Radee <slr@mitre.org>
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r--sys/netinet/ip_var.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index 08e0c57..5ac0e80 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ip_var.h 8.1 (Berkeley) 6/10/93
- * $Id: ip_var.h,v 1.6 1994/09/14 03:10:14 wollman Exp $
+ * $Id: ip_var.h,v 1.7 1995/02/14 06:25:17 phk Exp $
*/
#ifndef _NETINET_IP_VAR_H_
@@ -194,6 +194,10 @@ int rip_usrreq __P((struct socket *,
int, struct mbuf *, struct mbuf *, struct mbuf *));
int ip_rsvp_init __P((struct socket *));
int ip_rsvp_done __P((void));
+
+void rip_ip_input __P((struct mbuf *mm,
+ register struct socket *ip_mrouter, struct sockaddr *src));
+
#endif
#endif
OpenPOWER on IntegriCloud