ike-sa: Keep track of the address of the gateway that redirected us

This commit is contained in:
Tobias Brunner
2016-03-04 16:02:58 +01:00
parent 489d154e63
commit e4af6e6b7a
2 changed files with 27 additions and 1 deletions
+7
View File
@@ -857,6 +857,13 @@ struct ike_sa_t {
*/
bool (*handle_redirect)(ike_sa_t *this, identification_t *gateway);
/**
* Get the address of the gateway that redirected us.
*
* @return original gateway address
*/
host_t *(*get_redirected_from)(ike_sa_t *this);
/**
* Get the keying material of this IKE_SA.
*