4 #ifndef __INCLUDE_RTE_SWX_IPSEC_H__ 5 #define __INCLUDE_RTE_SWX_IPSEC_H__ 51 #include <netinet/in.h> 53 #include <rte_compat.h> 64 #ifndef RTE_SWX_IPSEC_NAME_SIZE 65 #define RTE_SWX_IPSEC_NAME_SIZE 64 69 #ifndef RTE_SWX_IPSEC_BURST_SIZE_MAX 70 #define RTE_SWX_IPSEC_BURST_SIZE_MAX 256 128 struct rte_swx_ipsec *
185 #define RTE_SWX_IPSEC_KEY_SIZE_MAX 64 374 int *is_blank_or_comment,
375 const char **errmsg);
struct rte_ether_addr src_addr
__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)
struct rte_ether_addr dst_addr
__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