]> git.ipfire.org Git - thirdparty/strongswan.git/blobdiff - Source/charon/payloads/encodings.h
Introduced payload types sa_payload and proposal_substructure
[thirdparty/strongswan.git] / Source / charon / payloads / encodings.h
index 867955d44a763a83fd6e1f299d0df40ff14d8e00..e3db10839858480abe24052d3af4a3878f6281e4 100644 (file)
@@ -181,6 +181,15 @@ enum encoding_type_e{
         * The current read pointer is moved 32 bit forward afterwards.
         */
        SPI_SIZE,
+       /**
+        * Representating a spi field
+        * 
+        * When generating the content of the chunkt pointing to 
+        * is written.
+        * 
+        * When parsing SPI_SIZE bytes are read and written into the chunk pointing to.
+        */
+       SPI,
        /**
         * Representating one or more proposal substructures
         * 
@@ -192,7 +201,19 @@ enum encoding_type_e{
         * When parsing the parsed proposal_substructure_t objects have 
         * to be stored in the pointed linked_list.
         */     
-       PROPOSALS
+       PROPOSALS,
+       /**
+        * Representating one or more transform substructures
+        * 
+        * The offset points to a linked_list_t pointer.
+        * 
+        * When generating the transform_substructure_t objects are stored 
+        * in the pointed linked_list.
+        * 
+        * When parsing the parsed transform_substructure_t objects have 
+        * to be stored in the pointed linked_list.
+        */     
+       TRANSFORMS
 };
 
 /**