FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
esp.h File Reference
+ Include dependency graph for esp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dpdk_esp_crypto_alg_t
 
struct  dpdk_esp_integ_alg_t
 
struct  dpdk_esp_main_t
 

Functions

static_always_inline void dpdk_esp_init ()
 
static_always_inline int translate_crypto_algo (ipsec_crypto_alg_t crypto_algo, struct rte_crypto_sym_xform *xform, u8 use_esn)
 
static_always_inline int translate_integ_algo (ipsec_integ_alg_t integ_alg, struct rte_crypto_sym_xform *auth_xform, u8 use_esn)
 
static_always_inline i32 create_sym_sess (ipsec_sa_t *sa, crypto_sa_session_t *sa_sess, u8 is_outbound)
 
static_always_inline void crypto_set_icb (dpdk_gcm_cnt_blk *icb, u32 salt, u32 seq, u32 seq_hi)
 
static_always_inline void crypto_op_setup (u8 is_aead, struct rte_mbuf *mb0, struct rte_crypto_op *cop, void *session, u32 cipher_off, u32 cipher_len, u8 *icb __unused, u32 iv_size __unused, u32 auth_off, u32 auth_len, u8 *aad __unused, u32 aad_size __unused, u8 *digest, u64 digest_paddr, u32 digest_size __unused)
 

Variables

dpdk_esp_main_t dpdk_esp_main
 

Function Documentation

static_always_inline i32 create_sym_sess ( ipsec_sa_t sa,
crypto_sa_session_t sa_sess,
u8  is_outbound 
)

Definition at line 203 of file esp.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_always_inline void crypto_op_setup ( u8  is_aead,
struct rte_mbuf *  mb0,
struct rte_crypto_op *  cop,
void *  session,
u32  cipher_off,
u32  cipher_len,
u8 *icb  __unused,
u32 iv_size  __unused,
u32  auth_off,
u32  auth_len,
u8 *aad  __unused,
u32 aad_size  __unused,
u8 digest,
u64  digest_paddr,
u32 digest_size  __unused 
)

Definition at line 322 of file esp.h.

+ Here is the caller graph for this function:

static_always_inline void crypto_set_icb ( dpdk_gcm_cnt_blk icb,
u32  salt,
u32  seq,
u32  seq_hi 
)

Definition at line 310 of file esp.h.

+ Here is the caller graph for this function:

static_always_inline void dpdk_esp_init ( )

Definition at line 47 of file esp.h.

+ Here is the caller graph for this function:

static_always_inline int translate_crypto_algo ( ipsec_crypto_alg_t  crypto_algo,
struct rte_crypto_sym_xform *  xform,
u8  use_esn 
)

Definition at line 108 of file esp.h.

+ Here is the caller graph for this function:

static_always_inline int translate_integ_algo ( ipsec_integ_alg_t  integ_alg,
struct rte_crypto_sym_xform *  auth_xform,
u8  use_esn 
)

Definition at line 157 of file esp.h.

+ Here is the caller graph for this function:

Variable Documentation

dpdk_esp_main_t dpdk_esp_main

Definition at line 44 of file esp.h.