Deleted Added
full compact
in_pcb.c (102218) in_pcb.c (105199)
1/*
2 * Copyright (c) 1982, 1986, 1991, 1993, 1995
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 * @(#)in_pcb.c 8.4 (Berkeley) 5/24/95
1/*
2 * Copyright (c) 1982, 1986, 1991, 1993, 1995
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 * @(#)in_pcb.c 8.4 (Berkeley) 5/24/95
34 * $FreeBSD: head/sys/netinet/in_pcb.c 102218 2002-08-21 11:57:12Z truckman $
34 * $FreeBSD: head/sys/netinet/in_pcb.c 105199 2002-10-16 02:25:05Z sam $
35 */
36
37#include "opt_ipsec.h"
38#include "opt_inet6.h"
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/malloc.h>

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

67#include <netinet6/ip6_var.h>
68#endif /* INET6 */
69
70#ifdef IPSEC
71#include <netinet6/ipsec.h>
72#include <netkey/key.h>
73#endif /* IPSEC */
74
35 */
36
37#include "opt_ipsec.h"
38#include "opt_inet6.h"
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/malloc.h>

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

67#include <netinet6/ip6_var.h>
68#endif /* INET6 */
69
70#ifdef IPSEC
71#include <netinet6/ipsec.h>
72#include <netkey/key.h>
73#endif /* IPSEC */
74
75#ifdef FAST_IPSEC
76#if defined(IPSEC) || defined(IPSEC_ESP)
77#error "Bad idea: don't compile with both IPSEC and FAST_IPSEC!"
78#endif
79
80#include <netipsec/ipsec.h>
81#include <netipsec/key.h>
82#define IPSEC
83#endif /* FAST_IPSEC */
84
75struct in_addr zeroin_addr;
76
77/*
78 * These configure the range of local port addresses assigned to
79 * "unspecified" outgoing connections/packets/whatever.
80 */
81int ipport_lowfirstauto = IPPORT_RESERVED - 1; /* 1023 */
82int ipport_lowlastauto = IPPORT_RESERVEDSTART; /* 600 */

--- 991 unchanged lines hidden ---
85struct in_addr zeroin_addr;
86
87/*
88 * These configure the range of local port addresses assigned to
89 * "unspecified" outgoing connections/packets/whatever.
90 */
91int ipport_lowfirstauto = IPPORT_RESERVED - 1; /* 1023 */
92int ipport_lowlastauto = IPPORT_RESERVEDSTART; /* 600 */

--- 991 unchanged lines hidden ---