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);
93 int rte_security_dynfield_register(
void);
108 struct rte_security_session *sess,
struct rte_mbuf *mb,
125 uint64_t md,
void **userdata);
int(* security_session_update_t)(void *device, struct rte_security_session *sess, struct rte_security_session_conf *conf)
security_session_stats_get_t session_stats_get
const struct rte_security_capability *(* security_capabilities_get_t)(void *device)
int(* security_session_stats_get_t)(void *device, struct rte_security_session *sess, struct rte_security_stats *stats)
security_session_update_t session_update
security_capabilities_get_t capabilities_get
security_session_destroy_t session_destroy
int(* security_set_pkt_metadata_t)(void *device, struct rte_security_session *sess, struct rte_mbuf *mb, void *params)
security_get_userdata_t get_userdata
security_session_create_t session_create
int(* security_get_userdata_t)(void *device, uint64_t md, void **userdata)
security_set_pkt_metadata_t set_pkt_metadata
security_session_get_size session_get_size
int(* security_session_destroy_t)(void *device, struct rte_security_session *sess)
int(* security_session_create_t)(void *device, struct rte_security_session_conf *conf, struct rte_security_session *sess, struct rte_mempool *mp)
unsigned int(* security_session_get_size)(void *device)