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
129struct rte_swx_ipsec *
186#define RTE_SWX_IPSEC_KEY_SIZE_MAX 64
374 int *is_blank_or_comment,
375 const char **errmsg);
rte_crypto_auth_algorithm
rte_crypto_aead_algorithm
rte_crypto_cipher_algorithm
__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)
__rte_experimental int rte_swx_ipsec_create(struct rte_swx_ipsec **ipsec, const char *name, struct rte_swx_ipsec_params *params, int numa_node)
#define RTE_SWX_IPSEC_KEY_SIZE_MAX
__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_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_run(struct rte_swx_ipsec *ipsec)
__rte_experimental struct rte_swx_ipsec * rte_swx_ipsec_find(const char *name)
const char * ring_in_name
struct rte_swx_ipsec_burst_size bsz
uint32_t crypto_dev_queue_pair_id
const char * crypto_dev_name
const char * ring_out_name
enum rte_crypto_aead_algorithm alg
uint8_t key[RTE_SWX_IPSEC_KEY_SIZE_MAX]
enum rte_crypto_auth_algorithm alg
uint8_t key[RTE_SWX_IPSEC_KEY_SIZE_MAX]
enum rte_crypto_cipher_algorithm alg
uint8_t key[RTE_SWX_IPSEC_KEY_SIZE_MAX]
struct rte_swx_ipsec_sa_encap_params::@365::@366 ipv4
union rte_swx_ipsec_sa_encap_params::@365 tunnel
struct rte_swx_ipsec_sa_encap_params::@365::@367 ipv6
struct rte_swx_ipsec_sa_encap_params::@364 esp
struct rte_swx_ipsec_sa_authentication_params auth
struct rte_swx_ipsec_sa_cipher_params cipher
struct rte_swx_ipsec_sa_aead_params aead
struct rte_swx_ipsec_sa_params::@368 crypto
struct rte_swx_ipsec_sa_encap_params encap