summaryrefslogtreecommitdiff
path: root/programs/pluto/constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'programs/pluto/constants.h')
-rw-r--r--programs/pluto/constants.h29
1 files changed, 25 insertions, 4 deletions
diff --git a/programs/pluto/constants.h b/programs/pluto/constants.h
index f18e93fed..cd0d6357d 100644
--- a/programs/pluto/constants.h
+++ b/programs/pluto/constants.h
@@ -1,3 +1,4 @@
+
/* manifest constants
* Copyright (C) 1997 Angelos D. Keromytis.
* Copyright (C) 1998-2002 D. Hugh Redelmeier.
@@ -12,7 +13,7 @@
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
- * RCSID $Id: constants.h,v 1.23 2007/01/10 00:36:19 as Exp $
+ * RCSID $Id: constants.h,v 1.27 2007/01/29 08:27:53 as Exp $
*/
#ifndef _CONSTANTS_H
@@ -551,8 +552,8 @@ enum state_kind {
#define IS_ISAKMP_SA_ESTABLISHED(s) ( \
(s) == STATE_MAIN_R3 \
|| (s) == STATE_MAIN_I4 \
- || (s) == STATE_XAUTH_R3 \
|| (s) == STATE_XAUTH_I2 \
+ || (s) == STATE_XAUTH_R3 \
|| (s) == STATE_MODE_CFG_R1 \
|| (s) == STATE_MODE_CFG_I2 \
|| (s) == STATE_MODE_CFG_I3 \
@@ -661,9 +662,8 @@ extern enum_names attr_msg_type_names;
#define SUPPORTED_ATTRIBUTES 14
#define INTERNAL_IP6_SUBNET 15
-#define MODECFG_ROOF 16
-
extern enum_names modecfg_attr_names;
+
/* XAUTH attribute values */
#define XAUTH_TYPE 16520
#define XAUTH_USER_NAME 16521
@@ -680,12 +680,33 @@ extern enum_names modecfg_attr_names;
extern enum_names xauth_attr_names;
+/* ISAKMP mode config attributes specific to the Unity vendor Id */
+#define UNITY_BANNER 28672
+#define UNITY_SAVE_PASSWD 28673
+#define UNITY_DEF_DOMAIN 28674
+#define UNITY_SPLITDNS_NAME 28675
+#define UNITY_SPLIT_INCLUDE 28676
+#define UNITY_NATT_PORT 28677
+#define UNITY_LOCAL_LAN 28678
+#define UNITY_PFS 28679
+#define UNITY_FW_TYPE 28680
+#define UNITY_BACKUP_SERVERS 28681
+#define UNITY_DDNS_HOSTNAME 28682
+
+#define UNITY_BASE UNITY_BANNER
+
+extern enum_names unity_attr_names;
+
/* XAUTH authentication types */
#define XAUTH_TYPE_GENERIC 0
#define XAUTH_TYPE_CHAP 1
#define XAUTH_TYPE_OTP 2
#define XAUTH_TYPE_SKEY 3
+/* Values for XAUTH_STATUS */
+#define XAUTH_STATUS_FAIL 0
+#define XAUTH_STATUS_OK 1
+
extern enum_names xauth_type_names;
/* Exchange types