ike-sa-manager: Add method to change the initiator SPI of an IKE_SA
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2015 Tobias Brunner
|
||||
* Copyright (C) 2008-2017 Tobias Brunner
|
||||
* Copyright (C) 2005-2008 Martin Willi
|
||||
* Copyright (C) 2005 Jan Hutter
|
||||
* Hochschule fuer Technik Rapperswil
|
||||
* HSR Hochschule fuer Technik Rapperswil
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
@@ -108,6 +108,17 @@ struct ike_sa_manager_t {
|
||||
ike_sa_t* (*checkout_by_config) (ike_sa_manager_t* this,
|
||||
peer_cfg_t *peer_cfg);
|
||||
|
||||
/**
|
||||
* Reset initiator SPI.
|
||||
*
|
||||
* Allocate a new initiator SPI for the given IKE_SA in state IKE_CONNECTING
|
||||
* and update internal data.
|
||||
*
|
||||
* @param ike_sa IKE_SA to update
|
||||
* @return TRUE if SPI successfully changed
|
||||
*/
|
||||
bool (*new_initiator_spi)(ike_sa_manager_t* this, ike_sa_t *ike_sa);
|
||||
|
||||
/**
|
||||
* Check for duplicates of the given IKE_SA.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user