Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netipsec Tweak header file inclusions
details: https://anonhg.NetBSD.org/src/rev/b45a1b210ee1
branches: trunk
changeset: 354039:b45a1b210ee1
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Fri Jun 02 03:32:51 2017 +0000
description:
Tweak header file inclusions
diffstat:
sys/netipsec/key.c | 6 ++----
sys/netipsec/keysock.h | 4 +++-
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (52 lines):
diff -r 4628ccf76ddb -r b45a1b210ee1 sys/netipsec/key.c
--- a/sys/netipsec/key.c Fri Jun 02 01:50:48 2017 +0000
+++ b/sys/netipsec/key.c Fri Jun 02 03:32:51 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: key.c,v 1.162 2017/06/02 01:22:50 ozaki-r Exp $ */
+/* $NetBSD: key.c,v 1.163 2017/06/02 03:32:51 ozaki-r Exp $ */
/* $FreeBSD: src/sys/netipsec/key.c,v 1.3.2.3 2004/02/14 22:23:23 bms Exp $ */
/* $KAME: key.c,v 1.191 2001/06/27 10:46:49 sakane Exp $ */
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.162 2017/06/02 01:22:50 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.163 2017/06/02 03:32:51 ozaki-r Exp $");
/*
* This code is referd to RFC 2367
@@ -51,7 +51,6 @@
#include <sys/kernel.h>
#include <sys/mbuf.h>
#include <sys/domain.h>
-#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/sysctl.h>
@@ -70,7 +69,6 @@
#include <net/if.h>
#include <net/route.h>
-#include <net/raw_cb.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
diff -r 4628ccf76ddb -r b45a1b210ee1 sys/netipsec/keysock.h
--- a/sys/netipsec/keysock.h Fri Jun 02 01:50:48 2017 +0000
+++ b/sys/netipsec/keysock.h Fri Jun 02 03:32:51 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: keysock.h,v 1.8 2016/01/20 21:44:00 riastradh Exp $ */
+/* $NetBSD: keysock.h,v 1.9 2017/06/02 03:32:51 ozaki-r Exp $ */
/* $FreeBSD: src/sys/netipsec/keysock.h,v 1.1.4.1 2003/01/24 05:11:36 sam Exp $ */
/* $KAME: keysock.h,v 1.8 2000/03/27 05:11:06 sumikawa Exp $ */
@@ -64,6 +64,8 @@
#define KEY_SENDUP_REGISTERED 2
#ifdef _KERNEL
+#include <net/raw_cb.h>
+
struct keycb {
struct rawcb kp_raw; /* rawcb */
int kp_promisc; /* promiscuous mode */
Home |
Main Index |
Thread Index |
Old Index