summaryrefslogtreecommitdiff
path: root/sbin/iked/ikev2.h
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2012-05-07 10:58:39 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2012-05-07 10:58:39 +0000
commitc22f86d7362985fbc9771122412f72d80bd1cdd1 (patch)
tree9a0278d9573a4af35ec744287cda6d0ad8af9910 /sbin/iked/ikev2.h
parentc27e24609a954966a6597c8a68ceb55551ba9303 (diff)
Sync up several defines with RFC 5996. IANA has changed the existing
IKEv2 Payload Type "Encrypted" (E) to "Encrypted and Authenticated" (SK).
Diffstat (limited to 'sbin/iked/ikev2.h')
-rw-r--r--sbin/iked/ikev2.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/iked/ikev2.h b/sbin/iked/ikev2.h
index f4176fdc665..29e5067ad5e 100644
--- a/sbin/iked/ikev2.h
+++ b/sbin/iked/ikev2.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ikev2.h,v 1.6 2010/07/03 16:59:35 reyk Exp $ */
+/* $OpenBSD: ikev2.h,v 1.7 2012/05/07 10:58:38 mikeb Exp $ */
/* $vantronix: ikev2.h,v 1.27 2010/05/19 12:20:30 reyk Exp $ */
/*
@@ -120,7 +120,7 @@ struct ikev2_payload {
#define IKEV2_PAYLOAD_VENDOR 43 /* Vendor ID */
#define IKEV2_PAYLOAD_TSi 44 /* Traffic Selector - Initiator */
#define IKEV2_PAYLOAD_TSr 45 /* Traffic Selector - Responder */
-#define IKEV2_PAYLOAD_E 46 /* Encrypted */
+#define IKEV2_PAYLOAD_SK 46 /* Encrypted */
#define IKEV2_PAYLOAD_CP 47 /* Configuration Payload */
#define IKEV2_PAYLOAD_EAP 48 /* Extensible Authentication */
@@ -313,6 +313,8 @@ struct ikev2_notify {
#define IKEV2_N_UNACCEPTABLE_ADDRESSES 40 /* RFC4555 */
#define IKEV2_N_UNEXPECTED_NAT_DETECTED 41 /* RFC4555 */
#define IKEV2_N_USE_ASSIGNED_HoA 42 /* RFC5026 */
+#define IKEV2_N_TEMPORARY_FAILURE 43 /* RFC5996 */
+#define IKEV2_N_CHILD_SA_NOT_FOUND 44 /* RFC5996 */
#define IKEV2_N_INITIAL_CONTACT 16384 /* RFC4306 */
#define IKEV2_N_SET_WINDOW_SIZE 16385 /* RFC4306 */
#define IKEV2_N_ADDITIONAL_TS_POSSIBLE 16386 /* RFC4306 */