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_typeactionenum rte_security_session_protocolprotocolconst struct rte_cryptodev_capabilities *crypto_capabilitiesuint32_tol_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
- 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