diff mbox series

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

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

Commit Message

Github ODP bot July 11, 2017, 1 p.m. 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: c7718962c6633c80eb71a0400d89c31f11f88045
 ** Merge commit sha: 39dc0a0792a9b54c4be0774d3fb6cb3a45809b2b
 **/
 include/odp/api/spec/ipsec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Savolainen, Petri (Nokia - FI/Espoo) July 11, 2017, 1:38 p.m. UTC | #1
This change is included in my latest IPsec API patch set.

-Petri
Dmitry Eremin-Solenikov July 11, 2017, 1:39 p.m. UTC | #2
On 11.07.2017 16:38, Savolainen, Petri (Nokia - FI/Espoo) wrote:
> 

> This change is included in my latest IPsec API patch set.


Sure. I will drop it from this patchset as soon as yours gets applied.


-- 
With best wishes
Dmitry
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;