Deleted Added
full compact
ip_reass.c (1817) ip_reass.c (2112)
1/*
2 * Copyright (c) 1982, 1986, 1988, 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_input.c 8.2 (Berkeley) 1/4/94
1/*
2 * Copyright (c) 1982, 1986, 1988, 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_input.c 8.2 (Berkeley) 1/4/94
34 * $Id$
34 * $Id: ip_input.c,v 1.3 1994/08/02 07:48:38 davidg Exp $
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/malloc.h>
40#include <sys/mbuf.h>
41#include <sys/domain.h>
42#include <sys/protosw.h>

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

75
76extern struct domain inetdomain;
77extern struct protosw inetsw[];
78u_char ip_protox[IPPROTO_MAX];
79int ipqmaxlen = IFQ_MAXLEN;
80struct in_ifaddr *in_ifaddr; /* first inet address */
81struct ifqueue ipintrq;
82
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/malloc.h>
40#include <sys/mbuf.h>
41#include <sys/domain.h>
42#include <sys/protosw.h>

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

75
76extern struct domain inetdomain;
77extern struct protosw inetsw[];
78u_char ip_protox[IPPROTO_MAX];
79int ipqmaxlen = IFQ_MAXLEN;
80struct in_ifaddr *in_ifaddr; /* first inet address */
81struct ifqueue ipintrq;
82
83struct ipstat ipstat;
84struct ipq ipq;
85
83/*
84 * We need to save the IP options in case a protocol wants to respond
85 * to an incoming packet over the same route if the packet got here
86 * using IP source routing. This allows connection establishment and
87 * maintenance when the remote end is on a network that is not known
88 * to us.
89 */
90int ip_nhops = 0;

--- 1077 unchanged lines hidden ---
86/*
87 * We need to save the IP options in case a protocol wants to respond
88 * to an incoming packet over the same route if the packet got here
89 * using IP source routing. This allows connection establishment and
90 * maintenance when the remote end is on a network that is not known
91 * to us.
92 */
93int ip_nhops = 0;

--- 1077 unchanged lines hidden ---