diff options
author | Jan Hutter <jhutter@hsr.ch> | 2005-12-02 11:38:56 +0000 |
---|---|---|
committer | Jan Hutter <jhutter@hsr.ch> | 2005-12-02 11:38:56 +0000 |
commit | ae3012a0ea0e06e29212f1967b5b71e90460fb43 (patch) | |
tree | a4c055426b079946c4e803fd5534e56b79a41323 /Source/charon/encoding/payloads/proposal_substructure.c | |
parent | 2848a7ba33ee0158c9dfee383c3ea8be02060f7e (diff) | |
download | strongswan-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.c | 12 |
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; /** |