6#ifndef _RTE_SECURITY_DRIVER_H_
7#define _RTE_SECURITY_DRIVER_H_
38 struct rte_security_session *sess,
48 struct rte_security_session *sess);
63 struct rte_security_session *sess,
89 struct rte_security_session *sess,
90 struct rte_security_stats *stats);
93int rte_security_dynfield_register(
void);
108 struct rte_security_session *sess,
struct rte_mbuf *mb,
125 uint64_t md,
void **userdata);
int(* security_session_create_t)(void *device, struct rte_security_session_conf *conf, struct rte_security_session *sess, struct rte_mempool *mp)
int(* security_session_update_t)(void *device, struct rte_security_session *sess, struct rte_security_session_conf *conf)
int(* security_session_stats_get_t)(void *device, struct rte_security_session *sess, struct rte_security_stats *stats)
unsigned int(* security_session_get_size)(void *device)
const struct rte_security_capability *(* security_capabilities_get_t)(void *device)
int(* security_set_pkt_metadata_t)(void *device, struct rte_security_session *sess, struct rte_mbuf *mb, void *params)
int(* security_session_destroy_t)(void *device, struct rte_security_session *sess)
int(* security_get_userdata_t)(void *device, uint64_t md, void **userdata)
security_session_destroy_t session_destroy
security_session_update_t session_update
security_session_create_t session_create
security_set_pkt_metadata_t set_pkt_metadata
security_session_get_size session_get_size
security_session_stats_get_t session_stats_get
security_capabilities_get_t capabilities_get
security_get_userdata_t get_userdata