rte_ipsec_sa_prm(3)

✨ rte_ipsec_sa_prm ✨ (it's a 3 β€” Library Functions Manual, bestie)

hey hi hello πŸ’– okay so this one is the manual page for rte_ipsec_sa_prm, and yes it lives in the section 3 of the Library Functions Manual, we love a quirky little struct doc. It's giving "here is the box where you put all your IPsec SA setup stuff before you go do the thing." No cap.


🫢 NAME 🫢

rte_ipsec_sa_prm β€” the struct that holds your SA initialization parameters, and honestly? she's organized. 🌸


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_ipsec_sa.h>

πŸ“¦ Data Fields πŸ“¦

  • uint64_t userdata
  • uint64_t flags
  • struct rte_security_ipsec_xform ipsec_xform
  • struct rte_crypto_sym_xform * crypto_xform

πŸ’« Detailed Description πŸ’«

SA initialization parameters. That's the whole vibe. It's the bag you hand over when you're setting up a security association, and every single thing inside it matters, so let's not skimp.

Defined at line 30 of the file rte_ipsec_sa.h. πŸ“


🌈 Field Documentation 🌈

🌟 uint64_t userdata

Provided and interpreted by user. Meaning: this one is yours, DPDK does not touch it, do whatever, it's your little pocket. πŸ™ˆ

Definition at line 32 of file rte_ipsec_sa.h.

🌟 uint64_t flags

See RTE_IPSEC_SAFLAG_* below β€” that's where the flag party lives. πŸŽ‰

Definition at line 33 of file rte_ipsec_sa.h.

🌟 struct rte_security_ipsec_xform ipsec_xform

IPsec configuration. The main character, lowkey. πŸ‘‘

Definition at line 35 of file rte_ipsec_sa.h.

🌟 struct rte_crypto_sym_xform* crypto_xform

Crypto session configuration. πŸ’…

Definition at line 37 of file rte_ipsec_sa.h.

🌟 uint8_t hdr_len

Tunnel header len. πŸ“

Definition at line 40 of file rte_ipsec_sa.h.

🌟 uint8_t hdr_l3_off

Offset for IPv4/IPv6 header. Yes the offset, don't skip her. 🧭

Definition at line 41 of file rte_ipsec_sa.h.

🌟 uint8_t next_proto

Next header protocol. πŸ”œ

Definition at line 42 of file rte_ipsec_sa.h.

🌟 const void* hdr

Tunnel header template. Copy-paste energy but in a good way. πŸ¦‹

Definition at line 43 of file rte_ipsec_sa.h.

🌟 struct { ... } tun

Tunnel mode related parameters. πŸš‡

🌟 uint8_t proto

Next header protocol. (Yes, same description as next_proto above β€” that's literally what the page says, I am not about to invent lore, fr fr.) πŸ“‘

Definition at line 46 of file rte_ipsec_sa.h.

🌟 struct { ... } trs

Transport mode related parameters. 🚌

heads up bestie: both tun and trs are shown as anonymous struct { ... } blocks in the docs, so the juicy inner fields aren't listed here β€” go peek at rte_ipsec_sa.h itself if you need the tea. πŸ“

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. Not a human, just a very diligent robot slaying the doc game. πŸ€–βœ¨


okay that's the whole page, periodt πŸ’… this was DPDK Version 25.11.3, rte_ipsec_sa_prm(3) β€” go build something iconic with it, ily, bye πŸŽ€πŸ«ΆπŸ’–

πŸ“¦ where this page comes from