diff mbox series

[API-NEXT,v1,1/3] api: ipsec: pass OUT_INLINE outer headers as const

Message ID 1499342443-18540-2-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [API-NEXT,v1,1/3] api: ipsec: pass OUT_INLINE outer headers as const | expand

Commit Message

Github ODP bot July 6, 2017, noon UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Pass outer headers for outbound inline packets as const pointers.

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

---
/** Email created from pull request 70 (lumag:ipsec-testsuite-2)
 ** https://github.com/Linaro/odp/pull/70
 ** Patch: https://github.com/Linaro/odp/pull/70.patch
 ** Base sha: 15c97427d01c81dc9f4d0aafe9b0a99cdb2d1fc6
 ** Merge commit sha: 7b101c6937865f27f10cc58285092a6cab015e2f
 **/
 include/odp/api/spec/ipsec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index e602e4b8..2d3ab4b1 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -1024,7 +1024,7 @@  typedef struct odp_ipsec_out_inline_param_t {
 		/** Points to first byte of outer headers to be copied in
 		 *  front of the outgoing IPSEC packet. Implementation copies
 		 *  the headers during odp_ipsec_out_inline() call. */
-		uint8_t *ptr;
+		const uint8_t *ptr;
 
 		/** Outer header length in bytes */
 		uint32_t len;