ike-sa: Remove unused counter for pending MOBIKE updates

This commit is contained in:
Tobias Brunner
2018-02-09 11:21:02 +01:00
parent 9f0497818c
commit 80ae474863
2 changed files with 0 additions and 33 deletions
-19
View File
@@ -231,11 +231,6 @@ struct private_ike_sa_t {
*/
chunk_t nat_detection_dest;
/**
* number pending UPDATE_SA_ADDRESS (MOBIKE)
*/
uint32_t pending_updates;
/**
* NAT keep alive interval
*/
@@ -1055,18 +1050,6 @@ METHOD(ike_sa_t, has_mapping_changed, bool,
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,
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,
.set_condition = _set_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,
.add_peer_address = _add_peer_address,
.clear_peer_addresses = _clear_peer_addresses,
-14
View File
@@ -646,20 +646,6 @@ struct ike_sa_t {
*/
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
/**
* Activate mediation server functionality for this IKE_SA.