- introduced new encoding type KEY_EXCHANGE_DATA
authorJan Hutter <jhutter@hsr.ch>
Tue, 15 Nov 2005 14:08:54 +0000 (14:08 -0000)
committerJan Hutter <jhutter@hsr.ch>
Tue, 15 Nov 2005 14:08:54 +0000 (14:08 -0000)
Source/charon/payloads/encodings.c
Source/charon/payloads/encodings.h

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