RTE_SECURITY_IPSEC_XFORM(3)
π rte_security_ipsec_xform π
okay bestie, so this is rte_security_ipsec_xform(3) β a lil manual page from the DPDK library functions crew, and it's literally about the struct you use to set up an IPsec security association. no cap, it's giving "glue code that makes the crypto go brrr". let's get into it π«Ά
β¨ NAME β¨
rte_security_ipsec_xform β the struct, bestie. that's the whole name. iconic π
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the header:
#include <rte_security.h>
π Data Fields π
here's every single field, in order, no skipping, we love a complete list β¨
uint32_t spiuint32_t saltstruct rte_security_ipsec_sa_options optionsenum rte_security_ipsec_sa_direction directionenum rte_security_ipsec_sa_protocol protoenum rte_security_ipsec_sa_mode modestruct rte_security_ipsec_tunnel_param tunnelstruct rte_security_ipsec_lifetime lifeuint32_t replay_win_sz- union, and it's an empty-ish one:
union {
} esn
struct rte_security_ipsec_udp_param udp
π¦ Detailed Description π¦
so what is this thing? it's IPsec security association configuration data. π
basically, this structure is holding all the data you need to create an IPsec SA security session. that's the vibe. that's the whole job. it's the main character of SA setup π
π Definition location: line 301 of file rte_security.h.
π Field Documentation π
okay now the fun part, field by field, with the receipts π
β uint32_t spi
SA security parameter index. the number that says "this one, not that one".
Definition at line 302 of file rte_security.h.
β uint32_t salt
SA salt. a lil extra seasoning on your keys π§β¨
Definition at line 304 of file rte_security.h.
β struct rte_security_ipsec_sa_options options
various SA options. the settings drawer, bestie.
Definition at line 306 of file rte_security.h.
β enum rte_security_ipsec_sa_direction direction
IPSec SA Direction β Egress/Ingress. are we going out or coming in? πͺ
Definition at line 308 of file rte_security.h.
β enum rte_security_ipsec_sa_protocol proto
IPsec SA Protocol β AH/ESP. pick your fighter π₯
Definition at line 310 of file rte_security.h.
β enum rte_security_ipsec_sa_mode mode
IPsec SA Mode β transport/tunnel. tunnel mode is lowkey the drama one π
Definition at line 312 of file rte_security.h.
β struct rte_security_ipsec_tunnel_param tunnel
Tunnel parameters β and heads up, this is NULL for transport mode. don't be out here setting tunnel stuff in transport mode, bestie π
Definition at line 314 of file rte_security.h.
β struct rte_security_ipsec_lifetime life
IPsec SA lifetime. everything has an era and this SA's era has a number π
Definition at line 316 of file rte_security.h.
β uint32_t replay_win_sz
Anti replay window size, used to enable sequence replay attack handling. and listen β replay checking is disabled if the window size is 0. zero means no protection, periodt. set it if you care π
Definition at line 318 of file rte_security.h.
β union { ... } esn
Extended Sequence Number. that's it, that's the description β¨
β struct rte_security_ipsec_udp_param udp
UDP parameters β and these get ignored when the udp_encap option is not specified. not me warning you twice but yeah, ignored π
Definition at line 330 of file rte_security.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. so technically Doxygen wrote this and i just gave it a glow-up π
and that's the whole page, bestie!! π this was DPDK, Version 25.11.3, page rte_security_ipsec_xform(3) β go forth and configure your IPsec SAs responsibly, mwah π
πβ¨
π¦ 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