Added encoding_type_t NOTIFICATION_DATA
authorJan Hutter <jhutter@hsr.ch>
Tue, 15 Nov 2005 15:20:26 +0000 (15:20 -0000)
committerJan Hutter <jhutter@hsr.ch>
Tue, 15 Nov 2005 15:20:26 +0000 (15:20 -0000)
Source/charon/payloads/encodings.c
Source/charon/payloads/encodings.h

index 3308239..eb26819 100644 (file)
@@ -39,6 +39,7 @@ mapping_t encoding_type_t_mappings[] = {
        {SPI_SIZE, "SPI_SIZE"},
        {SPI, "SPI"},
        {KEY_EXCHANGE_DATA, "KEY_EXCHANGE_DATA"},
+       {NOTIFICATION_DATA, "NOTIFICATION_DATA"},
        {PROPOSALS, "PROPOSALS"},
        {TRANSFORMS, "TRANSFORMS"},
        {TRANSFORM_ATTRIBUTES, "TRANSFORM_ATTRIBUTES"},
index 7ee744c..2c69d49 100644 (file)
@@ -191,7 +191,7 @@ enum encoding_type_e{
         */
        SPI,
        /**
-        * Representating a Jey Exchange Data field
+        * Representating a Key Exchange Data field
         * 
         * When generating the content of the chunkt pointing to 
         * is written.
@@ -200,6 +200,15 @@ enum encoding_type_e{
         */
        KEY_EXCHANGE_DATA,
        /**
+        * Representating a Notification field
+        * 
+        * When generating the content of the chunkt pointing to 
+        * is written.
+        * 
+        * When parsing (Payload Length - spi size - 8) bytes are read and written into the chunk pointing to.
+        */
+       NOTIFICATION_DATA,
+       /**
         * Representating one or more proposal substructures
         * 
         * The offset points to a linked_list_t pointer.