ikev2: Handle REDIRECT notifies during IKE_SA_INIT

This commit is contained in:
Tobias Brunner
2016-03-04 16:02:58 +01:00
parent dd2b335b79
commit c126ddd048
3 changed files with 64 additions and 0 deletions
+10
View File
@@ -847,6 +847,16 @@ struct ike_sa_t {
*/
void (*send_keepalive) (ike_sa_t *this, bool scheduled);
/**
* Handle a redirect request.
*
* The behavior is different depending on the state of the IKE_SA.
*
* @param gateway gateway ID (IP or FQDN) of the target
* @return FALSE if redirect not possible, TRUE otherwise
*/
bool (*handle_redirect)(ike_sa_t *this, identification_t *gateway);
/**
* Get the keying material of this IKE_SA.
*