aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/config
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/config')
-rw-r--r--Source/charon/config/sa_config.h52
-rw-r--r--Source/charon/config/traffic_selector.h4
2 files changed, 28 insertions, 28 deletions
diff --git a/Source/charon/config/sa_config.h b/Source/charon/config/sa_config.h
index a2cc3f897..ad9e33019 100644
--- a/Source/charon/config/sa_config.h
+++ b/Source/charon/config/sa_config.h
@@ -99,8 +99,8 @@ struct sa_config_t {
*
* Returned object is not getting cloned.
*
- * @param this calling object
- * @return own id
+ * @param this calling object
+ * @return own id
*/
identification_t *(*get_my_id) (sa_config_t *this);
@@ -109,23 +109,23 @@ struct sa_config_t {
*
* Returned object is not getting cloned.
*
- * @param this calling object
- * @return other id
+ * @param this calling object
+ * @return other id
*/
identification_t *(*get_other_id) (sa_config_t *this);
/**
* @brief Get authentication method to use for IKE_AUTH.
*
- * @param this calling object
- * @return authentication methood
+ * @param this calling object
+ * @return authentication methood
*/
auth_method_t (*get_auth_method) (sa_config_t *this);
/**
* @brief Get lifetime of IKE_SA in milliseconds.
*
- * @return IKE_SA lifetime in milliseconds.
+ * @return IKE_SA lifetime in milliseconds.
*/
u_int32_t (*get_ike_sa_lifetime) (sa_config_t *this);
@@ -138,9 +138,9 @@ struct sa_config_t {
* @warning Resulting pointer array must be freed!
* @warning Traffic selectors in array must be destroyed!
*
- * @param this calling object
- * @param[out]traffic_selectors pointer where traffic selectors will be allocated
- * @return number of returned traffic selectors
+ * @param this calling object
+ * @param[out] traffic_selectors pointer where traffic selectors will be allocated
+ * @return number of returned traffic selectors
*/
size_t (*get_traffic_selectors_initiator) (sa_config_t *this, traffic_selector_t **traffic_selectors[]);
@@ -154,9 +154,9 @@ struct sa_config_t {
* @warning Resulting pointer array must be freed!
* @warning Traffic selectors in array must be destroyed!
*
- * @param this calling object
- * @param[out]traffic_selectors pointer where traffic selectors will be allocated
- * @return number of returned traffic selectors
+ * @param this calling object
+ * @param[out] traffic_selectors pointer where traffic selectors will be allocated
+ * @return number of returned traffic selectors
*/
size_t (*get_traffic_selectors_responder) (sa_config_t *this, traffic_selector_t **traffic_selectors[]);
@@ -169,11 +169,11 @@ struct sa_config_t {
* @warning Resulting pointer array must be freed!
* @warning Traffic selectors in array must be destroyed!
*
- * @param this calling object
- * @param supplied pointer to an array of ts to select from.
- * @param count number of ts stored at supplied
- * @param[out]traffic_selectors pointer where selected traffic selectors will be allocated
- * @return number of selected traffic selectors
+ * @param this calling object
+ * @param supplied pointer to an array of ts to select from.
+ * @param count number of ts stored at supplied
+ * @param[out] traffic_selectors pointer where selected traffic selectors will be allocated
+ * @return number of selected traffic selectors
*/
size_t (*select_traffic_selectors_initiator) (sa_config_t *this, traffic_selector_t *supplied[], size_t count, traffic_selector_t **selected[]);
@@ -186,11 +186,11 @@ struct sa_config_t {
* @warning Resulting pointer array must be freed!
* @warning Traffic selectors in array must be destroyed!
*
- * @param this calling object
- * @param supplied pointer to an array of ts to select from.
- * @param count number of ts stored at supplied
- * @param[out]traffic_selectors pointer where selected traffic selectors will be allocated
- * @return number of selected traffic selectors
+ * @param this calling object
+ * @param supplied pointer to an array of ts to select from.
+ * @param count number of ts stored at supplied
+ * @param[out] traffic_selectors pointer where selected traffic selectors will be allocated
+ * @return number of selected traffic selectors
*/
size_t (*select_traffic_selectors_responder) (sa_config_t *this, traffic_selector_t *supplied[], size_t count, traffic_selector_t **selected[]);
@@ -199,9 +199,9 @@ struct sa_config_t {
*
* @warning Resulting array must be freed!
*
- * @param this calling object
- * @param[out]traffic_selectors pointer where proposals will be allocated
- * @return number of allocated proposals
+ * @param this calling object
+ * @param[out] traffic_selectors pointer where proposals will be allocated
+ * @return number of allocated proposals
*/
size_t (*get_proposals) (sa_config_t *this, u_int8_t ah_spi[4], u_int8_t esp_spi[4], child_proposal_t *proposals[]);
diff --git a/Source/charon/config/traffic_selector.h b/Source/charon/config/traffic_selector.h
index 02d23f7f2..662795352 100644
--- a/Source/charon/config/traffic_selector.h
+++ b/Source/charon/config/traffic_selector.h
@@ -193,9 +193,9 @@ traffic_selector_t *traffic_selector_create_from_string(u_int8_t protocol, ts_ty
*
* @param protocol protocol for this ts, such as TCP or UDP
* @param type type of following addresses, such as TS_IPV4_ADDR_RANGE
- * @param from_addr start of address range, network order
+ * @param from_address start of address range, network order
* @param from_port port number, host order
- * @param to_addr end of address range as string, network
+ * @param to_address end of address range as string, network
* @param to_port port number, host order
* @return
* - traffic_selector_t object