Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys correct missing inclusion of opt_ipsec.h



details:   https://anonhg.NetBSD.org/src/rev/053a249c83e3
branches:  trunk
changeset: 550849:053a249c83e3
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Aug 22 22:11:44 2003 +0000

description:
correct missing inclusion of opt_ipsec.h

diffstat:

 sys/netinet/ip_fil.c       |   6 ++++--
 sys/netinet6/nd6.c         |  10 ++++++++--
 sys/netinet6/udp6_output.c |   5 ++---
 3 files changed, 14 insertions(+), 7 deletions(-)

diffs (84 lines):

diff -r d0fa9a61a079 -r 053a249c83e3 sys/netinet/ip_fil.c
--- a/sys/netinet/ip_fil.c      Fri Aug 22 22:05:11 2003 +0000
+++ b/sys/netinet/ip_fil.c      Fri Aug 22 22:11:44 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_fil.c,v 1.94 2003/08/15 08:11:09 martti Exp $       */
+/*     $NetBSD: ip_fil.c,v 1.95 2003/08/22 22:11:44 itojun Exp $       */
 
 /*
  * Copyright (C) 1993-2001 by Darren Reed.
@@ -15,12 +15,14 @@
 #if defined(_KERNEL) && defined(__FreeBSD_version) && \
     (__FreeBSD_version >= 400000) && !defined(KLD_MODULE)
 #include "opt_inet6.h"
+#include "opt_ipsec.h"
 #endif
 #include <sys/param.h>
 #if defined(__NetBSD__) && (NetBSD >= 199905) && !defined(IPFILTER_LKM) && \
     defined(_KERNEL)  && !defined(_LKM)
 # include "opt_ipfilter_log.h"
 # include "opt_pfil_hooks.h"
+# include "opt_ipsec.h"
 #endif
 #if defined(__FreeBSD__) && !defined(__FreeBSD_version)
 # if !defined(_KERNEL) || defined(IPFILTER_LKM)
@@ -124,7 +126,7 @@
 #if !defined(lint)
 #if defined(__NetBSD__)
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_fil.c,v 1.94 2003/08/15 08:11:09 martti Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_fil.c,v 1.95 2003/08/22 22:11:44 itojun Exp $");
 #else
 static const char sccsid[] = "@(#)ip_fil.c     2.41 6/5/96 (C) 1993-2000 Darren Reed";
 static const char rcsid[] = "@(#)Id: ip_fil.c,v 2.42.2.60 2002/08/28 12:40:39 darrenr Exp";
diff -r d0fa9a61a079 -r 053a249c83e3 sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c        Fri Aug 22 22:05:11 2003 +0000
+++ b/sys/netinet6/nd6.c        Fri Aug 22 22:11:44 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nd6.c,v 1.86 2003/06/27 08:41:08 itojun Exp $  */
+/*     $NetBSD: nd6.c,v 1.87 2003/08/22 22:11:46 itojun Exp $  */
 /*     $KAME: nd6.c,v 1.279 2002/06/08 11:16:51 itojun Exp $   */
 
 /*
@@ -31,7 +31,9 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.86 2003/06/27 08:41:08 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.87 2003/08/22 22:11:46 itojun Exp $");
+
+#include "opt_ipsec.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -63,6 +65,10 @@
 #include <netinet6/nd6.h>
 #include <netinet/icmp6.h>
 
+#ifdef IPSEC
+#include <netinet6/ipsec.h>
+#endif
+
 #include "loop.h"
 extern struct ifnet loif[NLOOP];
 
diff -r d0fa9a61a079 -r 053a249c83e3 sys/netinet6/udp6_output.c
--- a/sys/netinet6/udp6_output.c        Fri Aug 22 22:05:11 2003 +0000
+++ b/sys/netinet6/udp6_output.c        Fri Aug 22 22:11:44 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: udp6_output.c,v 1.15 2003/08/22 22:00:41 itojun Exp $  */
+/*     $NetBSD: udp6_output.c,v 1.16 2003/08/22 22:11:46 itojun Exp $  */
 /*     $KAME: udp6_output.c,v 1.43 2001/10/15 09:19:52 itojun Exp $    */
 
 /*
@@ -62,9 +62,8 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: udp6_output.c,v 1.15 2003/08/22 22:00:41 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udp6_output.c,v 1.16 2003/08/22 22:11:46 itojun Exp $");
 
-#include "opt_ipsec.h"
 #include "opt_inet.h"
 
 #include <sys/param.h>



Home | Main Index | Thread Index | Old Index