in_pcb.c (162064) | in_pcb.c (163606) |
---|---|
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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)in_pcb.c 8.4 (Berkeley) 5/24/95 |
30 * $FreeBSD: head/sys/netinet/in_pcb.c 162064 2006-09-06 13:56:35Z glebius $ | 30 * $FreeBSD: head/sys/netinet/in_pcb.c 163606 2006-10-22 11:52:19Z rwatson $ |
31 */ 32 33#include "opt_ipsec.h" 34#include "opt_inet6.h" 35#include "opt_mac.h" 36 37#include <sys/param.h> 38#include <sys/systm.h> | 31 */ 32 33#include "opt_ipsec.h" 34#include "opt_inet6.h" 35#include "opt_mac.h" 36 37#include <sys/param.h> 38#include <sys/systm.h> |
39#include <sys/mac.h> | |
40#include <sys/malloc.h> 41#include <sys/mbuf.h> 42#include <sys/domain.h> 43#include <sys/protosw.h> 44#include <sys/socket.h> 45#include <sys/socketvar.h> 46#include <sys/proc.h> 47#include <sys/jail.h> --- 27 unchanged lines hidden (view full) --- 75#if defined(IPSEC) || defined(IPSEC_ESP) 76#error "Bad idea: don't compile with both IPSEC and FAST_IPSEC!" 77#endif 78 79#include <netipsec/ipsec.h> 80#include <netipsec/key.h> 81#endif /* FAST_IPSEC */ 82 | 39#include <sys/malloc.h> 40#include <sys/mbuf.h> 41#include <sys/domain.h> 42#include <sys/protosw.h> 43#include <sys/socket.h> 44#include <sys/socketvar.h> 45#include <sys/proc.h> 46#include <sys/jail.h> --- 27 unchanged lines hidden (view full) --- 74#if defined(IPSEC) || defined(IPSEC_ESP) 75#error "Bad idea: don't compile with both IPSEC and FAST_IPSEC!" 76#endif 77 78#include <netipsec/ipsec.h> 79#include <netipsec/key.h> 80#endif /* FAST_IPSEC */ 81 |
82#include <security/mac/mac_framework.h> 83 |
|
83/* 84 * These configure the range of local port addresses assigned to 85 * "unspecified" outgoing connections/packets/whatever. 86 */ 87int ipport_lowfirstauto = IPPORT_RESERVED - 1; /* 1023 */ 88int ipport_lowlastauto = IPPORT_RESERVEDSTART; /* 600 */ 89int ipport_firstauto = IPPORT_HIFIRSTAUTO; /* 49152 */ 90int ipport_lastauto = IPPORT_HILASTAUTO; /* 65535 */ --- 1142 unchanged lines hidden --- | 84/* 85 * These configure the range of local port addresses assigned to 86 * "unspecified" outgoing connections/packets/whatever. 87 */ 88int ipport_lowfirstauto = IPPORT_RESERVED - 1; /* 1023 */ 89int ipport_lowlastauto = IPPORT_RESERVEDSTART; /* 600 */ 90int ipport_firstauto = IPPORT_HIFIRSTAUTO; /* 49152 */ 91int ipport_lastauto = IPPORT_HILASTAUTO; /* 65535 */ --- 1142 unchanged lines hidden --- |