Deleted Added
full compact
raw_ip6.c (207277) raw_ip6.c (207369)
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

55 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
56 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
57 * SUCH DAMAGE.
58 *
59 * @(#)raw_ip.c 8.2 (Berkeley) 1/4/94
60 */
61
62#include <sys/cdefs.h>
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

55 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
56 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
57 * SUCH DAMAGE.
58 *
59 * @(#)raw_ip.c 8.2 (Berkeley) 1/4/94
60 */
61
62#include <sys/cdefs.h>
63__FBSDID("$FreeBSD: head/sys/netinet6/raw_ip6.c 207277 2010-04-27 15:07:08Z bz $");
63__FBSDID("$FreeBSD: head/sys/netinet6/raw_ip6.c 207369 2010-04-29 11:52:42Z bz $");
64
65#include "opt_ipsec.h"
66#include "opt_inet6.h"
67
68#include <sys/param.h>
69#include <sys/errno.h>
70#include <sys/jail.h>
71#include <sys/lock.h>

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

114 * Raw interface to IP6 protocol.
115 */
116
117VNET_DECLARE(struct inpcbhead, ripcb);
118VNET_DECLARE(struct inpcbinfo, ripcbinfo);
119#define V_ripcb VNET(ripcb)
120#define V_ripcbinfo VNET(ripcbinfo)
121
64
65#include "opt_ipsec.h"
66#include "opt_inet6.h"
67
68#include <sys/param.h>
69#include <sys/errno.h>
70#include <sys/jail.h>
71#include <sys/lock.h>

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

114 * Raw interface to IP6 protocol.
115 */
116
117VNET_DECLARE(struct inpcbhead, ripcb);
118VNET_DECLARE(struct inpcbinfo, ripcbinfo);
119#define V_ripcb VNET(ripcb)
120#define V_ripcbinfo VNET(ripcbinfo)
121
122VNET_DEFINE(struct rip6stat, rip6stat);
123
124extern u_long rip_sendspace;
125extern u_long rip_recvspace;
126
122extern u_long rip_sendspace;
123extern u_long rip_recvspace;
124
125VNET_DEFINE(struct rip6stat, rip6stat);
126
127/*
128 * Hooks for multicast routing. They all default to NULL, so leave them not
129 * initialized and rely on BSS being set to 0.
130 */
131
132/*
133 * The socket used to communicate with the multicast routing daemon.
134 */

--- 764 unchanged lines hidden ---
127/*
128 * Hooks for multicast routing. They all default to NULL, so leave them not
129 * initialized and rely on BSS being set to 0.
130 */
131
132/*
133 * The socket used to communicate with the multicast routing daemon.
134 */

--- 764 unchanged lines hidden ---