RTE_SWX_IPSEC_SA_ENCAP_PARAMS(3)
π rte_swx_ipsec_sa_encap_params π
okay bestie, welcome to the manual page for rte_swx_ipsec_sa_encap_params(3), living in the Library Functions Manual section, and yes it's a struct, and yes it's important, let's go π«Ά
β¨ NAME β¨
rte_swx_ipsec_sa_encap_params β the IPsec protocol encapsulation parameters struct, she's the blueprint for how your IPsec traffic gets wrapped up and sent out π
β¨ SYNOPSIS β¨
#include <rte_swx_ipsec.h>
πΈ Data Fields
struct {
uint32_t spi
} esp
int tunnel_mode
int tunnel_ipv4
union {
struct {
struct in_addr src_addr
struct in_addr dst_addr
} ipv4
struct {
struct rte_ipv6_addr src_addr
struct rte_ipv6_addr dst_addr
} ipv6
} tunnel
β¨ Detailed Description β¨
IPsec protocol encapsulation parameters. fr fr that's the whole vibe of this struct β it holds the params for encapsulating IPsec.
Definition at line 225 of file rte_swx_ipsec.h.
β¨ Field Documentation β¨
π¦ uint32_t spi
the Security Parameters Index (SPI) field π« β it's giving "which security association am I".
Definition at line 229 of file rte_swx_ipsec.h.
π¦ struct { ... } esp
the Encapsulating Security Payload (ESP) header. iconic.
π¦ int tunnel_mode
ok so: tunnel mode when non-zero, transport mode when zero. two modes, one int, we love a binary moment π
Definition at line 233 of file rte_swx_ipsec.h.
π¦ int tunnel_ipv4
tunnel type, bestie: Non-zero for IPv4, zero for IPv6. and heads up β this one is Valid for tunnel mode only. don't come for her in transport mode π
Definition at line 236 of file rte_swx_ipsec.h.
π¦ struct in_addr src_addr
source address πΈ
Definition at line 243 of file rte_swx_ipsec.h.
π¦ struct in_addr dst_addr
destination address πΈ
Definition at line 246 of file rte_swx_ipsec.h.
π¦ struct { ... } ipv4
the IPv4 header π§
π¦ struct rte_ipv6_addr src_addr
source address β¨
Definition at line 252 of file rte_swx_ipsec.h.
π¦ struct rte_ipv6_addr dst_addr
destination address β¨
Definition at line 255 of file rte_swx_ipsec.h.
π¦ struct { ... } ipv6
the IPv6 header π§
π¦ union { ... } tunnel
tunnel parameters β and reminder that this is Valid for tunnel mode only π
β¨ Author β¨
Generated automatically by Doxygen for DPDK from the source code. not a human author, just a robot being her best self π€β¨
that's the whole page, no notes, you ate this π β courtesy of DPDK, Version 25.11.3, and that's the teaaaa ππ
π¦ 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