use MOBIKE enabled DPD if we are NATed

update SAs if we detect changes in NAT mappings
This commit is contained in:
Martin Willi
2008-10-06 13:37:04 +00:00
parent 0592212f23
commit 9d9a772ee1
6 changed files with 113 additions and 4 deletions
+9
View File
@@ -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);
};
/**