Deleted Added
full compact
ip_input.c (39043) ip_input.c (40435)
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: ip_input.c,v 1.100 1998/08/24 07:47:39 dfr Exp $
34 * $Id: ip_input.c,v 1.101 1998/09/10 08:56:40 dfr Exp $
35 * $ANA: ip_input.c,v 1.5 1996/09/18 14:34:59 wollman Exp $
36 */
37
38#define _IP_VHL
39
40#include "opt_bootp.h"
41#include "opt_ipfw.h"
42#include "opt_ipdivert.h"

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

219
220 for (i = 0; i < IPREASS_NHASH; i++)
221 ipq[i].next = ipq[i].prev = &ipq[i];
222
223 maxnipq = nmbclusters/4;
224
225 ip_id = time_second & 0xffff;
226 ipintrq.ifq_maxlen = ipqmaxlen;
35 * $ANA: ip_input.c,v 1.5 1996/09/18 14:34:59 wollman Exp $
36 */
37
38#define _IP_VHL
39
40#include "opt_bootp.h"
41#include "opt_ipfw.h"
42#include "opt_ipdivert.h"

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

219
220 for (i = 0; i < IPREASS_NHASH; i++)
221 ipq[i].next = ipq[i].prev = &ipq[i];
222
223 maxnipq = nmbclusters/4;
224
225 ip_id = time_second & 0xffff;
226 ipintrq.ifq_maxlen = ipqmaxlen;
227#ifdef IPFIREWALL
228 ip_fw_init();
229#endif
230#ifdef IPNAT
231 ip_nat_init();
232#endif
233#ifdef IPFILTER
234 iplattach();
235#endif
236
237}

--- 1357 unchanged lines hidden ---
227#ifdef IPNAT
228 ip_nat_init();
229#endif
230#ifdef IPFILTER
231 iplattach();
232#endif
233
234}

--- 1357 unchanged lines hidden ---