4 #ifndef __INCLUDE_RTE_SWX_IPSEC_H__ 5 #define __INCLUDE_RTE_SWX_IPSEC_H__ 47 #include <netinet/in.h> 49 #include <rte_compat.h> 65 #ifndef RTE_SWX_IPSEC_NAME_SIZE 66 #define RTE_SWX_IPSEC_NAME_SIZE 64 70 #ifndef RTE_SWX_IPSEC_BURST_SIZE_MAX 71 #define RTE_SWX_IPSEC_BURST_SIZE_MAX 256 129 struct rte_swx_ipsec *
186 #define RTE_SWX_IPSEC_KEY_SIZE_MAX 64 243 struct in_addr src_addr;
246 struct in_addr dst_addr;
374 int *is_blank_or_comment,
375 const char **errmsg);
__rte_experimental void rte_swx_ipsec_run(struct rte_swx_ipsec *ipsec)
const char * crypto_dev_name
__rte_experimental int rte_swx_ipsec_sa_add(struct rte_swx_ipsec *ipsec, struct rte_swx_ipsec_sa_params *sa_params, uint32_t *sa_id)
__rte_experimental void rte_swx_ipsec_free(struct rte_swx_ipsec *ipsec)
__rte_experimental void rte_swx_ipsec_sa_delete(struct rte_swx_ipsec *ipsec, uint32_t sa_id)
uint32_t crypto_dev_queue_pair_id
#define RTE_SWX_IPSEC_KEY_SIZE_MAX
__rte_experimental int rte_swx_ipsec_create(struct rte_swx_ipsec **ipsec, const char *name, struct rte_swx_ipsec_params *params, int numa_node)
__rte_experimental struct rte_swx_ipsec * rte_swx_ipsec_find(const char *name)
__rte_experimental struct rte_swx_ipsec_sa_params * rte_swx_ipsec_sa_read(struct rte_swx_ipsec *ipsec, const char *string, int *is_blank_or_comment, const char **errmsg)
rte_crypto_auth_algorithm
const char * ring_in_name
const char * ring_out_name
rte_crypto_aead_algorithm
rte_crypto_cipher_algorithm