Deleted Added
full compact
ip_mroute.c (162794) ip_mroute.c (163606)
1/*-
2 * Copyright (c) 1989 Stephen Deering
3 * Copyright (c) 1992, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * Stephen Deering of Stanford University.
8 *

--- 38 unchanged lines hidden (view full) ---

47 * Modified by Pavlin Radoslavov, USC/ISI, May 1998, August 1999, October 2000
48 * Modified by Hitoshi Asaeda, WIDE, August 2000
49 * Modified by Pavlin Radoslavov, ICSI, October 2002
50 *
51 * MROUTING Revision: 3.5
52 * and PIM-SMv2 and PIM-DM support, advanced API support,
53 * bandwidth metering and signaling
54 *
1/*-
2 * Copyright (c) 1989 Stephen Deering
3 * Copyright (c) 1992, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * Stephen Deering of Stanford University.
8 *

--- 38 unchanged lines hidden (view full) ---

47 * Modified by Pavlin Radoslavov, USC/ISI, May 1998, August 1999, October 2000
48 * Modified by Hitoshi Asaeda, WIDE, August 2000
49 * Modified by Pavlin Radoslavov, ICSI, October 2002
50 *
51 * MROUTING Revision: 3.5
52 * and PIM-SMv2 and PIM-DM support, advanced API support,
53 * bandwidth metering and signaling
54 *
55 * $FreeBSD: head/sys/netinet/ip_mroute.c 162794 2006-09-29 15:45:11Z bms $
55 * $FreeBSD: head/sys/netinet/ip_mroute.c 163606 2006-10-22 11:52:19Z rwatson $
56 */
57
58#include "opt_mac.h"
59#include "opt_mrouting.h"
60
61#ifdef PIM
62#define _PIM_VT 1
63#endif
64
65#include <sys/param.h>
66#include <sys/kernel.h>
67#include <sys/lock.h>
56 */
57
58#include "opt_mac.h"
59#include "opt_mrouting.h"
60
61#ifdef PIM
62#define _PIM_VT 1
63#endif
64
65#include <sys/param.h>
66#include <sys/kernel.h>
67#include <sys/lock.h>
68#include <sys/mac.h>
69#include <sys/malloc.h>
70#include <sys/mbuf.h>
71#include <sys/module.h>
72#include <sys/protosw.h>
73#include <sys/signalvar.h>
74#include <sys/socket.h>
75#include <sys/socketvar.h>
76#include <sys/sockio.h>

--- 16 unchanged lines hidden (view full) ---

93#include <netinet/ip_options.h>
94#ifdef PIM
95#include <netinet/pim.h>
96#include <netinet/pim_var.h>
97#endif
98#include <netinet/udp.h>
99#include <machine/in_cksum.h>
100
68#include <sys/malloc.h>
69#include <sys/mbuf.h>
70#include <sys/module.h>
71#include <sys/protosw.h>
72#include <sys/signalvar.h>
73#include <sys/socket.h>
74#include <sys/socketvar.h>
75#include <sys/sockio.h>

--- 16 unchanged lines hidden (view full) ---

92#include <netinet/ip_options.h>
93#ifdef PIM
94#include <netinet/pim.h>
95#include <netinet/pim_var.h>
96#endif
97#include <netinet/udp.h>
98#include <machine/in_cksum.h>
99
100#include <security/mac/mac_framework.h>
101
101/*
102 * Control debugging code for rsvp and multicast routing code.
103 * Can only set them with the debugger.
104 */
105static u_int rsvpdebug; /* non-zero enables debugging */
106
107static u_int mrtdebug; /* any set of the flags below */
108#define DEBUG_MFC 0x02

--- 3451 unchanged lines hidden ---
102/*
103 * Control debugging code for rsvp and multicast routing code.
104 * Can only set them with the debugger.
105 */
106static u_int rsvpdebug; /* non-zero enables debugging */
107
108static u_int mrtdebug; /* any set of the flags below */
109#define DEBUG_MFC 0x02

--- 3451 unchanged lines hidden ---