added firewalling support when using virtual IPs

This commit is contained in:
Martin Willi
2007-03-01 12:31:58 +00:00
parent 0c8aba6771
commit 8f03147376
3 changed files with 40 additions and 16 deletions
+11
View File
@@ -258,6 +258,17 @@ struct child_sa_t {
*/
policy_t* (*get_policy) (child_sa_t *this);
/**
* @brief Set the virtual IP used received from IRAS.
*
* To allow proper setup of firewall rules, the virtual IP is required
* for filtering.
*
* @param this calling object
* @param ip own virtual IP
*/
void (*set_virtual_ip) (child_sa_t *this, host_t *ip);
/**
* @brief Destroys a child_sa.
*