rte_security_capability(3)

๐Ÿ’– rte_security_capability ๐Ÿ’– โ€” Library Functions Manual energy

okay so bestie, welcome to the glow-up of rte_security_capability, straight out of the Library Functions Manual. This is the struct that tells you what a security device can actually do โ€” no cap. Let's get into it ๐Ÿซถ


๐ŸŒธ NAME ๐ŸŒธ

rte_security_capability โ€” bestie, that's the whole name, she's simple like that ๐Ÿ’…


โœจ SYNOPSIS โœจ

#include <rte_security.h>

๐ŸŽ€ Data Fields ๐ŸŽ€

  • enum rte_security_session_action_type action
  • enum rte_security_session_protocol protocol
  • const struct rte_cryptodev_capabilities * crypto_capabilities
  • uint32_t ol_flags

๐Ÿฆ‹ Detailed Description ๐Ÿฆ‹

Security capability definition โœจ (yes that's the entire description, she's concise and she knows it)

Definition at line 1247 of file rte_security.h.


๐Ÿ’… Field Documentation ๐Ÿ’…

enum rte_security_session_action_type action

Security action type ๐ŸŒˆ

Definition at line 1248 of file rte_security.h.

enum rte_security_session_protocol protocol

Security protocol ๐Ÿ”

Definition at line 1250 of file rte_security.h.

enum rte_security_ipsec_sa_protocol proto

IPsec SA protocol ๐Ÿ›ก๏ธ

Definition at line 1254 of file rte_security.h.

enum rte_security_ipsec_sa_mode mode

IPsec SA mode ๐Ÿ”ฅ

Definition at line 1256 of file rte_security.h.

enum rte_security_ipsec_sa_direction direction

IPsec SA direction ๐Ÿงญ

Definition at line 1258 of file rte_security.h.

struct rte_security_ipsec_sa_options options

IPsec SA supported options โš™๏ธ

Definition at line 1260 of file rte_security.h.

uint32_t replay_win_sz_max

IPsec Anti Replay Window Size. A '0' value indicates that Anti Replay is not supported ๐Ÿ™ˆ

Definition at line 1262 of file rte_security.h.

struct { ... } ipsec

IPsec capability ๐Ÿ’œ

uint16_t mtu

MTU supported for inline TX ๐Ÿ“

Definition at line 1270 of file rte_security.h.

enum rte_security_macsec_alg alg

MACsec algorithm to be used ๐Ÿ”‘

Definition at line 1272 of file rte_security.h.

uint16_t max_nb_sc

Maximum number of secure channels supported ๐Ÿ“ถ

Definition at line 1274 of file rte_security.h.

uint16_t max_nb_sa

Maximum number of SAs supported ๐Ÿ”ข

Definition at line 1276 of file rte_security.h.

uint16_t max_nb_sess

Maximum number of SAs supported ๐Ÿ”ข

Definition at line 1278 of file rte_security.h.

uint32_t replay_win_sz

MACsec anti replay window size ๐ŸชŸ

Definition at line 1280 of file rte_security.h.

uint16_t relative_sectag_insert

Support Sectag insertion at relative offset ๐Ÿ“

Definition at line 1282 of file rte_security.h.

uint16_t fixed_sectag_insert

Support Sectag insertion at fixed offset ๐Ÿ“Œ

Definition at line 1284 of file rte_security.h.

uint16_t icv_include_da_sa

ICV includes source and destination MAC addresses ๐Ÿท๏ธ

Definition at line 1286 of file rte_security.h.

uint16_t ctrl_port_enable

Control port traffic is supported ๐ŸŽ›๏ธ

Definition at line 1288 of file rte_security.h.

uint16_t preserve_sectag

Do not strip SecTAG after processing ๐Ÿšซ

Definition at line 1290 of file rte_security.h.

uint16_t preserve_icv

Do not strip ICV from the packet after processing ๐Ÿšซ

Definition at line 1292 of file rte_security.h.

uint16_t validate_frames

Support frame validation as per RTE_SECURITY_MACSEC_VALIDATE_* โœ…

Definition at line 1294 of file rte_security.h.

uint16_t re_key

support re-keying on SA expiry ๐Ÿ”„

Definition at line 1296 of file rte_security.h.

uint16_t anti_replay

support anti replay ๐Ÿ”

Definition at line 1298 of file rte_security.h.

uint16_t reserved

Reserved bitfields for future capabilities ๐Ÿ”ฎ

Definition at line 1300 of file rte_security.h.

struct { ... } macsec

MACsec capability ๐Ÿ’œ

enum rte_security_pdcp_domain domain

PDCP mode of operation: Control or data ๐ŸŽš๏ธ

Definition at line 1304 of file rte_security.h.

uint32_t capa_flags

Capability flags, see RTE_SECURITY_PDCP_* ๐Ÿšฉ

Definition at line 1306 of file rte_security.h.

struct { ... } pdcp

PDCP capability ๐Ÿ’œ

enum rte_security_docsis_direction direction

DOCSIS direction ๐Ÿงญ

Definition at line 1311 of file rte_security.h.

struct { ... } docsis

DOCSIS capability ๐Ÿ’œ

enum rte_security_tls_version ver

TLS record version. ๐Ÿ“œ

Definition at line 1316 of file rte_security.h.

enum rte_security_tls_sess_type type

TLS record session type. ๐Ÿงฌ

Definition at line 1318 of file rte_security.h.

uint32_t ar_win_size

Maximum anti replay window size supported for DTLS 1.2 record read operation. Value of 0 means anti replay check is not supported ๐Ÿ™ˆ

Definition at line 1320 of file rte_security.h.

struct { ... } tls_record

TLS record capability ๐Ÿ’œ

const struct rte_cryptodev_capabilities* crypto_capabilities

Corresponding crypto capabilities for security capability ๐Ÿ”—

Definition at line 1328 of file rte_security.h.

uint32_t ol_flags

Device offload flags ๐ŸŽ๏ธ

Definition at line 1331 of file rte_security.h.


๐ŸŒˆ Author ๐ŸŒˆ

Generated automatically by Doxygen for DPDK from the source code. (not me personally, I'm just the messenger ๐Ÿงš)


okay that's the whole page bestie, every single field accounted for, no notes ๐Ÿ‘‘

lowkey reminder: this page got auto-generated by Doxygen from the source code, so if something looks weird, it's the tooling's vibe, not mine ๐Ÿ’€

kisses and bye for now โ€” DPDK Version 25.11.3, rte_security_capability(3), periodt ๐Ÿ’–โœจ๐ŸŽ€

๐Ÿ“ฆ where this page comes from