DPDK
17.11.10
|
#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 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 const struct rte_security_capability *(* | security_capabilities_get_t) (void *device) |
EXPERIMENTAL: this API may change without prior notice
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 65 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 76 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 91 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 105 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 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 133 of file rte_security_driver.h.