diff mbox series

[API-NEXT,v1,1/1] api: ipsec: rename odp_ipsec_mtu_update to follow odp_ipsec_sa_* pattern

Message ID 1505206806-22774-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [API-NEXT,v1,1/1] api: ipsec: rename odp_ipsec_mtu_update to follow odp_ipsec_sa_* pattern | expand

Commit Message

Github ODP bot Sept. 12, 2017, 9 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


All SA-related functions use odp_ipsec_sa_ prefix, except
odp_ipsec_mtu_update(). Rename this function to follow this pattern.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 174 (lumag:ipsec-api-mtu)
 ** https://github.com/Linaro/odp/pull/174
 ** Patch: https://github.com/Linaro/odp/pull/174.patch
 ** Base sha: 7fa8e2c97ed18f8dd6e95cbc78b7e668ccb98869
 ** Merge commit sha: 98ae1ad4d82a815eae0dd97dd87cd6c18ff40b5b
 **/
 include/odp/api/spec/ipsec.h       | 4 ++--
 platform/linux-generic/odp_ipsec.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index 7085bc0d..a536009f 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -710,7 +710,7 @@  typedef struct odp_ipsec_sa_param_t {
 			 *
 			 *  This is the maximum length of IP packets that
 			 *  outbound IPSEC operations may produce. The value may
-			 *  be updated later with odp_ipsec_mtu_update().
+			 *  be updated later with odp_ipsec_sa_mtu_update().
 			 */
 			uint32_t mtu;
 
@@ -1477,7 +1477,7 @@  int odp_ipsec_status(odp_ipsec_status_t *status, odp_event_t event);
  * @retval 0      On success
  * @retval <0     On failure
  */
-int odp_ipsec_mtu_update(odp_ipsec_sa_t sa, uint32_t mtu);
+int odp_ipsec_sa_mtu_update(odp_ipsec_sa_t sa, uint32_t mtu);
 
 /**
  * Get user defined SA context pointer
diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c
index c7eeb4ec..04757e78 100644
--- a/platform/linux-generic/odp_ipsec.c
+++ b/platform/linux-generic/odp_ipsec.c
@@ -147,7 +147,7 @@  int odp_ipsec_status(odp_ipsec_status_t *status, odp_event_t event)
 	return -1;
 }
 
-int odp_ipsec_mtu_update(odp_ipsec_sa_t sa, uint32_t mtu)
+int odp_ipsec_sa_mtu_update(odp_ipsec_sa_t sa, uint32_t mtu)
 {
 	(void)sa;
 	(void)mtu;