ip_output.c (27845) | ip_output.c (30309) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1988, 1990, 1993 3 * The Regents of the University of California. 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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)ip_output.c 8.3 (Berkeley) 1/21/94 | 1/* 2 * Copyright (c) 1982, 1986, 1988, 1990, 1993 3 * The Regents of the University of California. 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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)ip_output.c 8.3 (Berkeley) 1/21/94 |
34 * $Id: ip_output.c,v 1.57 1997/06/02 05:02:37 julian Exp $ | 34 * $Id: ip_output.c,v 1.58 1997/08/02 14:32:53 bde Exp $ |
35 */ 36 37#define _IP_VHL 38 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/malloc.h> 42#include <sys/mbuf.h> --- 11 unchanged lines hidden (view full) --- 54#include <netinet/in_var.h> 55#include <netinet/ip_var.h> 56 57#ifdef vax 58#include <machine/mtpr.h> 59#endif 60#include <machine/in_cksum.h> 61 | 35 */ 36 37#define _IP_VHL 38 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/malloc.h> 42#include <sys/mbuf.h> --- 11 unchanged lines hidden (view full) --- 54#include <netinet/in_var.h> 55#include <netinet/ip_var.h> 56 57#ifdef vax 58#include <machine/mtpr.h> 59#endif 60#include <machine/in_cksum.h> 61 |
62MALLOC_DEFINE(M_IPMOPTS, "ip_moptions", "internet multicast options"); 63 |
|
62#if !defined(COMPAT_IPFW) || COMPAT_IPFW == 1 63#undef COMPAT_IPFW 64#define COMPAT_IPFW 1 65#else 66#undef COMPAT_IPFW 67#endif 68 69u_short ip_id; --- 1263 unchanged lines hidden --- | 64#if !defined(COMPAT_IPFW) || COMPAT_IPFW == 1 65#undef COMPAT_IPFW 66#define COMPAT_IPFW 1 67#else 68#undef COMPAT_IPFW 69#endif 70 71u_short ip_id; --- 1263 unchanged lines hidden --- |