diff options
author | Martin Willi <martin@revosec.ch> | 2011-11-15 14:47:20 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-03-20 17:30:39 +0100 |
commit | e33b41e7b04440e93096786f304ce9b4a88c7cba (patch) | |
tree | 045d57a6a05b8693654ddef085cd0605e89bc6ad /src/libcharon/encoding/payloads/payload.h | |
parent | 867701bc6ddce3a5c4024a22b4715936bfcbb13e (diff) | |
download | strongswan-e33b41e7b04440e93096786f304ce9b4a88c7cba.tar.bz2 strongswan-e33b41e7b04440e93096786f304ce9b4a88c7cba.tar.xz |
Added IKEv1 payload identifiers
Diffstat (limited to 'src/libcharon/encoding/payloads/payload.h')
-rw-r--r-- | src/libcharon/encoding/payloads/payload.h | 69 |
1 files changed, 67 insertions, 2 deletions
diff --git a/src/libcharon/encoding/payloads/payload.h b/src/libcharon/encoding/payloads/payload.h index ad3023fe6..021383a1d 100644 --- a/src/libcharon/encoding/payloads/payload.h +++ b/src/libcharon/encoding/payloads/payload.h @@ -31,12 +31,12 @@ typedef struct payload_t payload_t; /** - * Payload-Types of a IKEv2-Message. + * Payload-Types of an IKE message. * * Header and substructures are also defined as * payload types with values from PRIVATE USE space. */ -enum payload_type_t{ +enum payload_type_t { /** * End of payload list in next_payload @@ -46,6 +46,71 @@ enum payload_type_t{ /** * The security association (SA) payload containing proposals. */ + SECURITY_ASSOCIATION_V1 = 1, + + /** + * The proposal payload, containing transforms. + */ + PROPOSAL_V1 = 2, + + /** + * The transform payload. + */ + TRANSFORM_V1 = 3, + + /** + * The key exchange (KE) payload containing diffie-hellman values. + */ + KEY_EXCHANGE_V1 = 4, + + /** + * ID payload. + */ + ID_V1 = 5, + + /** + * Certificate payload with certificates (CERT). + */ + CERTIFICATE_V1 = 6, + + /** + * Certificate request payload. + */ + CERTIFICATE_REQUEST_V1 = 7, + + /** + * Hash payload. + */ + HASH_V1 = 8, + + /** + * Signature payload + */ + SIGNATURE_V1 = 9, + + /** + * Nonce payload. + */ + NONCE_V1 = 10, + + /** + * Notification payload. + */ + NOTIFICATION_V1 = 11, + + /** + * Delete payload. + */ + DELETE_V1 = 12, + + /** + * Vendor id payload. + */ + VENDOR_ID_V1 = 13, + + /** + * The security association (SA) payload containing proposals. + */ SECURITY_ASSOCIATION = 33, /** |