diff options
author | Martin Willi <martin@strongswan.org> | 2005-12-06 13:44:22 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-12-06 13:44:22 +0000 |
commit | c3dc864eaa5cebae57be1b0e9339f2e7ebdbfe15 (patch) | |
tree | 2baf1492686585fa1cd4dc1aa12dded74b4a85d9 /Source/charon/encoding/payloads/ike_header.h | |
parent | 59de50868b77f48ab78a31d4ad684e4e59d2e81f (diff) | |
download | strongswan-c3dc864eaa5cebae57be1b0e9339f2e7ebdbfe15.tar.bz2 strongswan-c3dc864eaa5cebae57be1b0e9339f2e7ebdbfe15.tar.xz |
- code cleanup of encoding package
Diffstat (limited to 'Source/charon/encoding/payloads/ike_header.h')
-rw-r--r-- | Source/charon/encoding/payloads/ike_header.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/Source/charon/encoding/payloads/ike_header.h b/Source/charon/encoding/payloads/ike_header.h index c7f388092..ec55f0e18 100644 --- a/Source/charon/encoding/payloads/ike_header.h +++ b/Source/charon/encoding/payloads/ike_header.h @@ -66,7 +66,7 @@ typedef enum exchange_type_t exchange_type_t; enum exchange_type_t{ /** - * EXCHANGE_TYPE_UNDEFINED, not a official message type :-). + * EXCHANGE_TYPE_UNDEFINED. In private space, since not a official message type. */ EXCHANGE_TYPE_UNDEFINED = 240, @@ -91,19 +91,27 @@ enum exchange_type_t{ INFORMATIONAL = 37 }; +/** + * string mappings for exchange_type_t + * + * @ingroup payloads + */ extern mapping_t exchange_type_m[]; + typedef struct ike_header_t ike_header_t; /** - * An object of this type represents an IKEv2 header and is used to + * @brief An object of this type represents an IKEv2 header and is used to * generate and parse IKEv2 headers. * - * * The header format of an IKEv2-Message is compatible to the * ISAKMP-Header format to allow implementations supporting * both versions of the IKE-protocol. * + * @b Constructors: + * - ike_header_create() + * * @ingroup payloads */ struct ike_header_t { @@ -236,7 +244,7 @@ struct ike_header_t { /** * @brief Destroys a ike_header_t object. * - * @param this ike_header_t object to destroy + * @param this ike_header_t object to destroy */ void (*destroy) (ike_header_t *this); }; @@ -244,7 +252,7 @@ struct ike_header_t { /** * @brief Create an ike_header_t object * - * @return created ike_header_t object + * @return ike_header_t object * * @ingroup payloads */ |