2017-12-19 15:49:02 +00:00
|
|
|
/* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
* Copyright(c) 2016 Intel Corporation
|
2016-03-11 02:12:40 +00:00
|
|
|
*/
|
|
|
|
#ifndef __RTE_IPSEC_XFORM_ESP_H__
|
|
|
|
#define __RTE_IPSEC_XFORM_ESP_H__
|
|
|
|
|
|
|
|
struct mbuf;
|
|
|
|
|
|
|
|
|
|
|
|
int
|
2016-06-09 08:42:45 +00:00
|
|
|
esp_inbound(struct rte_mbuf *m, struct ipsec_sa *sa,
|
2016-03-11 02:12:40 +00:00
|
|
|
struct rte_crypto_op *cop);
|
|
|
|
|
|
|
|
int
|
2016-06-09 08:42:45 +00:00
|
|
|
esp_inbound_post(struct rte_mbuf *m, struct ipsec_sa *sa,
|
2016-03-11 02:12:40 +00:00
|
|
|
struct rte_crypto_op *cop);
|
|
|
|
|
|
|
|
int
|
2016-06-09 08:42:45 +00:00
|
|
|
esp_outbound(struct rte_mbuf *m, struct ipsec_sa *sa,
|
2016-03-11 02:12:40 +00:00
|
|
|
struct rte_crypto_op *cop);
|
|
|
|
|
|
|
|
int
|
2016-06-09 08:42:45 +00:00
|
|
|
esp_outbound_post(struct rte_mbuf *m, struct ipsec_sa *sa,
|
2016-03-11 02:12:40 +00:00
|
|
|
struct rte_crypto_op *cop);
|
|
|
|
|
|
|
|
#endif /* __RTE_IPSEC_XFORM_ESP_H__ */
|