DPDK
19.08.0-rc0
|
#include "rte_security.h"
Go to the source code of this file.
Data Structures | |
struct | rte_security_ops |
Typedefs | |
typedef int(* | security_session_create_t) (void *device, struct rte_security_session_conf *conf, struct rte_security_session *sess, struct rte_mempool *mp) |
typedef int(* | security_session_destroy_t) (void *device, struct rte_security_session *sess) |
typedef int(* | security_session_update_t) (void *device, struct rte_security_session *sess, struct rte_security_session_conf *conf) |
typedef unsigned int(* | security_session_get_size) (void *device) |
typedef int(* | security_session_stats_get_t) (void *device, struct rte_security_session *sess, struct rte_security_stats *stats) |
typedef int(* | security_set_pkt_metadata_t) (void *device, struct rte_security_session *sess, struct rte_mbuf *m, void *params) |
typedef int(* | security_get_userdata_t) (void *device, uint64_t md, void **userdata) |
typedef const struct rte_security_capability *(* | security_capabilities_get_t) (void *device) |
RTE Security Common Definitions
Definition in file rte_security_driver.h.
typedef int(* security_session_create_t) (void *device, struct rte_security_session_conf *conf, struct rte_security_session *sess, struct rte_mempool *mp) |
Configure a security session on a device.
device | Crypto/eth device pointer |
conf | Security session configuration |
sess | Pointer to Security private session structure |
mp | Mempool where the private session is allocated |
Definition at line 36 of file rte_security_driver.h.
typedef int(* security_session_destroy_t) (void *device, struct rte_security_session *sess) |
Free driver private session data.
dev | Crypto/eth device pointer |
sess | Security session structure |
Definition at line 47 of file rte_security_driver.h.
typedef int(* security_session_update_t) (void *device, struct rte_security_session *sess, struct rte_security_session_conf *conf) |
Update driver private session data.
device | Crypto/eth device pointer |
sess | Pointer to Security private session structure |
conf | Security session configuration |
Definition at line 62 of file rte_security_driver.h.
typedef unsigned int(* security_session_get_size) (void *device) |
Get the size of a security session
device | Crypto/eth device pointer |
Definition at line 75 of file rte_security_driver.h.
typedef int(* security_session_stats_get_t) (void *device, struct rte_security_session *sess, struct rte_security_stats *stats) |
Get stats from the PMD.
device | Crypto/eth device pointer |
sess | Pointer to Security private session structure |
stats | Security stats of the driver |
Definition at line 88 of file rte_security_driver.h.
typedef int(* security_set_pkt_metadata_t) (void *device, struct rte_security_session *sess, struct rte_mbuf *m, void *params) |
Update the mbuf with provided metadata.
sess | Security session structure |
mb | Packet buffer |
mt | Metadata |
Definition at line 103 of file rte_security_driver.h.
typedef int(* security_get_userdata_t) (void *device, uint64_t md, void **userdata) |
Get application specific userdata associated with the security session. Device specific metadata provided would be used to uniquely identify the security session being referred to.
device | Crypto/eth device pointer |
md | Metadata |
userdata | Pointer to receive userdata |
Definition at line 120 of file rte_security_driver.h.
typedef const struct rte_security_capability*(* security_capabilities_get_t) (void *device) |
Get security capabilities of the device.
device | crypto/eth device pointer |
Definition at line 132 of file rte_security_driver.h.