rte_security_ops(3)

✨ rte_security_ops ✨

okay bestie, so this one is rte_security_ops(3) from the Library Functions Manual, and honestly? it's giving the plug-and-play table of every security-ish thing a driver can do. it's a struct full of function pointers. no cap. let's get into it πŸ’–


🌸 NAME 🌸

rte_security_ops β€” bestie it's literally just the name, that's the whole name, iconic behavior honestly πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <rte_security_driver.h>

πŸŽ€ Data Fields πŸŽ€

  • security_session_create_t session_create
  • security_session_update_t session_update
  • security_session_get_size session_get_size
  • security_session_stats_get_t session_stats_get
  • security_session_destroy_t session_destroy
  • security_set_pkt_metadata_t set_pkt_metadata
  • security_capabilities_get_t capabilities_get
  • security_macsec_sc_create_t macsec_sc_create
  • security_macsec_sc_destroy_t macsec_sc_destroy
  • security_macsec_sa_create_t macsec_sa_create
  • security_macsec_sa_destroy_t macsec_sa_destroy
  • security_macsec_sc_stats_get_t macsec_sc_stats_get
  • security_macsec_sa_stats_get_t macsec_sa_stats_get
  • security_rx_inject_configure rx_inject_configure
  • security_inb_pkt_rx_inject inb_pkt_rx_inject

like, fifteen whole fields. fifteen. she's committed. 🫢


πŸ’œ Detailed Description πŸ’œ

so this is the Security operations function pointer table. that's the whole vibe β€” a table, full of pointers, each one a function, all of them doing security things. it's the group chat of driver callbacks, basically.

Definition at line 300 of file rte_security_driver.h.

πŸ”₯ Field Documentation πŸ”₯

⭐ security_session_create_t session_create

Configure a security session. new session, who dis πŸ’…

Definition at line 301 of file rte_security_driver.h.

⭐ security_session_update_t session_update

Update a security session. glow-up arc, commencing.

Definition at line 303 of file rte_security_driver.h.

⭐ security_session_get_size session_get_size

Return size of security session. just, like, how big is she πŸŽ€

Definition at line 305 of file rte_security_driver.h.

⭐ security_session_stats_get_t session_stats_get

Get security session statistics. numbers. we love numbers. πŸ“Š

Definition at line 307 of file rte_security_driver.h.

⭐ security_session_destroy_t session_destroy

Clear a security sessions private data. yeah bestie we're wiping it. it's over it's done 🧹

Definition at line 309 of file rte_security_driver.h.

⭐ security_set_pkt_metadata_t set_pkt_metadata

Update mbuf metadata. little touch-up on the mbuf, she needed it ✨

Definition at line 311 of file rte_security_driver.h.

⭐ security_capabilities_get_t capabilities_get

Get security capabilities. what can she do? let's find out 🌈

Definition at line 313 of file rte_security_driver.h.

⭐ security_macsec_sc_create_t macsec_sc_create

Configure a MACsec security channel (SC). yes, SC, as in security channel, keep up bestie πŸ’–

Definition at line 315 of file rte_security_driver.h.

⭐ security_macsec_sc_destroy_t macsec_sc_destroy

Free a MACsec security channel (SC). SC rights revoked, no more channel for you πŸ™ˆ

Definition at line 317 of file rte_security_driver.h.

⭐ security_macsec_sa_create_t macsec_sa_create

Configure a MACsec security association (SA). SA = security association, and she is thriving.

Definition at line 319 of file rte_security_driver.h.

⭐ security_macsec_sa_destroy_t macsec_sa_destroy

Free a MACsec security association (SA). association over, we're freeing her, it's for the best 😭

Definition at line 321 of file rte_security_driver.h.

⭐ security_macsec_sc_stats_get_t macsec_sc_stats_get

Get MACsec SC statistics. the SC receipts, laid out plain πŸ“ˆ

Definition at line 323 of file rte_security_driver.h.

⭐ security_macsec_sa_stats_get_t macsec_sa_stats_get

Get MACsec SA statistics. more receipts, this time for the SA. obsessed πŸ”₯

Definition at line 325 of file rte_security_driver.h.

⭐ security_rx_inject_configure rx_inject_configure

Rx inject configure. setting up the Rx inject situation, that's it that's the description πŸ’€

Definition at line 327 of file rte_security_driver.h.

⭐ security_inb_pkt_rx_inject inb_pkt_rx_inject

Perform security processing and do Rx inject. the main character: she processes the security stuff AND does the Rx inject. periodt πŸ‘‘

Definition at line 329 of file rte_security_driver.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. so like, a robot wrote this, but she ate, fr fr πŸ€–πŸ’–


and that's the whole page bestie, tysm for reading, ily 🫢 this was rte_security_ops(3) from DPDK Version 25.11.3 β€” mwah, bye, slay, drink water πŸ’œπŸŒΈ

πŸ“¦ where this page comes from