display selected IKE proposal in ipsec statusall

This commit is contained in:
Andreas Steffen
2008-06-22 11:24:33 +00:00
parent ff8d906b07
commit bc997f6583
4 changed files with 87 additions and 17 deletions
+15
View File
@@ -703,6 +703,21 @@ struct ike_sa_t {
chunk_t nonce_i, chunk_t nonce_r,
bool initiator, prf_t *child_prf, prf_t *old_prf);
/**
* Get the selected IKE proposal string
*
* @return string describing the selected IKE proposal
*/
char* (*get_proposal)(ike_sa_t *this);
/**
* Set the selected IKE proposal string for status information purposes
* (the "%P" printf format handler is used)
*
* @param proposal string describing the selected IKE proposal
*/
void (*set_proposal)(ike_sa_t *this, char *proposal);
/**
* Get a multi purpose prf for the negotiated PRF function.
*