ike-sa: Remove unused counter for pending MOBIKE updates
This commit is contained in:
@@ -231,11 +231,6 @@ struct private_ike_sa_t {
|
|||||||
*/
|
*/
|
||||||
chunk_t nat_detection_dest;
|
chunk_t nat_detection_dest;
|
||||||
|
|
||||||
/**
|
|
||||||
* number pending UPDATE_SA_ADDRESS (MOBIKE)
|
|
||||||
*/
|
|
||||||
uint32_t pending_updates;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NAT keep alive interval
|
* NAT keep alive interval
|
||||||
*/
|
*/
|
||||||
@@ -1055,18 +1050,6 @@ METHOD(ike_sa_t, has_mapping_changed, bool,
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
METHOD(ike_sa_t, set_pending_updates, void,
|
|
||||||
private_ike_sa_t *this, uint32_t updates)
|
|
||||||
{
|
|
||||||
this->pending_updates = updates;
|
|
||||||
}
|
|
||||||
|
|
||||||
METHOD(ike_sa_t, get_pending_updates, uint32_t,
|
|
||||||
private_ike_sa_t *this)
|
|
||||||
{
|
|
||||||
return this->pending_updates;
|
|
||||||
}
|
|
||||||
|
|
||||||
METHOD(ike_sa_t, float_ports, void,
|
METHOD(ike_sa_t, float_ports, void,
|
||||||
private_ike_sa_t *this)
|
private_ike_sa_t *this)
|
||||||
{
|
{
|
||||||
@@ -2973,8 +2956,6 @@ ike_sa_t * ike_sa_create(ike_sa_id_t *ike_sa_id, bool initiator,
|
|||||||
.supports_extension = _supports_extension,
|
.supports_extension = _supports_extension,
|
||||||
.set_condition = _set_condition,
|
.set_condition = _set_condition,
|
||||||
.has_condition = _has_condition,
|
.has_condition = _has_condition,
|
||||||
.set_pending_updates = _set_pending_updates,
|
|
||||||
.get_pending_updates = _get_pending_updates,
|
|
||||||
.create_peer_address_enumerator = _create_peer_address_enumerator,
|
.create_peer_address_enumerator = _create_peer_address_enumerator,
|
||||||
.add_peer_address = _add_peer_address,
|
.add_peer_address = _add_peer_address,
|
||||||
.clear_peer_addresses = _clear_peer_addresses,
|
.clear_peer_addresses = _clear_peer_addresses,
|
||||||
|
|||||||
@@ -646,20 +646,6 @@ struct ike_sa_t {
|
|||||||
*/
|
*/
|
||||||
bool (*has_condition) (ike_sa_t *this, ike_condition_t condition);
|
bool (*has_condition) (ike_sa_t *this, ike_condition_t condition);
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the number of queued MOBIKE address updates.
|
|
||||||
*
|
|
||||||
* @return number of pending updates
|
|
||||||
*/
|
|
||||||
uint32_t (*get_pending_updates)(ike_sa_t *this);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the number of queued MOBIKE address updates.
|
|
||||||
*
|
|
||||||
* @param updates number of pending updates
|
|
||||||
*/
|
|
||||||
void (*set_pending_updates)(ike_sa_t *this, uint32_t updates);
|
|
||||||
|
|
||||||
#ifdef ME
|
#ifdef ME
|
||||||
/**
|
/**
|
||||||
* Activate mediation server functionality for this IKE_SA.
|
* Activate mediation server functionality for this IKE_SA.
|
||||||
|
|||||||
Reference in New Issue
Block a user