summaryrefslogtreecommitdiff
path: root/sys/net/pfkeyv2.h
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2004-08-10 16:17:06 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2004-08-10 16:17:06 +0000
commit02434494e5dce999aa66431f81ad4e467c2de522 (patch)
tree8e7725e3a3f74c7ee4fc859459122c1aa0be1ba6 /sys/net/pfkeyv2.h
parent7d04bf8fce3cd95028d7b74d7863130feb233e34 (diff)
Add SADB_X_EXT_LIFETIME_LASTUSE for use with isakmpd/DPD, adding this
extends the bitmap to 64bits. Also repair SADB_GET. hshoexer@ ok.
Diffstat (limited to 'sys/net/pfkeyv2.h')
-rw-r--r--sys/net/pfkeyv2.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h
index 025d065cf13..824a7c4647f 100644
--- a/sys/net/pfkeyv2.h
+++ b/sys/net/pfkeyv2.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2.h,v 1.50 2004/01/27 09:27:17 markus Exp $ */
+/* $OpenBSD: pfkeyv2.h,v 1.51 2004/08/10 16:17:05 ho Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) January 1998
*
@@ -252,7 +252,8 @@ struct sadb_x_udpencap {
#define SADB_X_EXT_REMOTE_AUTH 29
#define SADB_X_EXT_SUPPORTED_COMP 30
#define SADB_X_EXT_UDPENCAP 31
-#define SADB_EXT_MAX 31
+#define SADB_X_EXT_LIFETIME_LASTUSE 32
+#define SADB_EXT_MAX 32
/* Fix pfkeyv2.c struct pfkeyv2_socket if SATYPE_MAX > 31 */
#define SADB_SATYPE_UNSPEC 0
@@ -330,6 +331,7 @@ struct sadb_x_udpencap {
#define PFKEYV2_LIFETIME_HARD 0
#define PFKEYV2_LIFETIME_SOFT 1
#define PFKEYV2_LIFETIME_CURRENT 2
+#define PFKEYV2_LIFETIME_LASTUSE 3
#define PFKEYV2_IDENTITY_SRC 0
#define PFKEYV2_IDENTITY_DST 1