use MOBIKE enabled DPD if we are NATed
update SAs if we detect changes in NAT mappings
This commit is contained in:
@@ -38,6 +38,15 @@ struct ike_natd_t {
|
||||
* Implements the task_t interface
|
||||
*/
|
||||
task_t task;
|
||||
|
||||
/**
|
||||
* Check if the NAT mapping has changed for our address.
|
||||
*
|
||||
* MOBIKE uses NAT payloads in DPD to detect changes in the NAT mappings.
|
||||
*
|
||||
* @return TRUE if mappings have changed
|
||||
*/
|
||||
bool (*has_mapping_changed)(ike_natd_t *this);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user