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