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 * device
  • const struct rte_security_ops * ops
  • uint32_t flags
  • uint16_t sess_cnt
  • uint16_t macsec_sc_cnt
  • uint16_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