rte_security_ctx(3)
π NAME π
rte_security_ctx β the icon, the moment, the struct, straight from the rte_security_ctx(3) page in the Library Functions Manual. π
β¨ SYNOPSIS β¨
#include <rte_security_driver.h>
π Data Fields π
void * deviceconst struct rte_security_ops * opsuint32_t flagsuint16_t sess_cntuint16_t macsec_sc_cntuint16_t macsec_sa_cnt
π Detailed Description π
Security context for crypto/eth devices β that's the vibe. This is literally the security context struct for crypto/eth devices. π
Security instance for each driver to register security operations. The application can get the security context from the crypto/eth device id using the APIs rte_cryptodev_get_sec_ctx()/rte_eth_dev_get_sec_ctx(). This structure is used to identify the device(crypto/eth) for which the security operations need to be performed.
Definition at line 48 of file rte_security_driver.h.
π Field Documentation π
void* device
Crypto/ethernet device attached β the device bestie this context is attached to. π«Ά
Definition at line 49 of file rte_security_driver.h.
const struct rte_security_ops* ops
Pointer to security ops for the device β point it at the ops and slay. β¨
Definition at line 51 of file rte_security_driver.h.
uint32_t flags
Flags for security context β flags, flags, flags, we love a good flag moment. π©
Definition at line 53 of file rte_security_driver.h.
uint16_t sess_cnt
Number of sessions attached to this context β count 'em, bestie. π’
Definition at line 55 of file rte_security_driver.h.
uint16_t macsec_sc_cnt
Number of MACsec SC attached to this context β MACsec SC count, periodt. π
Definition at line 57 of file rte_security_driver.h.
uint16_t macsec_sa_cnt
Number of MACsec SA attached to this context β MACsec SA count, no cap. π§
Definition at line 59 of file rte_security_driver.h.
π Author π
This page was Generated automatically by Doxygen for DPDK from the source code. No human author, just Doxygen doing its thing. π€
Okay bestie, that's the whole rte_security_ctx(3) situation: DPDK Version 25.11.3, no date in the footer (timeless icon behavior), and you're officially caught up. Stay slaying those security contexts. πβ¨
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms