diff options
Diffstat (limited to 'Source/charon/encoding/payloads/proposal_substructure.h')
-rw-r--r-- | Source/charon/encoding/payloads/proposal_substructure.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/charon/encoding/payloads/proposal_substructure.h b/Source/charon/encoding/payloads/proposal_substructure.h index 1da42d10d..134c4776e 100644 --- a/Source/charon/encoding/payloads/proposal_substructure.h +++ b/Source/charon/encoding/payloads/proposal_substructure.h @@ -37,27 +37,27 @@ #define PROPOSAL_SUBSTRUCTURE_HEADER_LENGTH 8 +typedef enum protocol_id_t protocol_id_t; + /** * Protocol ID of a proposal */ -typedef enum protocol_id_e protocol_id_t; - -enum protocol_id_e { +enum protocol_id_t { UNDEFINED_PROTOCOL_ID = 201, IKE = 1, AH = 2, ESP = 3, }; +typedef struct proposal_substructure_t proposal_substructure_t; + /** * Object representing an IKEv2- PROPOSAL SUBSTRUCTURE * * The PROPOSAL SUBSTRUCTURE format is described in RFC section 3.3.1. * */ -typedef struct proposal_substructure_s proposal_substructure_t; - -struct proposal_substructure_s { +struct proposal_substructure_t { /** * implements payload_t interface */ |