aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/encoding/payloads/proposal_substructure.c
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-12-02 11:38:56 +0000
committerJan Hutter <jhutter@hsr.ch>2005-12-02 11:38:56 +0000
commitae3012a0ea0e06e29212f1967b5b71e90460fb43 (patch)
treea4c055426b079946c4e803fd5534e56b79a41323 /Source/charon/encoding/payloads/proposal_substructure.c
parent2848a7ba33ee0158c9dfee383c3ea8be02060f7e (diff)
downloadstrongswan-ae3012a0ea0e06e29212f1967b5b71e90460fb43.tar.bz2
strongswan-ae3012a0ea0e06e29212f1967b5b71e90460fb43.tar.xz
- added notify message handling to ike_sa_init_requested_t and
responder_init_t
Diffstat (limited to 'Source/charon/encoding/payloads/proposal_substructure.c')
-rw-r--r--Source/charon/encoding/payloads/proposal_substructure.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/charon/encoding/payloads/proposal_substructure.c b/Source/charon/encoding/payloads/proposal_substructure.c
index 05b375ef9..e207e77e8 100644
--- a/Source/charon/encoding/payloads/proposal_substructure.c
+++ b/Source/charon/encoding/payloads/proposal_substructure.c
@@ -31,6 +31,18 @@
#include <utils/allocator.h>
#include <utils/linked_list.h>
+/**
+ * String mappings for protocol_id_t.
+ */
+mapping_t protocol_id_m[] = {
+ {UNDEFINED_PROTOCOL_ID, "UNDEFINED_PROTOCOL_ID"},
+ {IKE, "IKE"},
+ {AH, "AH"},
+ {ESP, "ESP"},
+ {MAPPING_END, NULL}
+};
+
+
typedef struct private_proposal_substructure_t private_proposal_substructure_t;
/**