udp_usrreq.c (93593) | udp_usrreq.c (95759) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1988, 1990, 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 * @(#)udp_usrreq.c 8.6 (Berkeley) 5/23/95 | 1/* 2 * Copyright (c) 1982, 1986, 1988, 1990, 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 * @(#)udp_usrreq.c 8.6 (Berkeley) 5/23/95 |
34 * $FreeBSD: head/sys/netinet/udp_usrreq.c 93593 2002-04-01 21:31:13Z jhb $ | 34 * $FreeBSD: head/sys/netinet/udp_usrreq.c 95759 2002-04-30 01:54:54Z tanimura $ |
35 */ 36 37#include "opt_ipsec.h" 38#include "opt_inet6.h" 39 40#include <sys/param.h> 41#include <sys/systm.h> | 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/domain.h> 43#include <sys/jail.h> |
|
42#include <sys/kernel.h> | 44#include <sys/kernel.h> |
45#include <sys/lock.h> |
|
43#include <sys/malloc.h> 44#include <sys/mbuf.h> | 46#include <sys/malloc.h> 47#include <sys/mbuf.h> |
45#include <sys/domain.h> | |
46#include <sys/proc.h> 47#include <sys/protosw.h> | 48#include <sys/proc.h> 49#include <sys/protosw.h> |
50#include <sys/signalvar.h> |
|
48#include <sys/socket.h> 49#include <sys/socketvar.h> | 51#include <sys/socket.h> 52#include <sys/socketvar.h> |
53#include <sys/sx.h> |
|
50#include <sys/sysctl.h> 51#include <sys/syslog.h> | 54#include <sys/sysctl.h> 55#include <sys/syslog.h> |
52#include <sys/jail.h> | |
53 54#include <vm/uma.h> 55 56#include <net/if.h> 57#include <net/route.h> 58 59#include <netinet/in.h> 60#include <netinet/in_systm.h> | 56 57#include <vm/uma.h> 58 59#include <net/if.h> 60#include <net/route.h> 61 62#include <netinet/in.h> 63#include <netinet/in_systm.h> |
64#include <netinet/in_pcb.h> 65#include <netinet/in_var.h> |
|
61#include <netinet/ip.h> 62#ifdef INET6 63#include <netinet/ip6.h> 64#endif | 66#include <netinet/ip.h> 67#ifdef INET6 68#include <netinet/ip6.h> 69#endif |
65#include <netinet/in_pcb.h> 66#include <netinet/in_var.h> | 70#include <netinet/ip_icmp.h> 71#include <netinet/icmp_var.h> |
67#include <netinet/ip_var.h> 68#ifdef INET6 69#include <netinet6/ip6_var.h> 70#endif | 72#include <netinet/ip_var.h> 73#ifdef INET6 74#include <netinet6/ip6_var.h> 75#endif |
71#include <netinet/ip_icmp.h> 72#include <netinet/icmp_var.h> | |
73#include <netinet/udp.h> 74#include <netinet/udp_var.h> 75 76#ifdef IPSEC 77#include <netinet6/ipsec.h> 78#endif /*IPSEC*/ 79 80#include <machine/in_cksum.h> --- 856 unchanged lines hidden --- | 76#include <netinet/udp.h> 77#include <netinet/udp_var.h> 78 79#ifdef IPSEC 80#include <netinet6/ipsec.h> 81#endif /*IPSEC*/ 82 83#include <machine/in_cksum.h> --- 856 unchanged lines hidden --- |