added all currently known notify payload types
authorMartin Willi <martin@strongswan.org>
Wed, 12 Jul 2006 14:05:57 +0000 (14:05 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 12 Jul 2006 14:05:57 +0000 (14:05 -0000)
src/charon/encoding/payloads/notify_payload.c
src/charon/encoding/payloads/notify_payload.h

index 335ee4a..a147ae7 100644 (file)
@@ -52,9 +52,24 @@ mapping_t notify_type_m[] = {
        {INVALID_SELECTORS, "INVALID_SELECTORS"},
        {INITIAL_CONTACT, "INITIAL_CONTACT"},
        {SET_WINDOW_SIZE, "SET_WINDOW_SIZE"},
+       {ADDITIONAL_TS_POSSIBLE, "ADDITIONAL_TS_POSSIBLE"},
+       {IPCOMP_SUPPORTED, "IPCOMP_SUPPORTED"},
        {NAT_DETECTION_SOURCE_IP, "NAT_DETECTION_SOURCE_IP"},
        {NAT_DETECTION_DESTINATION_IP, "NAT_DETECTION_DESTINATION_IP"},
+       {COOKIE, "COOKIE"},
+       {USE_TRANSPORT_MODE, "USE_TRANSPORT_MODE"},
+       {HTTP_CERT_LOOKUP_SUPPORTED, "HTTP_CERT_LOOKUP_SUPPORTED"},
        {REKEY_SA, "REKEY_SA"},
+       {ESP_TFC_PADDING_NOT_SUPPORTED, "ESP_TFC_PADDING_NOT_SUPPORTED"},
+       {NON_FIRST_FRAGMENTS_ALSO, "NON_FIRST_FRAGMENTS_ALSO"},
+       {MOBIKE_SUPPORTED, "MOBIKE_SUPPORTED"},
+       {ADDITIONAL_IP4_ADDRESS, "ADDITIONAL_IP4_ADDRESS"},
+       {ADDITIONAL_IP6_ADDRESS, "ADDITIONAL_IP6_ADDRESS"},
+       {NO_ADDITIONAL_ADDRESSES, "NO_ADDITIONAL_ADDRESSES"},
+       {UPDATE_SA_ADDRESSES, "UPDATE_SA_ADDRESSES"},
+       {COOKIE2, "COOKIE2"},
+       {NO_NATS_ALLOWED, "NO_NATS_ALLOWED"},
+       {AUTH_LIFETIME, "AUTH_LIFETIME"},
        {MAPPING_END, NULL}
 };
 
index 15a010d..d09b743 100644 (file)
@@ -49,6 +49,7 @@ typedef enum notify_type_t notify_type_t;
  * @ingroup payloads
  */
 enum notify_type_t {
+       /* notify error messages */
        UNSUPPORTED_CRITICAL_PAYLOAD = 1,
        INVALID_IKE_SPI = 4,
        INVALID_MAJOR_VERSION = 5,
@@ -64,12 +65,29 @@ enum notify_type_t {
        FAILED_CP_REQUIRED = 37,
        TS_UNACCEPTABLE = 38,
        INVALID_SELECTORS = 39,
-       
+       /* notify status messages */
        INITIAL_CONTACT = 16384,
        SET_WINDOW_SIZE = 16385,
+       ADDITIONAL_TS_POSSIBLE = 16386,
+       IPCOMP_SUPPORTED = 16387,
        NAT_DETECTION_SOURCE_IP = 16388,
        NAT_DETECTION_DESTINATION_IP = 16389,
+       COOKIE = 16390,
+       USE_TRANSPORT_MODE = 16391,
+       HTTP_CERT_LOOKUP_SUPPORTED = 16392,
        REKEY_SA = 16393,
+       ESP_TFC_PADDING_NOT_SUPPORTED = 16394,
+       NON_FIRST_FRAGMENTS_ALSO = 16395,
+       /* mobike extension, RFC4555 */
+       MOBIKE_SUPPORTED = 16396,
+       ADDITIONAL_IP4_ADDRESS = 16397,
+       ADDITIONAL_IP6_ADDRESS = 16398,
+       NO_ADDITIONAL_ADDRESSES = 16399,
+       UPDATE_SA_ADDRESSES = 16400,
+       COOKIE2 = 16401,
+       NO_NATS_ALLOWED = 16402,
+       /* repeated authentication extension, RFC4478 */
+       AUTH_LIFETIME = 16403,
 };
 
 /**