ip_mroute.c (42777) | ip_mroute.c (46568) |
---|---|
1/* 2 * IP multicast forwarding procedures 3 * 4 * Written by David Waitzman, BBN Labs, August 1988. 5 * Modified by Steve Deering, Stanford, February 1989. 6 * Modified by Mark J. Steiglitz, Stanford, May, 1991 7 * Modified by Van Jacobson, LBL, January 1993 8 * Modified by Ajit Thyagarajan, PARC, August 1993 9 * Modified by Bill Fenner, PARC, April 1995 10 * 11 * MROUTING Revision: 3.5 | 1/* 2 * IP multicast forwarding procedures 3 * 4 * Written by David Waitzman, BBN Labs, August 1988. 5 * Modified by Steve Deering, Stanford, February 1989. 6 * Modified by Mark J. Steiglitz, Stanford, May, 1991 7 * Modified by Van Jacobson, LBL, January 1993 8 * Modified by Ajit Thyagarajan, PARC, August 1993 9 * Modified by Bill Fenner, PARC, April 1995 10 * 11 * MROUTING Revision: 3.5 |
12 * $Id: ip_mroute.c,v 1.52 1999/01/12 12:16:50 eivind Exp $ | 12 * $Id: ip_mroute.c,v 1.53 1999/01/18 02:06:57 fenner Exp $ |
13 */ 14 15#include "opt_mrouting.h" 16 17#include <sys/param.h> 18#include <sys/systm.h> 19#include <sys/malloc.h> 20#include <sys/mbuf.h> --- 2169 unchanged lines hidden (view full) --- 2190 return; 2191 } 2192 rsvp_src.sin_addr = ip->ip_src; 2193 2194 if (rsvpdebug && m) 2195 printf("rsvp_input: m->m_len = %d, sbspace() = %ld\n", 2196 m->m_len,sbspace(&(viftable[vifi].v_rsvpd->so_rcv))); 2197 | 13 */ 14 15#include "opt_mrouting.h" 16 17#include <sys/param.h> 18#include <sys/systm.h> 19#include <sys/malloc.h> 20#include <sys/mbuf.h> --- 2169 unchanged lines hidden (view full) --- 2190 return; 2191 } 2192 rsvp_src.sin_addr = ip->ip_src; 2193 2194 if (rsvpdebug && m) 2195 printf("rsvp_input: m->m_len = %d, sbspace() = %ld\n", 2196 m->m_len,sbspace(&(viftable[vifi].v_rsvpd->so_rcv))); 2197 |
2198 if (socket_send(viftable[vifi].v_rsvpd, m, &rsvp_src) < 0) | 2198 if (socket_send(viftable[vifi].v_rsvpd, m, &rsvp_src) < 0) { |
2199 if (rsvpdebug) 2200 printf("rsvp_input: Failed to append to socket\n"); | 2199 if (rsvpdebug) 2200 printf("rsvp_input: Failed to append to socket\n"); |
2201 else | 2201 } else { |
2202 if (rsvpdebug) 2203 printf("rsvp_input: send packet up\n"); | 2202 if (rsvpdebug) 2203 printf("rsvp_input: send packet up\n"); |
2204 | 2204 } 2205 |
2205 splx(s); 2206} 2207 2208#ifdef MROUTE_LKM 2209#include <sys/conf.h> 2210#include <sys/exec.h> 2211#include <sys/sysent.h> 2212#include <sys/lkm.h> --- 68 unchanged lines hidden --- | 2206 splx(s); 2207} 2208 2209#ifdef MROUTE_LKM 2210#include <sys/conf.h> 2211#include <sys/exec.h> 2212#include <sys/sysent.h> 2213#include <sys/lkm.h> --- 68 unchanged lines hidden --- |