aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/sa/child_sa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/sa/child_sa.h')
-rw-r--r--src/charon/sa/child_sa.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/charon/sa/child_sa.h b/src/charon/sa/child_sa.h
index 018f9225c..c566e563c 100644
--- a/src/charon/sa/child_sa.h
+++ b/src/charon/sa/child_sa.h
@@ -203,10 +203,12 @@ struct child_sa_t {
* @param my_ts traffic selectors for local site
* @param other_ts traffic selectors for remote site
* @param mode mode for the SA: tunnel/transport
+ * @param proto protocol for policy, ESP/AH
* @return SUCCESS or FAILED
*/
status_t (*add_policies)(child_sa_t *this, linked_list_t *my_ts_list,
- linked_list_t *other_ts_list, mode_t mode);
+ linked_list_t *other_ts_list, mode_t mode,
+ protocol_id_t proto);
/**
* Get the traffic selectors of added policies of local host.