diff mbox series

[API-NEXT,v3,3/4] linux-gen: ipsec: add stubs for new functions

Message ID 1490367881-16266-3-git-send-email-petri.savolainen@linaro.org
State Superseded
Headers show
Series [API-NEXT,v3,1/4] api: ipsec: extend lookaside API | expand

Commit Message

Petri Savolainen March 24, 2017, 3:04 p.m. UTC
Enable application build with IPSEC.

Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>

---
 platform/linux-generic/odp_ipsec.c | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

-- 
2.8.1
diff mbox series

Patch

diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c
index 588d8d8..5eb1be3 100644
--- a/platform/linux-generic/odp_ipsec.c
+++ b/platform/linux-generic/odp_ipsec.c
@@ -59,6 +59,13 @@  odp_ipsec_sa_t odp_ipsec_sa_create(odp_ipsec_sa_param_t *param)
 	return ODP_IPSEC_SA_INVALID;
 }
 
+int odp_ipsec_sa_disable(odp_ipsec_sa_t sa)
+{
+	(void)sa;
+
+	return -1;
+}
+
 int odp_ipsec_sa_destroy(odp_ipsec_sa_t sa)
 {
 	(void)sa;
@@ -98,6 +105,15 @@  int odp_ipsec_out_enq(const odp_ipsec_op_param_t *input)
 	return -1;
 }
 
+int odp_ipsec_out_inline(const odp_ipsec_op_param_t *op_param,
+			 const odp_ipsec_inline_op_param_t *inline_param)
+{
+	(void)op_param;
+	(void)inline_param;
+
+	return -1;
+}
+
 int odp_ipsec_result(odp_ipsec_op_result_t *result, odp_event_t event)
 {
 	(void)result;
@@ -106,6 +122,14 @@  int odp_ipsec_result(odp_ipsec_op_result_t *result, odp_event_t event)
 	return -1;
 }
 
+int odp_ipsec_status(odp_ipsec_status_t *status, odp_event_t event)
+{
+	(void)status;
+	(void)event;
+
+	return -1;
+}
+
 int odp_ipsec_mtu_update(odp_ipsec_sa_t sa, uint32_t mtu)
 {
 	(void)sa;