raw_ip6.c (193744) | raw_ip6.c (194581) |
---|---|
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 193744 2009-06-08 19:57:35Z bz $"); | 63__FBSDID("$FreeBSD: head/sys/netinet6/raw_ip6.c 194581 2009-06-21 10:29:31Z rdivacky $"); |
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> --- 68 unchanged lines hidden (view full) --- 140 141/* 142 * The various mrouter functions. 143 */ 144int (*ip6_mrouter_set)(struct socket *, struct sockopt *); 145int (*ip6_mrouter_get)(struct socket *, struct sockopt *); 146int (*ip6_mrouter_done)(void); 147int (*ip6_mforward)(struct ip6_hdr *, struct ifnet *, struct mbuf *); | 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> --- 68 unchanged lines hidden (view full) --- 140 141/* 142 * The various mrouter functions. 143 */ 144int (*ip6_mrouter_set)(struct socket *, struct sockopt *); 145int (*ip6_mrouter_get)(struct socket *, struct sockopt *); 146int (*ip6_mrouter_done)(void); 147int (*ip6_mforward)(struct ip6_hdr *, struct ifnet *, struct mbuf *); |
148int (*mrt6_ioctl)(int, caddr_t); | 148int (*mrt6_ioctl)(u_long, caddr_t); |
149 150/* 151 * Setup generic address and protocol structures for raw_input routine, then 152 * pass them along with mbuf chain. 153 */ 154int 155rip6_input(struct mbuf **mp, int *offp, int proto) 156{ --- 740 unchanged lines hidden --- | 149 150/* 151 * Setup generic address and protocol structures for raw_input routine, then 152 * pass them along with mbuf chain. 153 */ 154int 155rip6_input(struct mbuf **mp, int *offp, int proto) 156{ --- 740 unchanged lines hidden --- |