rte_security_macsec_sa(3)
π rte_security_macsec_sa β the MACsec SA glow-up π
okay so bestie, welcome to the rte_security_macsec_sa page from the DPDK Library Functions Manual πΈ this one's a struct, and honestly? she's giving "secure association configuration, but make it fashion" β¨
β¨ NAME β¨
rte_security_macsec_sa β literally the MACsec secure association (SA) configuration structure, no cap π
π¦ SYNOPSIS π¦
#include <rte_security.h>
π Data Fields π
enum rte_security_macsec_direction dir
struct {
const uint8_t * data
uint16_t length
} key
uint8_t salt [RTE_SECURITY_MACSEC_SALT_LEN]
uint8_t an: 2
uint32_t ssci
uint32_t xpn
uint32_t next_pn
that's the whole squad right there π nine-ish fields, all iconique, all accounted for.
π Detailed Description π
rte_security_macsec_sa is the MACsec secure association (SA) configuration structure π that's it, that's the vibe. she holds the config for one SA and she does it well.
ngl the source says she lives at definition line 352 of file rte_security.h β go visit her sometime π«Ά
π Field Documentation π
π« enum rte_security_macsec_direction dir
direction of SA π§ β which way the traffic's headed, bestie.
definition line 354 of file rte_security.h.
π« const uint8_t* data
pointer to key data π β like, the actual key material lives over there, this is just the pointer.
definition line 357 of file rte_security.h.
π« uint16_t length
key length in bytes π β how many bytes we're working with, fr fr.
definition line 358 of file rte_security.h.
π« struct { ... } key
MACsec SA key for AES-GCM 128/256 π β both flavours, she's flexible like that.
π« uint8_t salt[RTE_SECURITY_MACSEC_SALT_LEN]
96-bit value distributed by key agreement protocol π§β¨ β not the kind of salt you put on fries, the cryptographic kind, iykyk.
definition line 361 of file rte_security.h.
π« uint8_t an
association number to be used π’ β which AN slot we're rolling with.
definition line 363 of file rte_security.h.
π« uint32_t ssci
Short Secure Channel Identifier, to be used for XPN cases π β yes, only for the XPN situations, don't come for her otherwise.
definition line 365 of file rte_security.h.
π« uint32_t xpn
Extended packet number π’π₯ β the extended one, obviously.
definition line 367 of file rte_security.h.
π« uint32_t next_pn
Packet number expected/ to be used for next packet of this SA π¬ β like, the next packet's number, this SA's business only.
definition line 369 of file rte_security.h.
π§ Author π§
Generated automatically by Doxygen for DPDK from the source code π€π so like, no human wrote this, the robot did, and she ate.
π friendly reminder that this whole page is machine-generated documentation for a struct β the field list above is the entire truth of her, don't go reading extra behaviour into it, bestie π
and that's the page!! π written by Doxygen for DPDK, from the source code, version 26.03.0 β catch you on the next one, mwah πβ¨
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms