ip6_forward.c (53626) | ip6_forward.c (54263) |
---|---|
1/* 2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 3 * 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 --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 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 * | 1/* 2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 3 * 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 --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 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 * $FreeBSD: head/sys/netinet6/ip6_forward.c 53626 1999-11-23 05:42:36Z shin $ | 29 * $FreeBSD: head/sys/netinet6/ip6_forward.c 54263 1999-12-07 17:39:16Z shin $ |
30 */ 31 | 30 */ 31 |
32#include "opt_inet.h" | |
33#include "opt_key.h" 34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/malloc.h> 38#include <sys/mbuf.h> 39#include <sys/domain.h> 40#include <sys/protosw.h> --- 10 unchanged lines hidden (view full) --- 51#include <netinet/in_var.h> 52#include <netinet6/ip6.h> 53#include <netinet6/ip6_var.h> 54#include <netinet6/icmp6.h> 55#include <netinet6/nd6.h> 56 57#ifdef IPSEC_IPV6FWD 58#include <netinet6/ipsec.h> | 32#include "opt_key.h" 33 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <sys/malloc.h> 37#include <sys/mbuf.h> 38#include <sys/domain.h> 39#include <sys/protosw.h> --- 10 unchanged lines hidden (view full) --- 50#include <netinet/in_var.h> 51#include <netinet6/ip6.h> 52#include <netinet6/ip6_var.h> 53#include <netinet6/icmp6.h> 54#include <netinet6/nd6.h> 55 56#ifdef IPSEC_IPV6FWD 57#include <netinet6/ipsec.h> |
59#ifdef INET6 | |
60#include <netinet6/ipsec6.h> | 58#include <netinet6/ipsec6.h> |
61#endif /* INET6 */ | |
62#include <netkey/key.h> 63#ifdef KEY_DEBUG 64#include <netkey/key_debug.h> | 59#include <netkey/key.h> 60#ifdef KEY_DEBUG 61#include <netkey/key_debug.h> |
65#ifdef INET6 66#include <netkey/key_debug6.h> 67#endif /* INET6 */ | |
68#else 69#define DPRINTF(lev,arg) 70#define DDO(lev, stmt) 71#define DP(x, y, z) 72#endif /* KEY_DEBUG */ 73#endif /* IPSEC_IPV6FWD */ 74 75#ifdef IPV6FIREWALL --- 314 unchanged lines hidden --- | 62#else 63#define DPRINTF(lev,arg) 64#define DDO(lev, stmt) 65#define DP(x, y, z) 66#endif /* KEY_DEBUG */ 67#endif /* IPSEC_IPV6FWD */ 68 69#ifdef IPV6FIREWALL --- 314 unchanged lines hidden --- |