UDP(3)
π rte_security_ipsec_xform(3) β Library Functions Manual π
okay bestie, so this is the manual page for rte_security_ipsec_xform, and honestly? it's kind of the main character of IPsec session setup. it's a struct, not a function (the manpage name is lying a little, we don't gatekeep), and it lives in the Library Functions Manual. let's get into it β¨
πΈ NAME πΈ
rte_security_ipsec_xform β the struct that holds all the configuration data for an IPsec security association β¨ lowkey it's the blueprint, the vibe check, the whole personality of your SA.
π¦ SYNOPSIS π¦
#include <rte_security.h>
π Data Fields π
here's the squad, in order, no cap:
uint32_t spi
uint32_t salt
struct rte_security_ipsec_sa_options options
enum rte_security_ipsec_sa_direction direction
enum rte_security_ipsec_sa_protocol proto
enum rte_security_ipsec_sa_mode mode
struct rte_security_ipsec_tunnel_param tunnel
struct rte_security_ipsec_lifetime life
uint32_t replay_win_sz
union {
} esn
struct rte_security_ipsec_udp_param udp
π Detailed Description π
okay so rte_security_ipsec_xform = IPsec security association configuration data. periodt.
it's the struct that carries everything you need to actually create an IPsec SA security session π«Ά like, no struct, no session, iykyk.
π§ it's defined at line 301 of file rte_security.h. write that down bestie, it matters.
π Field Documentation π
every field gets its moment, as it should π
β uint32_t spi β
the SA security parameter index π₯
defined at line 302 of file rte_security.h.
β uint32_t salt β
the SA salt π§ yes, actual salt, no we're not seasoning fries, it's a crypto thing.
defined at line 304 of file rte_security.h.
β struct rte_security_ipsec_sa_options options β
the various SA options, aka the little settings drawer π
defined at line 306 of file rte_security.h.
β enum rte_security_ipsec_sa_direction direction β
IPSec SA Direction β Egress/Ingress π¦ which way are the packets going, bestie? that's the whole question.
defined at line 308 of file rte_security.h.
β enum rte_security_ipsec_sa_protocol proto β
IPsec SA Protocol β AH/ESP π pick your fighter.
defined at line 310 of file rte_security.h.
β enum rte_security_ipsec_sa_mode mode β
IPsec SA Mode β transport/tunnel π two modes, two vibes, choose wisely.
defined at line 312 of file rte_security.h.
β struct rte_security_ipsec_tunnel_param tunnel β
the tunnel parameters β and heads up, this is NULL for transport mode π so don't come for it when it's NULL, it's supposed to be.
defined at line 314 of file rte_security.h.
β struct rte_security_ipsec_lifetime life β
the IPsec SA lifetime πΈ live your truth, but like, for a defined amount of time.
defined at line 316 of file rte_security.h.
β uint32_t replay_win_sz β
the anti replay window size, which is what enables sequence replay attack handling π ngl this one's kind of iconic.
π important: replay checking is disabled if the window size is 0. literally zero protection, so maybe don't do that unless you mean it.
defined at line 318 of file rte_security.h.
β union { ... } esn β
Extended Sequence Number β¨
(side note: this field doesn't get its own "Definition at line" tag in the original, so we're not making one up π)
β struct rte_security_ipsec_udp_param udp β
the UDP parameters β but bestie, these are ignored when the udp_encap option isn't specified π«Ά so if you're wondering why nothing's happening, check that first. fr fr.
defined at line 330 of file rte_security.h.
β¨ Author β¨
Generated automatically by Doxygen for DPDK from the source code π€ no human wrote this, it's a robot doing its little robot thing, and honestly? slay.
π and that's the page! source + version + date, as promised: this bad boy comes from DPDK, Version 26.03.0, and it's the rte_security_ipsec_xform(3) page. bye bestie, go configure an SA responsibly πππ¦
π¦ 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