ip_icmp.c (105194) | ip_icmp.c (105199) |
---|---|
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_icmp.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_icmp.c 8.2 (Berkeley) 1/4/94 |
34 * $FreeBSD: head/sys/netinet/ip_icmp.c 105194 2002-10-16 01:54:46Z sam $ | 34 * $FreeBSD: head/sys/netinet/ip_icmp.c 105199 2002-10-16 02:25:05Z sam $ |
35 */ 36 37#include "opt_ipsec.h" 38#include "opt_mac.h" 39 40#include <sys/param.h> 41#include <sys/systm.h> 42#include <sys/mac.h> --- 17 unchanged lines hidden (view full) --- 60#include <netinet/ip_var.h> 61#include <netinet/icmp_var.h> 62 63#ifdef IPSEC 64#include <netinet6/ipsec.h> 65#include <netkey/key.h> 66#endif 67 | 35 */ 36 37#include "opt_ipsec.h" 38#include "opt_mac.h" 39 40#include <sys/param.h> 41#include <sys/systm.h> 42#include <sys/mac.h> --- 17 unchanged lines hidden (view full) --- 60#include <netinet/ip_var.h> 61#include <netinet/icmp_var.h> 62 63#ifdef IPSEC 64#include <netinet6/ipsec.h> 65#include <netkey/key.h> 66#endif 67 |
68#ifdef FAST_IPSEC 69#include <netipsec/ipsec.h> 70#include <netipsec/key.h> 71#define IPSEC 72#endif 73 |
|
68#include <machine/in_cksum.h> 69 70/* 71 * ICMP routines: error generation, receive packet processing, and 72 * routines to turnaround packets back to the originator, and 73 * host table maintenance routines. 74 */ 75 --- 801 unchanged lines hidden --- | 74#include <machine/in_cksum.h> 75 76/* 77 * ICMP routines: error generation, receive packet processing, and 78 * routines to turnaround packets back to the originator, and 79 * host table maintenance routines. 80 */ 81 --- 801 unchanged lines hidden --- |