summaryrefslogtreecommitdiffstats
path: root/lib/xfrm
diff options
context:
space:
mode:
authorThomas Egerer <hakke_007@gmx.de>2016-11-06 20:34:50 (GMT)
committerThomas Egerer <hakke_007@gmx.de>2016-11-06 20:49:34 (GMT)
commit4d00ec354465eb441a9ddca5a5460409b64475f8 (patch)
tree7603c001b2830bd49aed343895cb14eecb0f2975 /lib/xfrm
parentf6f0fc25027997a76cc6fa2091189911cbf78ca7 (diff)
downloadlibnl-4d00ec354465eb441a9ddca5a5460409b64475f8.zip
libnl-4d00ec354465eb441a9ddca5a5460409b64475f8.tar.gz
libnl-4d00ec354465eb441a9ddca5a5460409b64475f8.tar.bz2
xfrm: add capability reference to xfrmnl_sa_set_*
Just for consistency(tm)'s sake: add the reference to what capability introduced the modified API. Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
Diffstat (limited to 'lib/xfrm')
-rw-r--r--lib/xfrm/sa.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/xfrm/sa.c b/lib/xfrm/sa.c
index 06a1e60..f25c7eb 100644
--- a/lib/xfrm/sa.c
+++ b/lib/xfrm/sa.c
@@ -1635,6 +1635,8 @@ int xfrmnl_sa_set_flags (struct xfrmnl_sa* sa, unsigned int flags)
*
* Warning: you must ensure that @key is large enough. If you don't know the key_len before-hand,
* call xfrmnl_sa_get_aead_params() without @key argument to query only the required buffer size.
+ * This modified API is available in all versions of libnl3 that support the capability
+ * @def NL_CAPABILITY_XFRM_SA_KEY_SIZE (@see nl_has_capability for further information).
*
* @return 0 on success or a negative error code.
*/
@@ -1690,6 +1692,8 @@ int xfrmnl_sa_set_aead_params (struct xfrmnl_sa* sa, const char* alg_name, unsig
*
* Warning: you must ensure that @key is large enough. If you don't know the key_len before-hand,
* call xfrmnl_sa_get_auth_params() without @key argument to query only the required buffer size.
+ * This modified API is available in all versions of libnl3 that support the capability
+ * @def NL_CAPABILITY_XFRM_SA_KEY_SIZE (@see nl_has_capability for further information).
*
* @return 0 on success or a negative error code.
*/
@@ -1744,6 +1748,8 @@ int xfrmnl_sa_set_auth_params (struct xfrmnl_sa* sa, const char* alg_name, unsig
*
* Warning: you must ensure that @key is large enough. If you don't know the key_len before-hand,
* call xfrmnl_sa_get_crypto_params() without @key argument to query only the required buffer size.
+ * This modified API is available in all versions of libnl3 that support the capability
+ * @def NL_CAPABILITY_XFRM_SA_KEY_SIZE (@see nl_has_capability for further information).
*
* @return 0 on success or a negative error code.
*/
@@ -1795,6 +1801,8 @@ int xfrmnl_sa_set_crypto_params (struct xfrmnl_sa* sa, const char* alg_name, uns
*
* Warning: you must ensure that @key is large enough. If you don't know the key_len before-hand,
* call xfrmnl_sa_get_comp_params() without @key argument to query only the required buffer size.
+ * This modified API is available in all versions of libnl3 that support the capability
+ * @def NL_CAPABILITY_XFRM_SA_KEY_SIZE (@see nl_has_capability for further information).
*
* @return 0 on success or a negative error code.
*/