diff options
author | Jan Hutter <jhutter@hsr.ch> | 2005-11-14 09:00:33 +0000 |
---|---|---|
committer | Jan Hutter <jhutter@hsr.ch> | 2005-11-14 09:00:33 +0000 |
commit | 0063dae55a5342750b6ef6987143c08c825832c6 (patch) | |
tree | dd9d78baad733be85b1fe040186c19e932e97c77 /Source/charon/message.h | |
parent | 1e8bb886d161d0508b089892c318bc7bca63ff8c (diff) | |
download | strongswan-0063dae55a5342750b6ef6987143c08c825832c6.tar.bz2 strongswan-0063dae55a5342750b6ef6987143c08c825832c6.tar.xz |
- payload ike_header cleaned
- header defines moved from message.h to ike_header.h
Diffstat (limited to 'Source/charon/message.h')
-rw-r--r-- | Source/charon/message.h | 48 |
1 files changed, 1 insertions, 47 deletions
diff --git a/Source/charon/message.h b/Source/charon/message.h index 1d29cbf54..62ab11d02 100644 --- a/Source/charon/message.h +++ b/Source/charon/message.h @@ -26,53 +26,7 @@ #include "types.h" #include "packet.h" #include "ike_sa_id.h" - - -/** - * Major version of IKEv2-Protocol. Always 2 - */ -#define IKE_V2_MAJOR_VERSION 2 - -/** - * Minor version of IKEv2-Protocol. Always 0 - */ -#define IKE_V2_MINOR_VERSION 0 - -/** - * Flag in IKEv2-Header. Always 0 - */ -#define HIGHER_VERSION_SUPPORTED_FLAG 0 -/** - * @brief Different types of IKE-Exchanges. - * - * See RFC for different types. - */ -typedef enum exchange_type_e exchange_type_t; - -enum exchange_type_e{ - - /** - * NOT_SET, not a official message type :-) - */ - NOT_SET = 0, - - /** - * IKE_SA_INIT - */ - IKE_SA_INIT = 34, - /** - * IKE_AUTH - */ - IKE_AUTH = 35, - /** - * CREATE_CHILD_SA - */ - CREATE_CHILD_SA = 36, - /** - * INFORMATIONAL - */ - INFORMATIONAL = 37 -}; +#include "payloads/ike_header.h" /** * @brief This class is used to represent an IKEv2-Message. |