- added protocol_id_t
authorJan Hutter <jhutter@hsr.ch>
Mon, 21 Nov 2005 08:01:15 +0000 (08:01 -0000)
committerJan Hutter <jhutter@hsr.ch>
Mon, 21 Nov 2005 08:01:15 +0000 (08:01 -0000)
Source/charon/payloads/proposal_substructure.h

index 35d9c9f..c8bd2c4 100644 (file)
  */
 #define PROPOSAL_SUBSTRUCTURE_HEADER_LENGTH 8
 
+
+/**
+ * Protocol ID of a proposal
+ */
+typedef enum protocol_id_e protocol_id_t;
+
+enum protocol_id_e {
+       UNDEFINED_PROTOCOL_ID = 201,
+       IKE = 1,
+       AH = 2,
+       ESP = 3,
+};         
+
 /**
  * Object representing an IKEv2- PROPOSAL SUBSTRUCTURE
  *