message: Fragment and reassemble IKEv2 messages

This commit is contained in:
Tobias Brunner
2014-10-10 09:32:41 +02:00
parent e8ffb256b3
commit c0f4936a23
2 changed files with 368 additions and 135 deletions
-5
View File
@@ -268,8 +268,6 @@ struct message_t {
* Generates the message split into fragments of the given size (total IP
* datagram length).
*
* @note Only supported for IKEv1 at the moment.
*
* @param keymat keymat to encrypt/sign message(s)
* @param frag_len fragment length (maximum total IP datagram length), 0
* for default value depending on address family
@@ -277,7 +275,6 @@ struct message_t {
* which are owned by the enumerator
* @return
* - SUCCESS if message could be fragmented
* - INVALID_STATE if message is IKEv2
* - FAILED if fragmentation failed
* - and the possible return values of generate()
*/
@@ -303,8 +300,6 @@ struct message_t {
* Once the message is completed it should be processed like any other
* inbound message.
*
* @note Only supported for IKEv1 at the moment.
*
* @param fragment fragment to add
* @return
* - SUCCESS if message was reassembled