Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netipsec Fiddle a bit with const's to make FAST_IPSEC co...
details: https://anonhg.NetBSD.org/src/rev/a28d7b28ab43
branches: trunk
changeset: 765875:a28d7b28ab43
user: dyoung <dyoung%NetBSD.org@localhost>
date: Wed Jun 08 16:24:50 2011 +0000
description:
Fiddle a bit with const's to make FAST_IPSEC compile.
diffstat:
sys/netipsec/ipsec.c | 6 +++---
sys/netipsec/ipsec.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 3fd04c2f9d1c -r a28d7b28ab43 sys/netipsec/ipsec.c
--- a/sys/netipsec/ipsec.c Wed Jun 08 16:14:57 2011 +0000
+++ b/sys/netipsec/ipsec.c Wed Jun 08 16:24:50 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipsec.c,v 1.53 2011/06/05 01:45:37 christos Exp $ */
+/* $NetBSD: ipsec.c,v 1.54 2011/06/08 16:24:50 dyoung Exp $ */
/* $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/netipsec/ipsec.c,v 1.2.2.2 2003/07/01 01:38:13 sam Exp $ */
/* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.53 2011/06/05 01:45:37 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.54 2011/06/08 16:24:50 dyoung Exp $");
/*
* IPsec controller part.
@@ -1224,7 +1224,7 @@
ipsec_deepcopy_policy(const struct secpolicy *src)
{
struct ipsecrequest *newchain = NULL;
- const struct ipsecrequest *p;
+ struct ipsecrequest *p;
struct ipsecrequest **q;
struct ipsecrequest *r;
struct secpolicy *dst;
diff -r 3fd04c2f9d1c -r a28d7b28ab43 sys/netipsec/ipsec.h
--- a/sys/netipsec/ipsec.h Wed Jun 08 16:14:57 2011 +0000
+++ b/sys/netipsec/ipsec.h Wed Jun 08 16:24:50 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipsec.h,v 1.27 2011/06/05 01:40:40 christos Exp $ */
+/* $NetBSD: ipsec.h,v 1.28 2011/06/08 16:24:50 dyoung Exp $ */
/* $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/netipsec/ipsec.h,v 1.2.4.2 2004/02/14 22:23:23 bms Exp $ */
/* $KAME: ipsec.h,v 1.53 2001/11/20 08:32:38 itojun Exp $ */
@@ -282,7 +282,7 @@
#define ipsec_init_pcbpolicy ipsec_init_policy
int ipsec_init_policy (struct socket *so, struct inpcbpolicy **);
int ipsec_copy_policy
- (struct inpcbpolicy *, struct inpcbpolicy *);
+ (const struct inpcbpolicy *, struct inpcbpolicy *);
u_int ipsec_get_reqlevel (const struct ipsecrequest *);
int ipsec_in_reject (const struct secpolicy *, const struct mbuf *);
Home |
Main Index |
Thread Index |
Old Index