diff options
author | Martin Willi <martin@strongswan.org> | 2007-04-19 08:02:19 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-04-19 08:02:19 +0000 |
commit | 1fd5383e61d82d3dbb5b9d3087290f0741b147e6 (patch) | |
tree | aeef2b3ca5a8bc1cbbce731d877c2464a3887d40 /src/charon/config/child_cfg.h | |
parent | 41ab00da6bf977cba823d29fc087e8fa508d94f8 (diff) | |
download | strongswan-1fd5383e61d82d3dbb5b9d3087290f0741b147e6.tar.bz2 strongswan-1fd5383e61d82d3dbb5b9d3087290f0741b147e6.tar.xz |
added PDF support for CHILD_SAs
support for INVALID_KE_PAYLOAD negotiation for rekeying
Diffstat (limited to 'src/charon/config/child_cfg.h')
-rw-r--r-- | src/charon/config/child_cfg.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/charon/config/child_cfg.h b/src/charon/config/child_cfg.h index 6b2299089..e1a6553b4 100644 --- a/src/charon/config/child_cfg.h +++ b/src/charon/config/child_cfg.h @@ -96,9 +96,10 @@ struct child_cfg_t { * Resulting list and all of its proposals must be freed after use. * * @param this calling object + * @param strip_dh TRUE strip out diffie hellman groups * @return list of proposals */ - linked_list_t* (*get_proposals)(child_cfg_t *this); + linked_list_t* (*get_proposals)(child_cfg_t *this, bool strip_dh); /** * @brief Select a proposal from a supplied list. @@ -107,9 +108,11 @@ struct child_cfg_t { * * @param this calling object * @param proposals list from from wich proposals are selected + * @param strip_dh TRUE strip out diffie hellman groups * @return selected proposal, or NULL if nothing matches */ - proposal_t* (*select_proposal)(child_cfg_t*this, linked_list_t *proposals); + proposal_t* (*select_proposal)(child_cfg_t*this, linked_list_t *proposals, + bool strip_dh); /** * @brief Add a traffic selector to the config. @@ -189,6 +192,14 @@ struct child_cfg_t { mode_t (*get_mode) (child_cfg_t *this); /** + * @brief Get the DH group to use for CHILD_SA setup. + * + * @param this calling object + * @return dh group to use + */ + diffie_hellman_group_t (*get_dh_group)(child_cfg_t *this); + + /** * @brief Get a new reference. * * Get a new reference to this child_cfg by increasing |