added some recent new attributes registered with IANA
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 7 Jan 2010 06:49:16 +0000 (07:49 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 7 Jan 2010 06:49:16 +0000 (07:49 +0100)
src/libstrongswan/attributes/attributes.c
src/libstrongswan/attributes/attributes.h

index 6ddf302..83feed1 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "attributes.h"
 
-ENUM_BEGIN(configuration_attribute_type_names, INTERNAL_IP4_ADDRESS, INTERNAL_IP6_SUBNET,
+ENUM_BEGIN(configuration_attribute_type_names, INTERNAL_IP4_ADDRESS, INTERNAL_IP6_PREFIX,
        "INTERNAL_IP4_ADDRESS",
        "INTERNAL_IP4_NETMASK",
        "INTERNAL_IP4_DNS",
@@ -32,8 +32,11 @@ ENUM_BEGIN(configuration_attribute_type_names, INTERNAL_IP4_ADDRESS, INTERNAL_IP
        "INTERNAL_IP6_DHCP",
        "INTERNAL_IP4_SUBNET",
        "SUPPORTED_ATTRIBUTES",
-       "INTERNAL_IP6_SUBNET");
-ENUM_NEXT(configuration_attribute_type_names, INTERNAL_IP4_SERVER, INTERNAL_IP6_SERVER, INTERNAL_IP6_SUBNET,
+       "INTERNAL_IP6_SUBNET",
+       "MIP6_HOME_PREFIX",
+       "INTERNAL_IP6_LINK",
+       "INTERNAL_IP6_PREFIX");
+ENUM_NEXT(configuration_attribute_type_names, INTERNAL_IP4_SERVER, INTERNAL_IP6_SERVER, INTERNAL_IP6_PREFIX,
        "INTERNAL_IP4_SERVER",
        "INTERNAL_IP6_SERVER");
 ENUM_END(configuration_attribute_type_names, INTERNAL_IP6_SERVER);
index efc427c..f4a396f 100644 (file)
@@ -45,6 +45,9 @@ enum configuration_attribute_type_t {
        INTERNAL_IP4_SUBNET = 13,
        SUPPORTED_ATTRIBUTES = 14,
        INTERNAL_IP6_SUBNET = 15,
+       MIP6_HOME_PREFIX = 16,
+       INTERNAL_IP6_LINK = 17,
+       INTERNAL_IP6_PREFIX = 18,
        /* proprietary Microsoft attributes */
        INTERNAL_IP4_SERVER = 23456,
        INTERNAL_IP6_SERVER = 23457