ikev2: Handle REDIRECT notifies during IKE_SA_INIT
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user